Public Member Functions | |
| W3DShadowGeometryMesh (void) | |
| ~W3DShadowGeometryMesh (void) | |
| const Vector3 & | GetPolygonNormal (long dwPolyNormId) const |
| int | GetNumPolygon (void) const |
| void | buildPolygonNeighbors (void) |
| given loaded geometry this builds the polygon neighbor information | |
| void | buildPolygonNormals (void) |
Protected Member Functions | |
| Vector3 * | buildPolygonNormal (long dwPolyNormId, Vector3 *pvNorm) const |
| Bool | allocateNeighbors (Int numPolys) |
| creating and deleting storage for the polygon neighbors | |
| void | deleteNeighbors (void) |
| PolyNeighbor * | GetPolyNeighbor (Int polyIndex) |
| int | GetNumVertex (void) const |
| void | GetPolygonIndex (long dwPolyId, short *psIndexList) const |
| Get indices to the 3 vertices of this face. | |
| const Vector3 & | GetVertex (int dwVertId) const |
Protected Attributes | |
| MeshClass * | m_mesh |
| W3D mesh for this geometry. | |
| Int | m_meshRobjIndex |
| index of this mesh within hlod robj | |
| const Vector3 * | m_verts |
| array of vertices | |
| Vector3 * | m_polygonNormals |
| array of face normals | |
| Int | m_numVerts |
| number of actual vertices after duplicates are removed. | |
| Int | m_numPolygons |
| number of polygons in source geometry | |
| const TriIndex * | m_polygons |
| array of 3 vertex indices per face | |
| UnsignedShort * | m_parentVerts |
| PolyNeighbor * | m_polyNeighbors |
| the neighbor info indexed by polygon id | |
| Int | m_numPolyNeighbors |
| W3DShadowGeometry * | m_parentGeometry |
Friends | |
| class | W3DShadowGeometry |
| class | W3DVolumetricShadow |
This class holds original mesh specific data and geometry. The meshes stored in this class have been cleaned to remove replicated vertices and also cache mesh data needed for faster silhouette computation. A model can contain many meshes for which we need to store separate data so they can move relative to each other.
Definition at line 271 of file W3DVolumetricShadow.cpp.
| W3DShadowGeometryMesh::W3DShadowGeometryMesh | ( | void | ) |
Definition at line 897 of file W3DVolumetricShadow.cpp.
| W3DShadowGeometryMesh::~W3DShadowGeometryMesh | ( | void | ) |
Definition at line 908 of file W3DVolumetricShadow.cpp.
creating and deleting storage for the polygon neighbors
Definition at line 1134 of file W3DVolumetricShadow.cpp.
| void W3DShadowGeometryMesh::buildPolygonNeighbors | ( | void | ) |
given loaded geometry this builds the polygon neighbor information
Definition at line 948 of file W3DVolumetricShadow.cpp.
|
inlineprotected |
Definition at line 306 of file W3DVolumetricShadow.cpp.
|
inline |
Definition at line 293 of file W3DVolumetricShadow.cpp.
|
protected |
Definition at line 1162 of file W3DVolumetricShadow.cpp.
|
inline |
Definition at line 290 of file W3DVolumetricShadow.cpp.
|
inlineprotected |
Definition at line 340 of file W3DVolumetricShadow.cpp.
|
inlineprotected |
Get indices to the 3 vertices of this face.
Definition at line 345 of file W3DVolumetricShadow.cpp.
|
inline |
Definition at line 285 of file W3DVolumetricShadow.cpp.
|
protected |
Definition at line 923 of file W3DVolumetricShadow.cpp.
|
inlineprotected |
Definition at line 354 of file W3DVolumetricShadow.cpp.
|
friend |
Definition at line 274 of file W3DVolumetricShadow.cpp.
|
friend |
Definition at line 275 of file W3DVolumetricShadow.cpp.
|
protected |
W3D mesh for this geometry.
Definition at line 359 of file W3DVolumetricShadow.cpp.
|
protected |
index of this mesh within hlod robj
Definition at line 360 of file W3DVolumetricShadow.cpp.
|
protected |
number of polygons in source geometry
Definition at line 364 of file W3DVolumetricShadow.cpp.
|
protected |
Definition at line 369 of file W3DVolumetricShadow.cpp.
|
protected |
number of actual vertices after duplicates are removed.
Definition at line 363 of file W3DVolumetricShadow.cpp.
|
protected |
Definition at line 371 of file W3DVolumetricShadow.cpp.
|
protected |
array of parent vertex indices for each vertex.
Definition at line 366 of file W3DVolumetricShadow.cpp.
|
protected |
array of face normals
Definition at line 362 of file W3DVolumetricShadow.cpp.
|
protected |
array of 3 vertex indices per face
Definition at line 365 of file W3DVolumetricShadow.cpp.
|
protected |
the neighbor info indexed by polygon id
Definition at line 368 of file W3DVolumetricShadow.cpp.
|
protected |
array of vertices
Definition at line 361 of file W3DVolumetricShadow.cpp.