osgCal::GlueCalHardwareModel Class Reference

List of all members.

Classes

struct  CalHardwareMesh

Public Member Functions

 GlueCalHardwareModel (CalCoreModel *pCoreModel)
 ~GlueCalHardwareModel ()
void setVertexBuffer (char *pVertexBuffer, int stride)
void setIndexBuffer (CalIndex *pIndexBuffer)
void setNormalBuffer (char *pNormalBuffer, int stride)
void setWeightBuffer (char *pWeightBuffer, int stride)
void setMatrixIndexBuffer (char *pMatrixIndexBuffer, int stride)
void setTextureCoordNum (int textureCoordNum)
void setTextureCoordBuffer (int mapId, char *pTextureCoordBuffer, int stride)
void setTangentSpaceBuffer (int mapId, char *pTangentSpaceBuffer, int stride)
void setCoreMeshIds (const std::vector< int > &coreMeshIds)
bool load (int baseVertexIndex, int startIndex, int maxBonesPerMesh)
std::vector< CalHardwareMesh > & getVectorHardwareMesh ()
void getAmbientColor (unsigned char *pColorBuffer)
void getDiffuseColor (unsigned char *pColorBuffer)
void getSpecularColor (unsigned char *pColorBuffer)
const CalQuaternion & getRotationBoneSpace (int boneId, CalSkeleton *pSkeleton)
const CalVector & getTranslationBoneSpace (int boneId, CalSkeleton *pSkeleton)
float getShininess () const
int getHardwareMeshCount () const
int getFaceCount () const
int getVertexCount () const
int getBoneCount () const
int getBaseVertexIndex () const
int getStartIndex () const
int getTotalFaceCount () const
int getTotalVertexCount () const
Cal::UserData getMapUserData (int mapId)
bool selectHardwareMesh (size_t meshId)


Constructor & Destructor Documentation

osgCal::GlueCalHardwareModel::GlueCalHardwareModel ( CalCoreModel *  pCoreModel  ) 

osgCal::GlueCalHardwareModel::~GlueCalHardwareModel (  )  [inline]


Member Function Documentation

void osgCal::GlueCalHardwareModel::getAmbientColor ( unsigned char *  pColorBuffer  ) 

int osgCal::GlueCalHardwareModel::getBaseVertexIndex (  )  const

int osgCal::GlueCalHardwareModel::getBoneCount (  )  const

void osgCal::GlueCalHardwareModel::getDiffuseColor ( unsigned char *  pColorBuffer  ) 

int osgCal::GlueCalHardwareModel::getFaceCount (  )  const

int osgCal::GlueCalHardwareModel::getHardwareMeshCount (  )  const

Cal::UserData osgCal::GlueCalHardwareModel::getMapUserData ( int  mapId  ) 

const CalQuaternion& osgCal::GlueCalHardwareModel::getRotationBoneSpace ( int  boneId,
CalSkeleton *  pSkeleton 
)

float osgCal::GlueCalHardwareModel::getShininess (  )  const

void osgCal::GlueCalHardwareModel::getSpecularColor ( unsigned char *  pColorBuffer  ) 

int osgCal::GlueCalHardwareModel::getStartIndex (  )  const

int osgCal::GlueCalHardwareModel::getTotalFaceCount (  )  const

int osgCal::GlueCalHardwareModel::getTotalVertexCount (  )  const

const CalVector& osgCal::GlueCalHardwareModel::getTranslationBoneSpace ( int  boneId,
CalSkeleton *  pSkeleton 
)

std::vector<CalHardwareMesh>& osgCal::GlueCalHardwareModel::getVectorHardwareMesh (  ) 

int osgCal::GlueCalHardwareModel::getVertexCount (  )  const

bool osgCal::GlueCalHardwareModel::load ( int  baseVertexIndex,
int  startIndex,
int  maxBonesPerMesh 
)

bool osgCal::GlueCalHardwareModel::selectHardwareMesh ( size_t  meshId  ) 

void osgCal::GlueCalHardwareModel::setCoreMeshIds ( const std::vector< int > &  coreMeshIds  ) 

void osgCal::GlueCalHardwareModel::setIndexBuffer ( CalIndex *  pIndexBuffer  ) 

void osgCal::GlueCalHardwareModel::setMatrixIndexBuffer ( char *  pMatrixIndexBuffer,
int  stride 
)

void osgCal::GlueCalHardwareModel::setNormalBuffer ( char *  pNormalBuffer,
int  stride 
)

void osgCal::GlueCalHardwareModel::setTangentSpaceBuffer ( int  mapId,
char *  pTangentSpaceBuffer,
int  stride 
)

void osgCal::GlueCalHardwareModel::setTextureCoordBuffer ( int  mapId,
char *  pTextureCoordBuffer,
int  stride 
)

void osgCal::GlueCalHardwareModel::setTextureCoordNum ( int  textureCoordNum  ) 

void osgCal::GlueCalHardwareModel::setVertexBuffer ( char *  pVertexBuffer,
int  stride 
)

void osgCal::GlueCalHardwareModel::setWeightBuffer ( char *  pWeightBuffer,
int  stride 
)


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

Generated on Wed Aug 19 01:36:27 2009 for osgCal by  doxygen 1.5.9