| - Cal3D 0.11 API Reference - |
Public Member Functions | |
| CalPhysiqueDualQuat (CalModel *pModel) | |
| virtual int | calculateNormals (CalSubmesh *pSubmesh, float *pNormalBuffer, int stride=0) const |
| Calculates the transformed normal data. | |
| virtual int | calculateVertices (CalSubmesh *pSubmesh, float *pVertexBuffer, int stride=0) const |
| Calculates the transformed vertex data. | |
| virtual int | calculateVerticesAndNormals (CalSubmesh *pSubmesh, float *pVertexBuffer, int stride=0) const |
| Calculates the transformed vertex data. | |
| virtual int | calculateVerticesNormalsAndTexCoords (CalSubmesh *pSubmesh, float *pVertexBuffer, int NumTexCoords=1) const |
| Calculates the transformed vertex data. | |
Public Member Functions inherited from CalPhysique | |
| CalPhysique (CalModel *pModel) | |
| Constructs the physique instance. | |
| int | calculateTangentSpaces (CalSubmesh *pSubmesh, int mapId, float *pTangentSpaceBuffer, int stride=0) const |
| Calculates the transformed tangent space data. | |
| virtual int | calculateNormals (CalSubmesh *pSubmesh, float *pNormalBuffer, int stride=0) const |
| Calculates the transformed normal data. | |
| virtual int | calculateVertices (CalSubmesh *pSubmesh, float *pVertexBuffer, int stride=0) const |
| Calculates the transformed vertex data. | |
| CalVector | calculateVertex (CalSubmesh *pSubmesh, int vertexId) |
| Calculates one transformed vertex. | |
| virtual int | calculateVerticesAndNormals (CalSubmesh *pSubmesh, float *pVertexBuffer, int stride=0) const |
| Calculates the transformed vertex data. | |
| virtual int | calculateVerticesNormalsAndTexCoords (CalSubmesh *pSubmesh, float *pVertexBuffer, int NumTexCoords=1) const |
| Calculates the transformed vertex data. | |
| void | update () |
| Updates all the internally handled attached meshes. | |
| void | setNormalization (bool normalize) |
| Sets the normalization flag to true or false. | |
| void | setAxisFactorX (float factor) |
| void | setAxisFactorY (float factor) |
| void | setAxisFactorZ (float factor) |
Additional Inherited Members | |
Protected Attributes inherited from CalPhysique | |
| CalModel * | m_pModel |
| bool | m_Normalize |
| float | m_axisFactorX |
| float | m_axisFactorY |
| float | m_axisFactorZ |
|
virtual |
Calculates the transformed normal data.
This function calculates and returns the transformed normal data of a specific submesh.
| pSubmesh | A pointer to the submesh from which the normal data should be calculated and returned. |
| pNormalBuffer | A pointer to the user-provided buffer where the normal data is written to. |
Reimplemented from CalPhysique.
|
virtual |
Calculates the transformed vertex data.
This function calculates and returns the transformed vertex data of a specific submesh.
| pSubmesh | A pointer to the submesh from which the vertex data should be calculated and returned. |
| pVertexBuffer | A pointer to the user-provided buffer where the vertex data is written to. |
Reimplemented from CalPhysique.
|
virtual |
Calculates the transformed vertex data.
This function calculates and returns the transformed vertex and the transformed normal datadata of a specific submesh.
| pSubmesh | A pointer to the submesh from which the vertex data should be calculated and returned. |
| pVertexBuffer | A pointer to the user-provided buffer where the vertex data is written to. |
Reimplemented from CalPhysique.
|
virtual |
Calculates the transformed vertex data.
This function calculates and returns the transformed vertex, the transformed normal data and the texture coords of a specific submesh.
| pSubmesh | A pointer to the submesh from which the vertex data should be calculated and returned. |
| pVertexBuffer | A pointer to the user-provided buffer where the vertex data is written to. |
| NumTexCoords | A integer with the number of texture coords |
Reimplemented from CalPhysique.