51 bBox.SetBoundingBox(position.GetX(), position.GetY(), position.GetZ(),
52 position.GetX(), position.GetY(), position.GetZ());
58 static float fColor[4];
63 glDisable(GL_LIGHTING);
66 glVertex4dv(position.VetXYZW());
68 glEnable(GL_LIGHTING);
Base class for objects that compose a scene graph.
Points and vectors using homogeneous coordinates.
float size
The size (in pixels) of the point on screen.
VART::Dot & operator=(const VART::Dot &dot)
Copies all data from an dot to another.
virtual VART::SceneNode * Copy()
Returns a copy of an dot. Every derived class must reimplements.
Point4D position
The point's position.
Color color
The point's color.
Header file for V-ART class "Dot".
virtual bool DrawInstanceOGL() const
Draws the point.
SceneNode & operator=(const SceneNode &node)
Dot()
Creates an initialized point.
virtual void ComputeBoundingBox()
Computes the bounding box.