Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

GraphicsElement Class Reference

#include <GraphicsData.h>

Inheritance diagram for GraphicsElement:

Detailed Description

Definition at line 30 of file GraphicsData.h.

List of all members.

Public Member Functions

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

Private Attributes

GraphicsElementType type
rgb color

Constructor & Destructor Documentation

GraphicsElement ( GraphicsElementType  _type,
rgb  _color 
)

Definition at line 35 of file GraphicsData.h.

virtual ~GraphicsElement (  )  [virtual]

Definition at line 36 of file GraphicsData.h.


Member Function Documentation

const rgb& getColor (  )  const

Definition at line 38 of file GraphicsData.h.

Referenced by ShapeSpace::getShapeListForGUI().

GraphicsElementType getType (  )  const

Definition at line 37 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 39 of file GraphicsData.h.


Member Data Documentation

rgb color [private]

Definition at line 33 of file GraphicsData.h.

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

Definition at line 32 of file GraphicsData.h.

Referenced by GraphicsElement::getType().


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

DualCoding 5.1CVS
Generated Fri Mar 16 05:23:52 2012 by Doxygen 1.6.3