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

SelectionCube Class Reference

a class that draws a selection cube More...

#include <selectioncube.h>

Inheritance diagram for SelectionCube:

DrawableObject List of all members.

Public Member Functions

 SelectionCube ()
 the default constructor

virtual ~SelectionCube ()
 the default destructor

virtual void matrixOps (void *p)
 allows matrix drawing operations to be performed

virtual void draw (void *p)
 drawns the selection cibe

virtual PositiongetPosition ()
 returns a pointer to the selection cube's pssition

void setPosition (Position *newPos)
 a funcion to set the position of the selection cube

void setRecursive (bool val)
 a funciotn to set the recursive member variable


Private Attributes

bool recursive
 a flag for recursive encapsulation in the selection cube


Detailed Description

a class that draws a selection cube

this object will draw a selection cube at the center of the position it is given


Constructor & Destructor Documentation

SelectionCube::SelectionCube  ) 
 

the default constructor

the default selection cube contstructor sets most values to 0

SelectionCube::~SelectionCube  )  [virtual]
 

the default destructor

the default destructor deletes any allocated memory and such


Member Function Documentation

void SelectionCube::draw void *  p  )  [virtual]
 

drawns the selection cibe

inherited from DrawableObject

Parameters:
p a void pointer
Returns:
nothing

Implements DrawableObject.

Position * SelectionCube::getPosition  )  [virtual]
 

returns a pointer to the selection cube's pssition

inherited from DrawableObject

Returns:
a position pointer

Implements DrawableObject.

void SelectionCube::matrixOps void *  p  )  [virtual]
 

allows matrix drawing operations to be performed

inherited from DrawableObject

Parameters:
p a void pointer
Returns:
nothing

Implements DrawableObject.

void SelectionCube::setPosition Position newPos  ) 
 

a funcion to set the position of the selection cube

Parameters:
newPos a position pointer
Returns:
nothing

void SelectionCube::setRecursive bool  val  ) 
 

a funciotn to set the recursive member variable

Parameters:
val a boolean value
Returns:
nothing


Member Data Documentation

bool SelectionCube::recursive [private]
 

a flag for recursive encapsulation in the selection cube


The documentation for this class was generated from the following files:
Generated on Sat Aug 28 10:33:24 2004 by doxygen 1.3.6