# 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::CCollisionSurfaceTemp Class Reference

Temp collision data used during resolution of collision within surfaces. More...

#include <collision_surface_temp.h>

List of all members.

Public Types

typedef std::pair< uint16,
uint16
TExteriorEdgeIndex

Public Methods

 CCollisionSurfaceTemp ()
 Constructor. More...

void incSurface (sint32 surf)
void decSurface (sint32 surf)
Access to EdgeCollideNode
void resetEdgeCollideNodes ()
uint32 allocEdgeCollideNode (uint32 size=1)
 return first Id. More...

CEdgeCollideNodegetEdgeCollideNode (uint32 id)

Public Attributes

uint16 OChainLUT [65536]
 For CChainQuad::selectEdges(). More...

std::vector< CEdgeChainEntryEdgeChainEntries
std::vector< uint16ExteriorEdgeIndexes
CSurfaceLUTEntry SurfaceLUT [65536]
 Array of possible near surfaces. More...

uint8 OutCounter
std::vector< uint16PossibleSurfaces
std::vector< CDistanceSurfaceSortedSurfaces
std::vector< CCollisionChainCollisionChains
 Array of near Collision Chains. More...

std::vector< CMoveSurfaceDescMoveDescs
 result of testMovementWithCollisionChains(). More...

std::vector< CRotSurfaceDescRotDescs
 result of testRotWithCollisionChains(). More...

TCollisionSurfaceDescVector CollisionDescs
 Result of collision testMove(). More...

std::vector< sint32CollisionInstances
 CGlobalRetriever instance possibly colliding movement. More...

CSurfaceIdent PrecStartSurface
 For testMove/doMove, prec settings. More...

NLMISC::CVector PrecStartPos
NLMISC::CVector PrecDeltaPos
bool PrecValid

Private Attributes

std::vector< CEdgeCollideNode_EdgeCollideNodes
 Allocator of EdgeCollideNode. More...


Detailed Description

Temp collision data used during resolution of collision within surfaces.

There should be one CCollisionSurfaceTemp per thread. This is a private class, in essence.

Author:
Lionel Berenguier , Nevrax France
Date:
2001

Definition at line 242 of file collision_surface_temp.h.


Member Typedef Documentation

typedef std::pair<uint16, uint16> NLPACS::CCollisionSurfaceTemp::TExteriorEdgeIndex
 

Definition at line 245 of file collision_surface_temp.h.


Constructor & Destructor Documentation

NLPACS::CCollisionSurfaceTemp::CCollisionSurfaceTemp  
 

Constructor.

Definition at line 45 of file collision_surface_temp.cpp.

References _EdgeCollideNodes, CollisionChains, CollisionDescs, CollisionInstances, EdgeChainEntries, MoveDescs, OChainLUT, OutCounter, PossibleSurfaces, PrecValid, RotDescs, NLPACS::StartCollisionChainSize, NLPACS::StartCollisionDescSize, NLPACS::StartCollisionInstanceSize, NLPACS::StartEdgeChainEntrySize, NLPACS::StartEdgeCollideNodeSize, and SurfaceLUT.


Member Function Documentation

uint32 NLPACS::CCollisionSurfaceTemp::allocEdgeCollideNode uint32    size = 1
 

return first Id.

Definition at line 68 of file collision_surface_temp.cpp.

References _EdgeCollideNodes, and id.

Referenced by NLPACS::CLocalRetriever::testCollision, and NLPACS::CRetrieverInstance::testExteriorCollision.

void NLPACS::CCollisionSurfaceTemp::decSurface sint32    surf [inline]
 

Definition at line 344 of file collision_surface_temp.h.

References OutCounter, and PossibleSurfaces.

CEdgeCollideNode & NLPACS::CCollisionSurfaceTemp::getEdgeCollideNode uint32    id
 

Definition at line 75 of file collision_surface_temp.cpp.

References _EdgeCollideNodes, and id.

Referenced by NLPACS::CLocalRetriever::testCollision, and NLPACS::CRetrieverInstance::testExteriorCollision.

void NLPACS::CCollisionSurfaceTemp::incSurface sint32    surf [inline]
 

Definition at line 328 of file collision_surface_temp.h.

References OutCounter, and PossibleSurfaces.

void NLPACS::CCollisionSurfaceTemp::resetEdgeCollideNodes  
 

Definition at line 63 of file collision_surface_temp.cpp.

References _EdgeCollideNodes.


Member Data Documentation

std::vector<CEdgeCollideNode> NLPACS::CCollisionSurfaceTemp::_EdgeCollideNodes [private]
 

Allocator of EdgeCollideNode.

Definition at line 361 of file collision_surface_temp.h.

Referenced by allocEdgeCollideNode, CCollisionSurfaceTemp, getEdgeCollideNode, and resetEdgeCollideNodes.

std::vector<CCollisionChain> NLPACS::CCollisionSurfaceTemp::CollisionChains
 

Array of near Collision Chains.

Definition at line 289 of file collision_surface_temp.h.

Referenced by CCollisionSurfaceTemp, NLPACS::CLocalRetriever::testCollision, and NLPACS::CRetrieverInstance::testExteriorCollision.

TCollisionSurfaceDescVector NLPACS::CCollisionSurfaceTemp::CollisionDescs
 

Result of collision testMove().

Definition at line 301 of file collision_surface_temp.h.

Referenced by CCollisionSurfaceTemp, and NLPACS::CGlobalRetriever::doMove.

std::vector<sint32> NLPACS::CCollisionSurfaceTemp::CollisionInstances
 

CGlobalRetriever instance possibly colliding movement.

Definition at line 305 of file collision_surface_temp.h.

Referenced by CCollisionSurfaceTemp.

std::vector<CEdgeChainEntry> NLPACS::CCollisionSurfaceTemp::EdgeChainEntries
 

Definition at line 277 of file collision_surface_temp.h.

Referenced by CCollisionSurfaceTemp, and NLPACS::CLocalRetriever::testCollision.

std::vector<uint16> NLPACS::CCollisionSurfaceTemp::ExteriorEdgeIndexes
 

Definition at line 278 of file collision_surface_temp.h.

Referenced by NLPACS::CRetrieverInstance::testExteriorCollision.

std::vector<CMoveSurfaceDesc> NLPACS::CCollisionSurfaceTemp::MoveDescs
 

result of testMovementWithCollisionChains().

Definition at line 293 of file collision_surface_temp.h.

Referenced by CCollisionSurfaceTemp.

uint16 NLPACS::CCollisionSurfaceTemp::OChainLUT[65536]
 

For CChainQuad::selectEdges().

Definition at line 276 of file collision_surface_temp.h.

Referenced by CCollisionSurfaceTemp, NLPACS::CLocalRetriever::testCollision, and NLPACS::CRetrieverInstance::testExteriorCollision.

uint8 NLPACS::CCollisionSurfaceTemp::OutCounter
 

Definition at line 283 of file collision_surface_temp.h.

Referenced by CCollisionSurfaceTemp, decSurface, and incSurface.

std::vector<uint16> NLPACS::CCollisionSurfaceTemp::PossibleSurfaces
 

Definition at line 284 of file collision_surface_temp.h.

Referenced by CCollisionSurfaceTemp, decSurface, and incSurface.

NLMISC::CVector NLPACS::CCollisionSurfaceTemp::PrecDeltaPos
 

Definition at line 311 of file collision_surface_temp.h.

Referenced by NLPACS::CGlobalRetriever::doMove.

NLMISC::CVector NLPACS::CCollisionSurfaceTemp::PrecStartPos
 

Definition at line 310 of file collision_surface_temp.h.

Referenced by NLPACS::CGlobalRetriever::doMove.

CSurfaceIdent NLPACS::CCollisionSurfaceTemp::PrecStartSurface
 

For testMove/doMove, prec settings.

Definition at line 309 of file collision_surface_temp.h.

Referenced by NLPACS::CGlobalRetriever::doMove.

bool NLPACS::CCollisionSurfaceTemp::PrecValid
 

Definition at line 312 of file collision_surface_temp.h.

Referenced by CCollisionSurfaceTemp, and NLPACS::CGlobalRetriever::doMove.

std::vector<CRotSurfaceDesc> NLPACS::CCollisionSurfaceTemp::RotDescs
 

result of testRotWithCollisionChains().

Definition at line 297 of file collision_surface_temp.h.

Referenced by CCollisionSurfaceTemp.

std::vector<CDistanceSurface> NLPACS::CCollisionSurfaceTemp::SortedSurfaces
 

Definition at line 285 of file collision_surface_temp.h.

CSurfaceLUTEntry NLPACS::CCollisionSurfaceTemp::SurfaceLUT[65536]
 

Array of possible near surfaces.

Definition at line 282 of file collision_surface_temp.h.

Referenced by CCollisionSurfaceTemp.


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