# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CShiftedTriangleCache Class Reference

This is a cache of indices which are the copy of CMesh/CMeshMRM indices, but shifted according to a value. More...

#include <shifted_triangle_cache.h>

List of all members.

Public Methods

void clearArrays ()

Public Attributes

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

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

bool HasQuadOrLine
 This tell if the current Lod has Quad or Lines. If yes, then must compute them. More...

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

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

uint BaseVertex
 the shift value used to compute this indices. More...


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.


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, RawIndices, and RdrPass.


Member Data Documentation

uint NL3D::CShiftedTriangleCache::BaseVertex
 

the shift value used to compute this indices.

Definition at line 68 of file shifted_triangle_cache.h.

bool NL3D::CShiftedTriangleCache::HasQuadOrLine
 

This tell if the current Lod has Quad or Lines. If yes, then must compute them.

Definition at line 61 of file shifted_triangle_cache.h.

sint NL3D::CShiftedTriangleCache::LodId
 

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

Definition at line 64 of file shifted_triangle_cache.h.

uint NL3D::CShiftedTriangleCache::MeshDataId
 

To see if same Data than in the CMeshMRMGeom.

Definition at line 66 of file shifted_triangle_cache.h.

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

The Raw triangles array.

Definition at line 57 of file shifted_triangle_cache.h.

Referenced by clearArrays.

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

List of triangles, per rdrPass.

Definition at line 59 of file shifted_triangle_cache.h.

Referenced by clearArrays.


The documentation for this class was generated from the following files: