glotzopengl::Box Class Reference

#include <Box.h>

Inheritance diagram for glotzopengl::Box:

glotzopengl::GlObject glotzopengl::GlotzGlBaseObject glotzopengl::SolidBox

List of all members.

Public Member Functions

 Box ()
 ~Box ()
void SetPosition (GLfloat, GLfloat, GLfloat)
void SetMin (GLfloat, GLfloat, GLfloat)
void SetMax (GLfloat, GLfloat, GLfloat)
void Scale (GLfloat)
void Print (std::ostream &)
std::istream & Read (std::istream &)
GLfloat GetLargestDisplacement ()

Protected Attributes

GLfloat mScaleX
GLfloat mScaleY
GLfloat mScaleZ
GLfloat mPositionX
GLfloat mPositionY
GLfloat mPositionZ
GLfloat mRotation [4]
bool mIsScalable


Constructor & Destructor Documentation

glotzopengl::Box::Box (  ) 

glotzopengl::Box::~Box (  ) 


Member Function Documentation

void glotzopengl::Box::SetPosition ( GLfloat  x,
GLfloat  y,
GLfloat  z 
)

void glotzopengl::Box::SetMin ( GLfloat  ,
GLfloat  ,
GLfloat   
)

void glotzopengl::Box::SetMax ( GLfloat  ,
GLfloat  ,
GLfloat   
)

void glotzopengl::Box::Scale ( GLfloat  scalingFactor  ) 

void glotzopengl::Box::Print ( std::ostream &  os  )  [virtual]

Reimplemented from glotzopengl::GlObject.

std::istream & glotzopengl::Box::Read ( std::istream &  is  ) 

GLfloat glotzopengl::Box::GetLargestDisplacement (  )  [virtual]

Reimplemented from glotzopengl::GlObject.


Member Data Documentation

GLfloat glotzopengl::Box::mScaleX [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Box::mScaleY [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Box::mScaleZ [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Box::mPositionX [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Box::mPositionY [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Box::mPositionZ [protected]

Reimplemented from glotzopengl::GlObject.

GLfloat glotzopengl::Box::mRotation[4] [protected]

Reimplemented from glotzopengl::GlObject.

bool glotzopengl::Box::mIsScalable [protected]

Reimplemented from glotzopengl::GlObject.


The documentation for this class was generated from the following files:
Generated on Tue Feb 24 20:54:38 2009 by  doxygen 1.5.3