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

InSpace::TexPlane Class Reference

#include <TexPlane.H>

Inherits InSpace::DrawObj.

List of all members.

Public Member Functions

 TexPlane (str_ptr texName)
virtual ~TexPlane ()
void setTexName (str_ptr t)
str_ptr texName ()
Color color ()
void setColor (Color c)
void reColor (Color c)
void draw ()
void writeCPS (ostream *os)

Protected Attributes

str_ptr _texName
Color _color
double _shininess
Color _diffuse
Color _specular
Color _emission
Color _ambient


Constructor & Destructor Documentation

InSpace::TexPlane::TexPlane str_ptr  texName  ) 
 

virtual InSpace::TexPlane::~TexPlane  )  [virtual]
 


Member Function Documentation

Color InSpace::TexPlane::color  )  [inline]
 

void InSpace::TexPlane::draw  )  [virtual]
 

This is the most important function to implement in your subclass. Use GL calls inside this to draw something. This object's xform() has already been pushed onto the MODELVIEW stack when this gets called. If using inspace with G3D, use drawG3D() as a replacement for this function.

Reimplemented from InSpace::DrawObj.

void InSpace::TexPlane::reColor Color  c  )  [inline, virtual]
 

Reimplemented from InSpace::DrawObj.

void InSpace::TexPlane::setColor Color  c  )  [inline]
 

void InSpace::TexPlane::setTexName str_ptr  t  )  [inline]
 

str_ptr InSpace::TexPlane::texName  )  [inline]
 

void InSpace::TexPlane::writeCPS ostream *  os  )  [virtual]
 

Reimplemented from InSpace::DrawObj.


Member Data Documentation

Color InSpace::TexPlane::_ambient [protected]
 

Color InSpace::TexPlane::_color [protected]
 

Color InSpace::TexPlane::_diffuse [protected]
 

Color InSpace::TexPlane::_emission [protected]
 

double InSpace::TexPlane::_shininess [protected]
 

Color InSpace::TexPlane::_specular [protected]
 

str_ptr InSpace::TexPlane::_texName [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Jul 8 15:19:31 2004 for inspace by doxygen 1.3.4