PointGeometry is used for drawing a colored point with fixed screen space size.
#include <PointGeometry.h>
Public Types |
|
enum | { kDirtyPosition = Geometry::kLastDirty, kDirtySize, kDirtyColor, kLastDirty } |
Public Member Functions |
|
PointGeometry () | |
virtual void | accept (NodeVisitor &) |
void | setPosition (const awLinear::Point &p) |
awLinear::Point | getPosition () const |
void | setSize (double size) |
double | getSize () const |
void | setColor (float r, float g, float b) |
void | getColor (float &r, float &g, float &b) const |
virtual void | setAllDirty (bool dirty) |
Protected Member Functions |
|
virtual | ~PointGeometry () |
anonymous enum |
PointGeometry | ( | ) |
virtual ~PointGeometry | ( | ) | [protected, virtual] |
virtual void accept | ( | NodeVisitor & | ) | [virtual] |
Reimplemented from Geometry.
void setPosition | ( | const awLinear::Point & | p | ) |
awLinear::Point getPosition | ( | ) | const |
void setSize | ( | double | size | ) |
double getSize | ( | ) | const |
void setColor | ( | float | r, |
float | g, | ||
float | b | ||
) |
void getColor | ( | float & | r, |
float & | g, | ||
float & | b | ||
) | const |
virtual void setAllDirty | ( | bool | dirty | ) | [virtual] |
Reimplemented from Node.