NL3D::CShiftedTriangleCache Class Reference

#include <shifted_triangle_cache.h>


Detailed Description

This is a cache of indices which are the copy of CMesh/CMeshMRM indices, but shifted according to a value. This is usefull for skinning.
Author:
Lionel Berenguier

Nevrax France

Date:
2002

Definition at line 45 of file shifted_triangle_cache.h.

Public Member Functions

void clearArrays ()

Data Fields

uint BaseVertex
 the shift value used to compute this indices.

sint LodId
 What MRM lod this cache represent. -1 if NULL.

uint MeshDataId
 To see if same Data than in the CMeshMRMGeom.

NLMISC::CObjectVector< uint32,
false > 
RawIndices
 The Raw triangles array.

NLMISC::CObjectVector< CRdrPass,
false > 
RdrPass
 List of triangles, per rdrPass.


Member Function Documentation

void NL3D::CShiftedTriangleCache::clearArrays  ) 
 

Definition at line 35 of file shifted_triangle_cache.cpp.

References NLMISC::CObjectVector< CRdrPass, false >::clear(), NLMISC::CObjectVector< uint32, false >::clear(), and RawIndices.

00036 {
00037         RawIndices.clear();
00038         RdrPass.clear();
00039 }


Field Documentation

uint NL3D::CShiftedTriangleCache::BaseVertex
 

the shift value used to compute this indices.

Definition at line 66 of file shifted_triangle_cache.h.

Referenced by NL3D::CMeshMRMSkinnedGeom::updateShiftedTriangleCache(), and NL3D::CMeshMRMGeom::updateShiftedTriangleCache().

sint NL3D::CShiftedTriangleCache::LodId
 

What MRM lod this cache represent. -1 if NULL.

Definition at line 62 of file shifted_triangle_cache.h.

Referenced by NL3D::CMeshMRMSkinnedGeom::updateShiftedTriangleCache(), and NL3D::CMeshMRMGeom::updateShiftedTriangleCache().

uint NL3D::CShiftedTriangleCache::MeshDataId
 

To see if same Data than in the CMeshMRMGeom.

Definition at line 64 of file shifted_triangle_cache.h.

Referenced by NL3D::CMeshMRMSkinnedGeom::updateShiftedTriangleCache(), and NL3D::CMeshMRMGeom::updateShiftedTriangleCache().

NLMISC::CObjectVector<uint32, false> NL3D::CShiftedTriangleCache::RawIndices
 

The Raw triangles array.

Definition at line 57 of file shifted_triangle_cache.h.

Referenced by clearArrays(), NL3D::CMeshMRMSkinnedGeom::updateShiftedTriangleCache(), and NL3D::CMeshMRMGeom::updateShiftedTriangleCache().

NLMISC::CObjectVector<CRdrPass, false> NL3D::CShiftedTriangleCache::RdrPass
 

List of triangles, per rdrPass.

Definition at line 59 of file shifted_triangle_cache.h.

Referenced by NL3D::CMeshMRMSkinnedGeom::renderSkinGroupPrimitives(), NL3D::CMeshMRMGeom::renderSkinGroupPrimitives(), NL3D::CMeshMRMSkinnedGeom::renderSkinGroupSpecularRdrPass(), NL3D::CMeshMRMGeom::renderSkinGroupSpecularRdrPass(), NL3D::CMeshMRMSkinnedGeom::updateShiftedTriangleCache(), and NL3D::CMeshMRMGeom::updateShiftedTriangleCache().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 07:44:17 2004 for NeL by doxygen 1.3.6