IS3D::IFSObj Class Reference

#include <IFSObj.H>

Inherits IS3D::DrawObj.

List of all members.

Public Member Functions

 IFSObj (const std::string &filename)
virtual ~IFSObj ()
void setShadeMode (RenderDevice::ShadeMode mode)
RenderDevice::ShadeMode getShadeMode ()
void reColor (const Color4 &c, int colorNum=0)
void reTexture (const std::string &texname, int texNum=0)
void draw ()
 Override this function and place your G3D draw calls inside it.

Protected Attributes

Color4 _color
std::string _texname
IFSModelRef _model
PosedModelRef _posed
RenderDevice::ShadeMode _shadeMode


Constructor & Destructor Documentation

IS3D::IFSObj::IFSObj ( const std::string &  filename  ) 

virtual IS3D::IFSObj::~IFSObj (  )  [virtual]


Member Function Documentation

void IS3D::IFSObj::setShadeMode ( RenderDevice::ShadeMode  mode  )  [inline]

References _shadeMode.

RenderDevice::ShadeMode IS3D::IFSObj::getShadeMode (  )  [inline]

References _shadeMode.

void IS3D::IFSObj::reColor ( const Color4 &  c,
int  colorNum = 0 
) [inline, virtual]

Some interactive widgets assume they can call this functions on any DrawObj, you should override if appropriate.

Reimplemented from IS3D::DrawObj.

References _color.

void IS3D::IFSObj::reTexture ( const std::string &  texname,
int  texNum = 0 
) [inline, virtual]

Some interactive widgets assume they can call this functions on any DrawObj, you should override if appropriate.

Reimplemented from IS3D::DrawObj.

References _texname.

void IS3D::IFSObj::draw (  )  [virtual]

Override this function and place your G3D draw calls inside it.

Implements IS3D::DrawObj.


Member Data Documentation

Color4 IS3D::IFSObj::_color [protected]

Referenced by reColor().

std::string IS3D::IFSObj::_texname [protected]

Referenced by reTexture().

IFSModelRef IS3D::IFSObj::_model [protected]

PosedModelRef IS3D::IFSObj::_posed [protected]

RenderDevice::ShadeMode IS3D::IFSObj::_shadeMode [protected]

Referenced by getShadeMode(), and setShadeMode().


The documentation for this class was generated from the following file:

Generated on Wed Jan 26 06:31:20 2011 for IS3D by  doxygen 1.5.6