Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Class Members

Shape Class Reference
[Scene Graph]

#include <lvt/Shape.h>

Inheritance diagram for Shape:

Inheritance graph
[legend]
List of all members.

Detailed Description

Abstract base class representing a three-dimensional shape.


Public Member Functions

Vec GetColor ()
 Returns the Shape's current color.
virtual void Render ()=0
 Draws the shape.
void SetColor (const Vec &color)
 Sets the color of the Shape.


Member Function Documentation

Vec GetColor  )  [inline]
 

Returns the Shape's current color.

virtual void Render  )  [pure virtual]
 

Draws the shape.

Implements Node.

Implemented in Shape2D, Circle2D, Rectangle2D, Triangle2D, Teapot, Tetrahedron, Cube, Curve, Quadric, Sphere, Cylinder, Cone, Circle, and Primitive.

void SetColor const Vec color  )  [inline]
 

Sets the color of the Shape.


Generated on Thu Feb 17 09:45:47 2005 for liblvt by  doxygen 1.4.1