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

Dynamic collisions descriptor for time odered table. More...

#include <collision_ot.h>

Inheritance diagram for NLPACS::CCollisionOTDynamicInfo:

NLPACS::CCollisionOTInfo NLPACS::CCollisionOT List of all members.

Public Methods

 CCollisionOTDynamicInfo ()
CMovePrimitivegetFirstPrimitive () const
CMovePrimitivegetSecondPrimitive () const
const CCollisionDescgetCollisionDesc () const
bool isCollision () const
bool isEnter () const
bool isExit () const
bool isSecondStatic () const
uint8 getFirstWorldImage () const
uint8 getSecondWorldImage () const
void init (CMovePrimitive *firstPrimitive, CMovePrimitive *secondPrimitive, const CCollisionDesc &desc, bool collision, bool enter, bool exit, uint8 firstWorldImage, uint8 secondWorldImage, bool secondStatic)
void primitiveLink (CMovePrimitive *primitive, CCollisionOTInfo *other)
CCollisionOTInfogetNext (CMovePrimitive *primitive) const
bool isCollisionAgainstStatic () const
double getCollisionTime () const
void removeFromPrimitives ()
CMovePrimitivegetOtherPrimitive (CMovePrimitive *primitive) const

Private Attributes

CMovePrimitive_FirstPrimitive
CMovePrimitive_SecondPrimitive
CCollisionDesc _Desc
bool _Collision
bool _Enter
bool _Exit
bool _SecondStatic
uint8 _FirstWorldImage
uint8 _SecondWorldImage
CCollisionOTInfo_FirstNext
CCollisionOTInfo_SecondNext

Detailed Description

Dynamic collisions descriptor for time odered table.

Author:
Cyril 'Hulud' Corvazier , Nevrax France
Date:
2001

Definition at line 161 of file collision_ot.h.


Constructor & Destructor Documentation

NLPACS::CCollisionOTDynamicInfo::CCollisionOTDynamicInfo   [inline]
 

Definition at line 164 of file collision_ot.h.

References NLPACS::CCollisionOT::_Info.


Member Function Documentation

const CCollisionDesc& NLPACS::CCollisionOTDynamicInfo::getCollisionDesc   const [inline]
 

Definition at line 182 of file collision_ot.h.

References _Desc.

double NLPACS::CCollisionOTDynamicInfo::getCollisionTime   const [inline, virtual]
 

Implements NLPACS::CCollisionOTInfo.

Definition at line 289 of file collision_ot.h.

References _Desc.

CMovePrimitive* NLPACS::CCollisionOTDynamicInfo::getFirstPrimitive   const [inline]
 

Definition at line 170 of file collision_ot.h.

References _FirstPrimitive.

uint8 NLPACS::CCollisionOTDynamicInfo::getFirstWorldImage   const [inline]
 

Definition at line 212 of file collision_ot.h.

References _FirstWorldImage.

CCollisionOTInfo* NLPACS::CCollisionOTDynamicInfo::getNext CMovePrimitive   primitive const [inline, virtual]
 

Implements NLPACS::CCollisionOTInfo.

Definition at line 261 of file collision_ot.h.

References _FirstNext, _FirstPrimitive, _SecondNext, _SecondPrimitive, NLPACS::CCollisionOTInfo::CCollisionOTInfo, and nlassert.

CMovePrimitive* NLPACS::CCollisionOTDynamicInfo::getOtherPrimitive CMovePrimitive   primitive const [inline, virtual]
 

Implements NLPACS::CCollisionOTInfo.

Definition at line 298 of file collision_ot.h.

References _FirstPrimitive, _SecondPrimitive, and nlassert.

CMovePrimitive* NLPACS::CCollisionOTDynamicInfo::getSecondPrimitive   const [inline]
 

Definition at line 176 of file collision_ot.h.

References _SecondPrimitive.

uint8 NLPACS::CCollisionOTDynamicInfo::getSecondWorldImage   const [inline]
 

Definition at line 218 of file collision_ot.h.

References _SecondWorldImage.

void NLPACS::CCollisionOTDynamicInfo::init CMovePrimitive   firstPrimitive,
CMovePrimitive   secondPrimitive,
const CCollisionDesc   desc,
bool    collision,
bool    enter,
bool    exit,
uint8    firstWorldImage,
uint8    secondWorldImage,
bool    secondStatic
[inline]
 

Definition at line 224 of file collision_ot.h.

References _Collision, _Desc, _Enter, _Exit, _FirstPrimitive, _FirstWorldImage, _SecondPrimitive, _SecondStatic, and _SecondWorldImage.

bool NLPACS::CCollisionOTDynamicInfo::isCollision   const [inline]
 

Definition at line 188 of file collision_ot.h.

References _Collision.

bool NLPACS::CCollisionOTDynamicInfo::isCollisionAgainstStatic   const [inline, virtual]
 

Implements NLPACS::CCollisionOTInfo.

Definition at line 283 of file collision_ot.h.

bool NLPACS::CCollisionOTDynamicInfo::isEnter   const [inline]
 

Definition at line 194 of file collision_ot.h.

References _Enter.

bool NLPACS::CCollisionOTDynamicInfo::isExit   const [inline]
 

Definition at line 200 of file collision_ot.h.

References _Exit.

bool NLPACS::CCollisionOTDynamicInfo::isSecondStatic   const [inline]
 

Definition at line 206 of file collision_ot.h.

References _SecondStatic.

void NLPACS::CCollisionOTDynamicInfo::primitiveLink CMovePrimitive   primitive,
CCollisionOTInfo   other
[inline, virtual]
 

Implements NLPACS::CCollisionOTInfo.

Definition at line 239 of file collision_ot.h.

References _FirstNext, _FirstPrimitive, _SecondNext, _SecondPrimitive, NLPACS::CCollisionOTInfo::CCollisionOTInfo, and nlassert.

void NLPACS::CCollisionOTDynamicInfo::removeFromPrimitives   [virtual]
 

Implements NLPACS::CCollisionOTInfo.

Definition at line 38 of file collision_ot.cpp.

References _FirstPrimitive, and _SecondPrimitive.


Member Data Documentation

bool NLPACS::CCollisionOTDynamicInfo::_Collision [private]
 

Definition at line 321 of file collision_ot.h.

Referenced by init, and isCollision.

CCollisionDesc NLPACS::CCollisionOTDynamicInfo::_Desc [private]
 

Definition at line 318 of file collision_ot.h.

Referenced by getCollisionDesc, getCollisionTime, and init.

bool NLPACS::CCollisionOTDynamicInfo::_Enter [private]
 

Definition at line 322 of file collision_ot.h.

Referenced by init, and isEnter.

bool NLPACS::CCollisionOTDynamicInfo::_Exit [private]
 

Definition at line 323 of file collision_ot.h.

Referenced by init, and isExit.

CCollisionOTInfo* NLPACS::CCollisionOTDynamicInfo::_FirstNext [private]
 

Definition at line 331 of file collision_ot.h.

Referenced by getNext, and primitiveLink.

CMovePrimitive* NLPACS::CCollisionOTDynamicInfo::_FirstPrimitive [private]
 

Definition at line 312 of file collision_ot.h.

Referenced by getFirstPrimitive, getNext, getOtherPrimitive, init, primitiveLink, and removeFromPrimitives.

uint8 NLPACS::CCollisionOTDynamicInfo::_FirstWorldImage [private]
 

Definition at line 327 of file collision_ot.h.

Referenced by getFirstWorldImage, and init.

CCollisionOTInfo* NLPACS::CCollisionOTDynamicInfo::_SecondNext [private]
 

Definition at line 334 of file collision_ot.h.

Referenced by getNext, and primitiveLink.

CMovePrimitive* NLPACS::CCollisionOTDynamicInfo::_SecondPrimitive [private]
 

Definition at line 315 of file collision_ot.h.

Referenced by getNext, getOtherPrimitive, getSecondPrimitive, init, primitiveLink, and removeFromPrimitives.

bool NLPACS::CCollisionOTDynamicInfo::_SecondStatic [private]
 

Definition at line 324 of file collision_ot.h.

Referenced by init, and isSecondStatic.

uint8 NLPACS::CCollisionOTDynamicInfo::_SecondWorldImage [private]
 

Definition at line 328 of file collision_ot.h.

Referenced by getSecondWorldImage, and init.


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