osgCal::GlueCalHardwareModel Class Reference
List of all members.
|
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) |
Classes |
| struct | CalHardwareMesh |
Constructor & Destructor Documentation
| osgCal::GlueCalHardwareModel::GlueCalHardwareModel |
( |
CalCoreModel * |
pCoreModel |
) |
|
| osgCal::GlueCalHardwareModel::~GlueCalHardwareModel |
( |
|
) |
[inline] |
Member Function Documentation
| void osgCal::GlueCalHardwareModel::setVertexBuffer |
( |
char * |
pVertexBuffer, |
|
|
int |
stride | |
|
) |
| | |
| void osgCal::GlueCalHardwareModel::setIndexBuffer |
( |
CalIndex * |
pIndexBuffer |
) |
|
| void osgCal::GlueCalHardwareModel::setNormalBuffer |
( |
char * |
pNormalBuffer, |
|
|
int |
stride | |
|
) |
| | |
| void osgCal::GlueCalHardwareModel::setWeightBuffer |
( |
char * |
pWeightBuffer, |
|
|
int |
stride | |
|
) |
| | |
| void osgCal::GlueCalHardwareModel::setMatrixIndexBuffer |
( |
char * |
pMatrixIndexBuffer, |
|
|
int |
stride | |
|
) |
| | |
| void osgCal::GlueCalHardwareModel::setTextureCoordNum |
( |
int |
textureCoordNum |
) |
|
| void osgCal::GlueCalHardwareModel::setTextureCoordBuffer |
( |
int |
mapId, |
|
|
char * |
pTextureCoordBuffer, |
|
|
int |
stride | |
|
) |
| | |
| void osgCal::GlueCalHardwareModel::setTangentSpaceBuffer |
( |
int |
mapId, |
|
|
char * |
pTangentSpaceBuffer, |
|
|
int |
stride | |
|
) |
| | |
| void osgCal::GlueCalHardwareModel::setCoreMeshIds |
( |
const std::vector< int > & |
coreMeshIds |
) |
|
| bool osgCal::GlueCalHardwareModel::load |
( |
int |
baseVertexIndex, |
|
|
int |
startIndex, |
|
|
int |
maxBonesPerMesh | |
|
) |
| | |
| std::vector<CalHardwareMesh>& osgCal::GlueCalHardwareModel::getVectorHardwareMesh |
( |
|
) |
|
| void osgCal::GlueCalHardwareModel::getAmbientColor |
( |
unsigned char * |
pColorBuffer |
) |
|
| void osgCal::GlueCalHardwareModel::getDiffuseColor |
( |
unsigned char * |
pColorBuffer |
) |
|
| void osgCal::GlueCalHardwareModel::getSpecularColor |
( |
unsigned char * |
pColorBuffer |
) |
|
| const CalQuaternion& osgCal::GlueCalHardwareModel::getRotationBoneSpace |
( |
int |
boneId, |
|
|
CalSkeleton * |
pSkeleton | |
|
) |
| | |
| const CalVector& osgCal::GlueCalHardwareModel::getTranslationBoneSpace |
( |
int |
boneId, |
|
|
CalSkeleton * |
pSkeleton | |
|
) |
| | |
| float osgCal::GlueCalHardwareModel::getShininess |
( |
|
) |
const |
| int osgCal::GlueCalHardwareModel::getHardwareMeshCount |
( |
|
) |
const |
| int osgCal::GlueCalHardwareModel::getFaceCount |
( |
|
) |
const |
| int osgCal::GlueCalHardwareModel::getVertexCount |
( |
|
) |
const |
| int osgCal::GlueCalHardwareModel::getBoneCount |
( |
|
) |
const |
| int osgCal::GlueCalHardwareModel::getBaseVertexIndex |
( |
|
) |
const |
| int osgCal::GlueCalHardwareModel::getStartIndex |
( |
|
) |
const |
| int osgCal::GlueCalHardwareModel::getTotalFaceCount |
( |
|
) |
const |
| int osgCal::GlueCalHardwareModel::getTotalVertexCount |
( |
|
) |
const |
| Cal::UserData osgCal::GlueCalHardwareModel::getMapUserData |
( |
int |
mapId |
) |
|
| bool osgCal::GlueCalHardwareModel::selectHardwareMesh |
( |
size_t |
meshId |
) |
|
The documentation for this class was generated from the following file: