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

InSpace::ISMeshObj Class Reference

#include <ISMeshObj.H>

Inherits InSpace::DrawObj.

List of all members.

Public Member Functions

 ISMeshObj (str_ptr name)
 ISMeshObj (str_ptr name, ISMesh *m)
virtual ~ISMeshObj ()
void addMesh (ISMesh *m)
void setDiffuse (Color c)
void setShininess (double value)
void setSpecular (Color c)
void setEmission (Color c)
void setAmbient (Color c)
void reTexture (str_ptr texname)
void setTextureName (str_ptr texName)
void reColor (Color c)
Color diffuse ()
double shininess ()
Color specular ()
Color emission ()
Color ambient ()
str_ptr texname ()
BBoxrecalcBBox ()
virtual void setLit (int lit)
virtual int isLit ()
virtual void draw ()
virtual void addMultiTexture (str_ptr texture, double alpha=1.0, Wtransf texTransform=Wtransf())
void writeVRML (ostream *ofs)
bool readVRML (istream *is)
int pointSelectFine (Wpt pw)
int pointSelectFine (ROOMpt pr)
void cleanUp (double epsilon)

Public Attributes

ARRAY< ISMesh * > _meshes

Protected Attributes

ARRAY< str_ptr_textures
ARRAY< double > _textureAlphas
ARRAY< Wtransf_textureTransforms
double _shininess
Color _diffuse
Color _specular
Color _emission
Color _ambient
int _textureValid
int _isLit


Constructor & Destructor Documentation

InSpace::ISMeshObj::ISMeshObj str_ptr  name  )  [inline]
 

InSpace::ISMeshObj::ISMeshObj str_ptr  name,
ISMesh m
[inline]
 

virtual InSpace::ISMeshObj::~ISMeshObj  )  [virtual]
 


Member Function Documentation

void InSpace::ISMeshObj::addMesh ISMesh m  )  [inline]
 

virtual void InSpace::ISMeshObj::addMultiTexture str_ptr  texture,
double  alpha = 1.0,
Wtransf  texTransform = Wtransf()
[virtual]
 

Color InSpace::ISMeshObj::ambient  )  [inline]
 

void InSpace::ISMeshObj::cleanUp double  epsilon  ) 
 

Color InSpace::ISMeshObj::diffuse  )  [inline]
 

virtual void InSpace::ISMeshObj::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.

Color InSpace::ISMeshObj::emission  )  [inline]
 

virtual int InSpace::ISMeshObj::isLit  )  [inline, virtual]
 

int InSpace::ISMeshObj::pointSelectFine ROOMpt  pr  )  [virtual]
 

Reimplemented from InSpace::DrawObj.

int InSpace::ISMeshObj::pointSelectFine Wpt  pw  )  [virtual]
 

Reimplemented from InSpace::DrawObj.

bool InSpace::ISMeshObj::readVRML istream *  is  ) 
 

BBox* InSpace::ISMeshObj::recalcBBox  )  [inline]
 

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

Reimplemented from InSpace::DrawObj.

void InSpace::ISMeshObj::reTexture str_ptr  texname  )  [inline, virtual]
 

Reimplemented from InSpace::DrawObj.

void InSpace::ISMeshObj::setAmbient Color  c  )  [inline]
 

void InSpace::ISMeshObj::setDiffuse Color  c  )  [inline]
 

void InSpace::ISMeshObj::setEmission Color  c  )  [inline]
 

virtual void InSpace::ISMeshObj::setLit int  lit  )  [inline, virtual]
 

void InSpace::ISMeshObj::setShininess double  value  )  [inline]
 

void InSpace::ISMeshObj::setSpecular Color  c  )  [inline]
 

void InSpace::ISMeshObj::setTextureName str_ptr  texName  ) 
 

double InSpace::ISMeshObj::shininess  )  [inline]
 

Color InSpace::ISMeshObj::specular  )  [inline]
 

str_ptr InSpace::ISMeshObj::texname  )  [inline]
 

void InSpace::ISMeshObj::writeVRML ostream *  ofs  )  [virtual]
 

Reimplemented from InSpace::DrawObj.


Member Data Documentation

Color InSpace::ISMeshObj::_ambient [protected]
 

Color InSpace::ISMeshObj::_diffuse [protected]
 

Color InSpace::ISMeshObj::_emission [protected]
 

int InSpace::ISMeshObj::_isLit [protected]
 

ARRAY<ISMesh*> InSpace::ISMeshObj::_meshes
 

double InSpace::ISMeshObj::_shininess [protected]
 

Color InSpace::ISMeshObj::_specular [protected]
 

ARRAY<double> InSpace::ISMeshObj::_textureAlphas [protected]
 

ARRAY<str_ptr> InSpace::ISMeshObj::_textures [protected]
 

ARRAY<Wtransf> InSpace::ISMeshObj::_textureTransforms [protected]
 

int InSpace::ISMeshObj::_textureValid [protected]
 


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