NLPACS::CCollisionFace Struct Reference

#include <collision_mesh_build.h>


Public Types

enum  { ExteriorSurface = -1, InteriorSurfaceFirst = 0 }
 The exterior/interior surfaces id. More...


Public Member Functions

void serial (NLMISC::IStream &f)
 Serialise the face.


Data Fields

Internal attributes
sint32 Edge [3]
 The link to the neighbor faces -- don't fill.

bool EdgeFlags [3]
 The flags for each edge -- don't fill.

sint32 InternalSurface
 The number of the connex surface associated -- don't fill.

Attributes to set
sint32 Material
sint32 Surface
 The number of the surface of which it is associated. -1 means exterior surface.

uint32 V [3]
 The number of the vertices of the face.

bool Visibility [3]
 The visibility of each edge.


Member Enumeration Documentation

anonymous enum
 

The exterior/interior surfaces id.

Enumeration values:
ExteriorSurface 
InteriorSurfaceFirst 

Definition at line 80 of file collision_mesh_build.h.

00081         { 
00082                 ExteriorSurface = -1, 
00083                 InteriorSurfaceFirst = 0
00084         };


Member Function Documentation

void NLPACS::CCollisionFace::serial NLMISC::IStream f  )  [inline]
 

Serialise the face.

Definition at line 87 of file collision_mesh_build.h.

References NLMISC::IStream::serial(), and Surface.

00088         {
00089                 f.serial(V[0]);
00090                 f.serial(V[1]);
00091                 f.serial(V[2]);
00092 
00093                 f.serial(Visibility[0]);
00094                 f.serial(Visibility[1]);
00095                 f.serial(Visibility[2]);
00096 
00097                 f.serial(Surface, Material);
00098         }


Field Documentation

sint32 NLPACS::CCollisionFace::Edge[3]
 

The link to the neighbor faces -- don't fill.

Definition at line 68 of file collision_mesh_build.h.

Referenced by NLPACS::computeSurfaceBorders(), NLPACS::floodFillSurfaces(), NLPACS::followBorder(), and NLPACS::CInteriorSurface::getNeighbor().

bool NLPACS::CCollisionFace::EdgeFlags[3]
 

The flags for each edge -- don't fill.

Definition at line 74 of file collision_mesh_build.h.

Referenced by NLPACS::computeSurfaceBorders(), and NLPACS::followBorder().

sint32 NLPACS::CCollisionFace::InternalSurface
 

The number of the connex surface associated -- don't fill.

Definition at line 71 of file collision_mesh_build.h.

Referenced by NLPACS::computeSurfaceBorders(), NLPACS::floodFillSurfaces(), and NLPACS::followBorder().

sint32 NLPACS::CCollisionFace::Material
 

Definition at line 59 of file collision_mesh_build.h.

Referenced by NLPACS::floodFillSurfaces(), and NLPACS::CCollisionMeshBuild::link().

sint32 NLPACS::CCollisionFace::Surface
 

The number of the surface of which it is associated. -1 means exterior surface.

Definition at line 56 of file collision_mesh_build.h.

Referenced by NLPACS::floodFillSurfaces(), NLPACS::CCollisionMeshBuild::link(), and serial().

uint32 NLPACS::CCollisionFace::V[3]
 

The number of the vertices of the face.

Definition at line 50 of file collision_mesh_build.h.

Referenced by NLPACS::computeSurfaceCenter(), NLPACS::followBorder(), and NLPACS::CCollisionMeshBuild::link().

bool NLPACS::CCollisionFace::Visibility[3]
 

The visibility of each edge.

Definition at line 53 of file collision_mesh_build.h.

Referenced by NLPACS::computeSurfaceBorders(), and NLPACS::followBorder().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 14:10:05 2004 for NeL by doxygen 1.3.6