TSSkinMesh Class Reference#include <tsMesh.h>
Inheritance diagram for TSSkinMesh:
[legend]
|
Public Types |
typedef TSMesh | Parent |
Public Member Functions |
void | updateSkin () |
| set verts and normals...
|
void | render (S32 frame, S32 matFrame, TSMaterialList *) |
void | renderShadow (S32 frame, const MatrixF &mat, S32 dim, U32 *bits, TSMaterialList *) |
bool | buildPolyList (S32 frame, AbstractPolyList *polyList, U32 &surfaceKey) |
bool | castRay (S32 frame, const Point3F &start, const Point3F &end, RayInfo *rayInfo) |
bool | buildConvexHull () |
| returns false if not convex (still builds planes)
|
void | computeBounds (MatrixF &transform, Box3F &bounds, S32 frame, Point3F *center, F32 *radius) |
void | assemble (bool skip) |
| persist methods...
|
void | disassemble () |
| TSSkinMesh () |
Data Fields |
ToolVector< F32 > | weight |
| vectors that define the vertex, weight, bone tuples
|
ToolVector< S32 > | boneIndex |
ToolVector< S32 > | vertexIndex |
ToolVector< S32 > | nodeIndex |
| vectors indexed by bone number
|
ToolVector< MatrixF > | initialTransforms |
ToolVector< Point3F > | initialVerts |
| initial values of verts and normals these get transformed into initial bone space, from there into world space relative to current bone pos, and then weighted by bone weights.
|
ToolVector< Point3F > | initialNorms |
Static Public Attributes |
static Vector< MatrixF * > | smInitTransformList |
| variables used during assembly (for skipping mesh detail levels on load and for sharing verts between meshes)
|
static Vector< S32 * > | smVertexIndexList |
static Vector< S32 * > | smBoneIndexList |
static Vector< F32 * > | smWeightList |
static Vector< S32 * > | smNodeIndexList |
Member Typedef Documentation
Constructor & Destructor Documentation
TSSkinMesh::TSSkinMesh |
( |
|
) |
[inline] |
Member Function Documentation
void TSSkinMesh::updateSkin |
( |
|
) |
|
bool TSSkinMesh::buildConvexHull |
( |
|
) |
[virtual] |
returns false if not convex (still builds planes)
Reimplemented from TSMesh.
void TSSkinMesh::assemble |
( |
bool |
skip |
) |
[virtual] |
persist methods...
Reimplemented from TSMesh.
void TSSkinMesh::disassemble |
( |
|
) |
[virtual] |
Field Documentation
vectors that define the vertex, weight, bone tuples
vectors indexed by bone number
initial values of verts and normals these get transformed into initial bone space, from there into world space relative to current bone pos, and then weighted by bone weights.
..
variables used during assembly (for skipping mesh detail levels on load and for sharing verts between meshes)
|