# 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  

NLPACS::CCollisionMeshBuild Class Reference

The collision intermediate mesh, used to build the real collision meshes. More...

#include <collision_mesh_build.h>

List of all members.

Public Methods

void serial (NLMISC::IStream &f)
void translate (const NLMISC::CVector &translation)
NLMISC::CVector computeTrivialTranslation () const
void link (bool linkInterior, std::vector< std::string > &errors)

Public Attributes

std::vector< NLMISC::CVectorVertices
 The vertices of the mesh. More...

std::vector< CCollisionFaceFaces
 The faces of the mesh. More...


Private Types

typedef std::map< CEdgeKey,
CEdgeInfo, CEdgeKey
TLinkRelloc
typedef TLinkRelloc::iterator ItTLinkRelloc


Detailed Description

The collision intermediate mesh, used to build the real collision meshes.

Author:
Benjamin Legros , Nevrax France
Date:
2001

Definition at line 106 of file collision_mesh_build.h.


Member Typedef Documentation

typedef TLinkRelloc::iterator NLPACS::CCollisionMeshBuild::ItTLinkRelloc [private]
 

Definition at line 134 of file collision_mesh_build.h.

Referenced by link.

typedef std::map<CEdgeKey, CEdgeInfo, CEdgeKey> NLPACS::CCollisionMeshBuild::TLinkRelloc [private]
 

Definition at line 133 of file collision_mesh_build.h.

Referenced by link.


Member Function Documentation

NLMISC::CVector NLPACS::CCollisionMeshBuild::computeTrivialTranslation   const [inline]
 

Definition at line 161 of file collision_mesh_build.h.

References NLMISC::CAABBox::extend, NLMISC::CAABBox::getCenter, NLMISC::CAABBox::setCenter, uint, and Vertices.

void NLPACS::CCollisionMeshBuild::link bool    linkInterior,
std::vector< std::string > &    errors
[inline]
 

Definition at line 177 of file collision_mesh_build.h.

References Faces, ItTLinkRelloc, sint32, TLinkRelloc, uint, uint32, Vertices, NLMISC::CVector::x, NLMISC::CVector::y, and NLMISC::CVector::z.

void NLPACS::CCollisionMeshBuild::serial NLMISC::IStream   f [inline]
 

Definition at line 148 of file collision_mesh_build.h.

References Faces, NLMISC::IStream::serialCont, and Vertices.

void NLPACS::CCollisionMeshBuild::translate const NLMISC::CVector   translation [inline]
 

Definition at line 154 of file collision_mesh_build.h.

References uint, and Vertices.


Member Data Documentation

std::vector<CCollisionFace> NLPACS::CCollisionMeshBuild::Faces
 

The faces of the mesh.

Definition at line 144 of file collision_mesh_build.h.

Referenced by link, and serial.

std::vector<NLMISC::CVector> NLPACS::CCollisionMeshBuild::Vertices
 

The vertices of the mesh.

Definition at line 141 of file collision_mesh_build.h.

Referenced by computeTrivialTranslation, link, serial, and translate.


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