Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

GraphicsElement Class Reference

#include <GraphicsData.h>

Inheritance diagram for GraphicsElement:

Detailed Description

Definition at line 33 of file GraphicsData.h.

List of all members.

Public Member Functions

 GraphicsElement (GraphicsElementType _type, std::string _name, rgb _color)
virtual ~GraphicsElement ()
GraphicsElementType getType () const
const std::string & getName () const
void setName (const std::string &_name)
const rgbgetColor () const
void setColor (const rgb c)
void setColor (const std::string &colorname)

Private Attributes

GraphicsElementType type
std::string name
rgb color

Constructor & Destructor Documentation

GraphicsElement ( GraphicsElementType  _type,
std::string  _name,
rgb  _color 
)

Definition at line 39 of file GraphicsData.h.

virtual ~GraphicsElement (  )  [virtual]

Definition at line 41 of file GraphicsData.h.


Member Function Documentation

const rgb& getColor (  )  const

Definition at line 45 of file GraphicsData.h.

Referenced by ShapeSpace::getShapeListForGUI().

const std::string& getName (  )  const

Definition at line 43 of file GraphicsData.h.

Referenced by ShapeSpace::getShapeListForGUI().

GraphicsElementType getType (  )  const

Definition at line 42 of file GraphicsData.h.

Referenced by ShapeSpace::getShapeListForGUI().

void setColor ( const std::string &  colorname  ) 

Definition at line 23 of file GraphicsData.cc.

void setColor ( const rgb  c  ) 

Definition at line 46 of file GraphicsData.h.

void setName ( const std::string &  _name  ) 

Definition at line 44 of file GraphicsData.h.


Member Data Documentation

rgb color [private]

Definition at line 37 of file GraphicsData.h.

Referenced by GraphicsElement::getColor(), and GraphicsElement::setColor().

std::string name [private]

Definition at line 36 of file GraphicsData.h.

Referenced by GraphicsElement::getName(), and GraphicsElement::setName().

Definition at line 35 of file GraphicsData.h.

Referenced by GraphicsElement::getType().


The documentation for this class was generated from the following files:

DualCoding 5.1CVS
Generated Mon May 9 04:56:31 2016 by Doxygen 1.6.3