#include <DrawPoint.H>
Inherits InSpace::DrawObj.
Public Member Functions | |
DrawPoint (Wpt loc=Wpt(0, 0, 0), Color col=Color::red) | |
virtual | ~DrawPoint () |
void | setLoc (Wpt p) |
void | setColor (Color c) |
void | reColor (Color c) |
void | drawSphere (Wpt &loc, Color c) |
void | setSphereRadius (double rad) |
void | draw () |
Protected Attributes | |
double | _sphereRad |
Wpt | _loc |
float | _shininess |
Color | _specular |
Color | _emission |
Color | _color |
|
|
|
|
|
This is the most important function to implement in your subclass. Use GL calls inside this to draw something. This object's xform() has already been pushed onto the MODELVIEW stack when this gets called. If using inspace with G3D, use drawG3D() as a replacement for this function. Reimplemented from InSpace::DrawObj. |
|
|
|
Reimplemented from InSpace::DrawObj. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|