Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

Object Class Reference
[Objects]

Base class for scene objects. More...

#include <object.h>

Inheritance diagram for Object:

Epsilon RigidBody Camera Ufo Vehicle List of all members.

Public Member Functions

v3f getPos ()
RBase getR ()
v3f dir ()
 Object direction (equals r.y).

v3f dup ()
 Object "direction up" (equals r.z).

void setDir (v3f v)
void setDup (v3f v)
bool isEnabled ()
virtual void enable (bool s)
virtual void draw (DrawHint hint)
 Draw interface. This method should be overridden to draw the object.

 Object ()
virtual ~Object ()

Protected Attributes

bool enabled
v3f pos
 Object position.

RBase r
 Object orientation.

double boundSphereRadius

Detailed Description

Base class for scene objects.

Defines object position and orientation within the scene. Object also defines the interface for making an object visible within the scene through the draw() method.


Constructor & Destructor Documentation

Object::Object  )  [inline]
 

virtual Object::~Object  )  [inline, virtual]
 


Member Function Documentation

v3f Object::dir  )  [inline]
 

Object direction (equals r.y).

virtual void Object::draw DrawHint  hint  )  [inline, virtual]
 

Draw interface. This method should be overridden to draw the object.

Reimplemented in Epsilon, Ufo, and Vehicle.

v3f Object::dup  )  [inline]
 

Object "direction up" (equals r.z).

virtual void Object::enable bool  s  )  [inline, virtual]
 

v3f Object::getPos  )  [inline]
 

RBase Object::getR  )  [inline]
 

bool Object::isEnabled  )  [inline]
 

void Object::setDir v3f  v  )  [inline]
 

void Object::setDup v3f  v  )  [inline]
 


Member Data Documentation

double Object::boundSphereRadius [protected]
 

bool Object::enabled [protected]
 

v3f Object::pos [protected]
 

Object position.

RBase Object::r [protected]
 

Object orientation.


The documentation for this class was generated from the following file:
Generated on Mon Jul 21 10:44:48 2003 for Rover by doxygen 1.3.2