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

ONE::model::ADModelInstance Class Reference

Inheritance diagram for ONE::model::ADModelInstance:

Inheritance graph
[legend]
List of all members.

Public Types

enum  {
  anim_IDLE, anim_WALK, anim_WALKBACK, anim_RUN,
  anim_FALL, anim_LAND, anim_DIE, anim_WALK_LEFT,
  anim_WALK_RIGHT, anim_WIN, anim_LOSE, anim_GET_BONUS,
  anim_SPECIAL1, anim_SPECIAL2, anim_SPECIAL3, anim_IDLE2,
  anim_IDLE3, anim_LOSE2
}

Public Member Functions

void animate (AnimationData *a)
void blendToAnimation (int anim, float blendFrames)
virtual void deserializeAnimState (BinaryInput &b)
void endAnimation ()
bool finished ()
const Box getBoundingBox (AnimationData *=NULL)
void getIndices (int *&indices, int &numTri) const
std::string getName () const
void getNormals (Array< Vector3 > *&normals) const
int getNumberOfFrames (int animation)
virtual int getNumTri () const
void getScaledVertices (float *&verts, int &numVerts, Vector3 scale)
float getSpeed ()
void getTexCoords (Array< Vector2 > *&texCoord) const
GImage * getTexImage () const
void getVertices (float *&verts, int &numVerts) const
void init ()
void loop (int animation, float blendFrames)
void pause ()
void play ()
void playOnce (int animation, float blendFrames)
void prepareRendering (RenderDevice *rd)
void releaseScaledVertices (Vector3 scale)
void render (RenderDevice *rd)
virtual void serializeAnimState (BinaryOutput &b)
void setAnimation (int anim)
void setLightMap1 (GImage *image, string entityname)
void setLightMap2 (GImage *image, string entityname)
void setName (std::string n)
void setObjectToWorldMatrix (CoordinateFrame *_otw)
void setSpeed (float speed)
void update (float time)
 ~ADModelInstance ()

Public Attributes

bool animChangedSinceSerialization
TextureRef detailnormaltex
TextureRef detailtex
TextureRef normaltex
TextureRef simpledetailtex
TextureRef tex0

Protected Attributes

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

Friends

class ADBaseModel

Member Enumeration Documentation

anonymous enum [inherited]
 

Enumerator:
anim_IDLE 
anim_WALK 
anim_WALKBACK 
anim_RUN 
anim_FALL 
anim_LAND 
anim_DIE 
anim_WALK_LEFT 
anim_WALK_RIGHT 
anim_WIN 
anim_LOSE 
anim_GET_BONUS 
anim_SPECIAL1 
anim_SPECIAL2 
anim_SPECIAL3 
anim_IDLE2 
anim_IDLE3 
anim_LOSE2 


Constructor & Destructor Documentation

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


Member Function Documentation

void ONE::model::Animateable::animate AnimationData a  )  [inline, inherited]
 

Reimplemented in ONE::model::ADModel.

void ONE::model::ADModelInstance::blendToAnimation int  anim,
float  blendFrames
 

virtual void ONE::model::ADModelInstance::deserializeAnimState BinaryInput &  b  )  [virtual]
 

Implements ONE::model::Animateable.

void ONE::model::ADModelInstance::endAnimation  ) 
 

bool ONE::model::ADModelInstance::finished  )  [virtual]
 

Implements ONE::model::Animateable.

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

Reimplemented from ONE::model::ADMeshInstance.

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

Implements ONE::model::Model.

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

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

Reimplemented from ONE::model::Model.

int ONE::model::ADModelInstance::getNumberOfFrames int  animation  )  [virtual]
 

Implements ONE::model::Animateable.

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

Implements ONE::model::Model.

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

Reimplemented from ONE::model::ADMeshInstance.

float ONE::model::ADModelInstance::getSpeed  ) 
 

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

Implements ONE::model::Model.

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

Implements ONE::model::Model.

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

Reimplemented from ONE::model::ADMeshInstance.

void ONE::model::ADModelInstance::init  )  [virtual]
 

Implements ONE::model::Animateable.

void ONE::model::ADModelInstance::loop int  animation,
float  blendFrames
[virtual]
 

Implements ONE::model::Animateable.

void ONE::model::ADModelInstance::pause  )  [virtual]
 

Implements ONE::model::Animateable.

void ONE::model::ADModelInstance::play  )  [virtual]
 

Implements ONE::model::Animateable.

void ONE::model::ADModelInstance::playOnce int  animation,
float  blendFrames
[virtual]
 

Implements ONE::model::Animateable.

void ONE::model::ADMeshInstance::prepareRendering RenderDevice *  rd  )  [inherited]
 

void ONE::model::ADModelInstance::releaseScaledVertices Vector3  scale  )  [inline, virtual]
 

Reimplemented from ONE::model::ADMeshInstance.

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

Reimplemented from ONE::model::ADMeshInstance.

virtual void ONE::model::ADModelInstance::serializeAnimState BinaryOutput &  b  )  [virtual]
 

Implements ONE::model::Animateable.

void ONE::model::ADModelInstance::setAnimation int  anim  ) 
 

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

Reimplemented from ONE::model::Model.

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

Reimplemented from ONE::model::Model.

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

void ONE::model::ADModelInstance::setObjectToWorldMatrix CoordinateFrame *  _otw  )  [inline]
 

void ONE::model::ADModelInstance::setSpeed float  speed  )  [virtual]
 

Implements ONE::model::Animateable.

void ONE::model::ADModelInstance::update float  time  )  [virtual]
 

Implements ONE::model::Animateable.


Friends And Related Function Documentation

friend class ADBaseModel [friend]
 


Member Data Documentation

AnimationData* ONE::model::Animateable::animationData [protected, inherited]
 

bool ONE::model::Animateable::animChangedSinceSerialization [inherited]
 

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

TextureRef ONE::model::ADMeshInstance::detailnormaltex [inherited]
 

TextureRef ONE::model::ADMeshInstance::detailtex [inherited]
 

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

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

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

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

TextureRef ONE::model::ADMeshInstance::normaltex [inherited]
 

TextureRef ONE::model::ADMeshInstance::simpledetailtex [inherited]
 

TextureRef ONE::model::ADMeshInstance::tex0 [inherited]
 


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