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

ONE::model::ADMeshInstance Class Reference

Inheritance diagram for ONE::model::ADMeshInstance:

Inheritance graph
[legend]
List of all members.

Public Member Functions

const Box getBoundingBox (AnimationData *=NULL)
void getIndices (int *&indices, int &numTri) const
std::string getName () const
void getNormals (Array< Vector3 > *&normals) const
virtual int getNumTri () const
void getScaledVertices (float *&verts, int &numVerts, Vector3 scale)
void getTexCoords (Array< Vector2 > *&texCoord) const
GImage * getTexImage () const
void getVertices (float *&verts, int &numVerts) const
void prepareRendering (RenderDevice *rd)
void releaseScaledVertices (Vector3 scale)
void render (RenderDevice *rd)
void setLightMap1 (GImage *image, string entityname)
void setLightMap2 (GImage *image, string entityname)
void setName (std::string n)
 ~ADMeshInstance ()

Public Attributes

TextureRef detailnormaltex
TextureRef detailtex
TextureRef normaltex
TextureRef simpledetailtex
TextureRef tex0

Protected Member Functions

 ADMeshInstance ()

Protected Attributes

ADBaseMeshbaseMesh
TextureRef lightMap
GImage * lightMap1
GImage * lightMap2
std::string name

Friends

class ADBaseMesh

Constructor & Destructor Documentation

ONE::model::ADMeshInstance::ADMeshInstance  )  [inline, protected]
 

ONE::model::ADMeshInstance::~ADMeshInstance  )  [inline]
 


Member Function Documentation

const Box ONE::model::ADMeshInstance::getBoundingBox AnimationData = NULL  )  [virtual]
 

Implements ONE::model::Model.

Reimplemented in ONE::model::ADModelInstance.

void ONE::model::ADMeshInstance::getIndices int *&  indices,
int &  numTri
const [virtual]
 

Implements ONE::model::Model.

std::string ONE::model::Model::getName  )  const [inline, inherited]
 

void ONE::model::ADMeshInstance::getNormals Array< Vector3 > *&  normals  )  const [virtual]
 

Reimplemented from ONE::model::Model.

virtual int ONE::model::ADMeshInstance::getNumTri  )  const [virtual]
 

Implements ONE::model::Model.

void ONE::model::ADMeshInstance::getScaledVertices float *&  verts,
int &  numVerts,
Vector3  scale
[virtual]
 

Implements ONE::model::Model.

Reimplemented in ONE::model::ADModelInstance.

void ONE::model::ADMeshInstance::getTexCoords Array< Vector2 > *&  texCoord  )  const [virtual]
 

Implements ONE::model::Model.

GImage* ONE::model::ADMeshInstance::getTexImage  )  const [virtual]
 

Implements ONE::model::Model.

void ONE::model::ADMeshInstance::getVertices float *&  verts,
int &  numVerts
const [virtual]
 

Implements ONE::model::Model.

Reimplemented in ONE::model::ADModelInstance.

void ONE::model::ADMeshInstance::prepareRendering RenderDevice *  rd  ) 
 

void ONE::model::ADMeshInstance::releaseScaledVertices Vector3  scale  )  [virtual]
 

Implements ONE::model::Model.

Reimplemented in ONE::model::ADModelInstance.

void ONE::model::ADMeshInstance::render RenderDevice *  rd  )  [virtual]
 

Implements ONE::model::Model.

Reimplemented in ONE::model::ADModelInstance.

void ONE::model::ADMeshInstance::setLightMap1 GImage *  image,
string  entityname
[virtual]
 

Reimplemented from ONE::model::Model.

void ONE::model::ADMeshInstance::setLightMap2 GImage *  image,
string  entityname
[virtual]
 

Reimplemented from ONE::model::Model.

void ONE::model::Model::setName std::string  n  )  [inline, inherited]
 


Friends And Related Function Documentation

friend class ADBaseMesh [friend]
 


Member Data Documentation

ADBaseMesh* ONE::model::ADMeshInstance::baseMesh [protected]
 

TextureRef ONE::model::ADMeshInstance::detailnormaltex
 

TextureRef ONE::model::ADMeshInstance::detailtex
 

TextureRef ONE::model::ADMeshInstance::lightMap [protected]
 

GImage* ONE::model::ADMeshInstance::lightMap1 [protected]
 

GImage* ONE::model::ADMeshInstance::lightMap2 [protected]
 

std::string ONE::model::Model::name [protected, inherited]
 

TextureRef ONE::model::ADMeshInstance::normaltex
 

TextureRef ONE::model::ADMeshInstance::simpledetailtex
 

TextureRef ONE::model::ADMeshInstance::tex0
 


Generated on Wed Sep 7 19:03:23 2005 for ONEngine by  doxygen 1.4.3