NLPACS::CSurfaceIdent Class Reference

#include <collision_desc.h>


Detailed Description

Ident of a surface.

Author:
Lionel Berenguier

Nevrax France

Date:
2001

Definition at line 65 of file collision_desc.h.

Public Member Functions

 CSurfaceIdent (sint32 retInstance, sint32 surfId)
 CSurfaceIdent ()
bool operator!= (const CSurfaceIdent &o) const
bool operator== (const CSurfaceIdent &o) const
void serial (NLMISC::IStream &f)

Data Fields

sint32 RetrieverInstanceId
 the surface mesh instance Id.

sint32 SurfaceId
 the surface Id of this surface mesh instance. -1 if Wall/impossible to walk through.


Constructor & Destructor Documentation

NLPACS::CSurfaceIdent::CSurfaceIdent  )  [inline]
 

Definition at line 85 of file collision_desc.h.

00085 {}

NLPACS::CSurfaceIdent::CSurfaceIdent sint32  retInstance,
sint32  surfId
[inline]
 

Definition at line 86 of file collision_desc.h.

References RetrieverInstanceId, sint32, and SurfaceId.

00086 : RetrieverInstanceId(retInstance), SurfaceId(surfId) {}


Member Function Documentation

bool NLPACS::CSurfaceIdent::operator!= const CSurfaceIdent o  )  const [inline]
 

Definition at line 78 of file collision_desc.h.

00079         {
00080                 return !(*this==o);
00081         }

bool NLPACS::CSurfaceIdent::operator== const CSurfaceIdent o  )  const [inline]
 

Definition at line 73 of file collision_desc.h.

References RetrieverInstanceId, and SurfaceId.

00074         {
00075                 return RetrieverInstanceId==o.RetrieverInstanceId && SurfaceId==o.SurfaceId;
00076         }

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

Definition at line 88 of file collision_desc.h.

References RetrieverInstanceId, NLMISC::IStream::serial(), and SurfaceId.

00088 { f.serial(RetrieverInstanceId, SurfaceId); }


Field Documentation

sint32 NLPACS::CSurfaceIdent::RetrieverInstanceId
 

the surface mesh instance Id.

Definition at line 69 of file collision_desc.h.

Referenced by NLPACS::CEdgeQuad::build(), CSurfaceIdent(), NLPACS::CGlobalRetriever::doMove(), NLPACS::CGlobalRetriever::findCollisionChains(), NLPACS::CGlobalRetriever::getSurfaceById(), operator==(), serial(), NLPACS::CGlobalRetriever::testCollisionWithCollisionChains(), and NLPACS::CGlobalRetriever::testMovementWithCollisionChains().

sint32 NLPACS::CSurfaceIdent::SurfaceId
 

the surface Id of this surface mesh instance. -1 if Wall/impossible to walk through.

Definition at line 71 of file collision_desc.h.

Referenced by NLPACS::CEdgeQuad::build(), CSurfaceIdent(), NLPACS::CGlobalRetriever::doMove(), NLPACS::CGlobalRetriever::findCollisionChains(), NLPACS::CGlobalRetriever::getSurfaceById(), operator==(), serial(), NLPACS::CGlobalRetriever::testCollisionWithCollisionChains(), and NLPACS::CGlobalRetriever::testMovementWithCollisionChains().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 14:24:18 2004 for NeL by doxygen 1.3.6