From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02385.html | 1108 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1108 insertions(+) create mode 100644 docs/doxygen/nel/a02385.html (limited to 'docs/doxygen/nel/a02385.html') diff --git a/docs/doxygen/nel/a02385.html b/docs/doxygen/nel/a02385.html new file mode 100644 index 00000000..f4127963 --- /dev/null +++ b/docs/doxygen/nel/a02385.html @@ -0,0 +1,1108 @@ + + +NeL: NLPACS::CCollisionOTStaticInfo class Reference + + + +
+

NLPACS::CCollisionOTStaticInfo Class Reference

#include <collision_ot.h> +

+

Inheritance diagram for NLPACS::CCollisionOTStaticInfo: +

+ +NLPACS::CCollisionOTInfo +NLPACS::CCollisionOT + +

Detailed Description

+Static collisions descriptor for time odered table

+

Author:
Cyril 'Hulud' Corvazier

+Nevrax France

+
Date:
2001
+ +

+ +

+Definition at line 352 of file collision_ot.h. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CCollisionOTStaticInfo ()
void clear ()
 Clear the element.

const CCollisionSurfaceDescgetCollisionDesc () const
double getCollisionTime () const
double getDeltaTime () const
const UGlobalPositiongetGlobalPosition () const
CCollisionOTgetNext () const
 Get next element in the ot.

CCollisionOTInfogetNext (CMovePrimitive *primitive) const
CCollisionOTInfogetNextInfo () const
 Get next element in the ot.

CMovePrimitivegetOtherPrimitive (CMovePrimitive *primitive) const
CCollisionOTgetPrevious () const
 Get next element in the ot.

CMovePrimitivegetPrimitive () const
uint8 getWorldImage () const
void init (CMovePrimitive *primitive, const CCollisionSurfaceDesc &desc, const UGlobalPosition &nextGlobalPosition, double delta, uint8 worldImage)
bool isCollisionAgainstStatic () const
bool isInfo () const
 Return true if it an info collision else false;.

void link (CCollisionOT *newElement)
 Link in the ot.

void primitiveLink (CMovePrimitive *primitive, CCollisionOTInfo *other)
void removeFromPrimitives ()
void unlink ()
 Remove from OT.


Protected Attributes

bool _Info

Private Attributes

double _DeltaTime
UGlobalPosition _GlobalPosition
CCollisionOTInfo_Next
CMovePrimitive_Primitive
CCollisionSurfaceDesc _StaticDesc
uint8 _WorldImage
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLPACS::CCollisionOTStaticInfo::CCollisionOTStaticInfo  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 355 of file collision_ot.h. +

+

00356         {
+00357                 _Info=true;
+00358         }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NLPACS::CCollisionOT::clear void   )  [inline, inherited]
+
+ + + + + +
+   + + +

+Clear the element. +

+ +

+Definition at line 57 of file collision_ot.h. +

+References NLPACS::CCollisionOT::_Previous. +

+Referenced by NLPACS::CCollisionOT::CCollisionOT(). +

+

00058         {
+00059                 _Next=NULL;
+00060                 _Previous=NULL;
+00061         }
+
+

+ + + + +
+ + + + + + + + + +
const CCollisionSurfaceDesc& NLPACS::CCollisionOTStaticInfo::getCollisionDesc  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 367 of file collision_ot.h. +

+References _StaticDesc. +

+

00368         {
+00369                 return _StaticDesc;
+00370         }
+
+

+ + + + +
+ + + + + + + + + +
double NLPACS::CCollisionOTStaticInfo::getCollisionTime  )  const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLPACS::CCollisionOTInfo. +

+Definition at line 422 of file collision_ot.h. +

+References _StaticDesc, and NLPACS::CCollisionSurfaceDesc::ContactTime. +

+

00423         {
+00424                 return _StaticDesc.ContactTime;
+00425         }
+
+

+ + + + +
+ + + + + + + + + +
double NLPACS::CCollisionOTStaticInfo::getDeltaTime  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 379 of file collision_ot.h. +

+

00380         {
+00381                 return _DeltaTime;
+00382         }
+
+

+ + + + +
+ + + + + + + + + +
const UGlobalPosition& NLPACS::CCollisionOTStaticInfo::getGlobalPosition  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 373 of file collision_ot.h. +

+References _GlobalPosition. +

+

00374         {
+00375                 return _GlobalPosition;
+00376         }
+
+

+ + + + +
+ + + + + + + + + +
CCollisionOT* NLPACS::CCollisionOT::getNext  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Get next element in the ot. +

+ +

+Definition at line 100 of file collision_ot.h. +

+

00101         {
+00102                 return _Next;
+00103         }
+
+

+ + + + +
+ + + + + + + + + + +
CCollisionOTInfo* NLPACS::CCollisionOTStaticInfo::getNext CMovePrimitive primitive  )  const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLPACS::CCollisionOTInfo. +

+Definition at line 409 of file collision_ot.h. +

+

00410         {
+00411                 // return next
+00412                 return _Next;
+00413         }
+
+

+ + + + +
+ + + + + + + + + +
CCollisionOTInfo * NLPACS::CCollisionOT::getNextInfo  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Get next element in the ot. +

+ +

+Definition at line 456 of file collision_ot.h. +

+References NLPACS::CCollisionOT::isInfo(). +

+

00457 {
+00458         // Get next
+00459         CCollisionOT *next=_Next;
+00460 
+00461         // Is an info ?
+00462         while ( next && (!next->isInfo ()) )
+00463                 next=next->getNextInfo ();
+00464 
+00465         // Return an info
+00466         return (CCollisionOTInfo*)next;
+00467 }
+
+

+ + + + +
+ + + + + + + + + + +
CMovePrimitive* NLPACS::CCollisionOTStaticInfo::getOtherPrimitive CMovePrimitive primitive  )  const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLPACS::CCollisionOTInfo. +

+Definition at line 430 of file collision_ot.h. +

+

00431         {
+00432                 return NULL;
+00433         }
+
+

+ + + + +
+ + + + + + + + + +
CCollisionOT* NLPACS::CCollisionOT::getPrevious  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Get next element in the ot. +

+ +

+Definition at line 94 of file collision_ot.h. +

+References NLPACS::CCollisionOT::_Previous. +

+

00095         {
+00096                 return _Previous;
+00097         }
+
+

+ + + + +
+ + + + + + + + + +
CMovePrimitive* NLPACS::CCollisionOTStaticInfo::getPrimitive  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 361 of file collision_ot.h. +

+References _Primitive. +

+

00362         {
+00363                 return _Primitive;
+00364         }
+
+

+ + + + +
+ + + + + + + + + +
uint8 NLPACS::CCollisionOTStaticInfo::getWorldImage  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 385 of file collision_ot.h. +

+References _WorldImage, and uint8. +

+

00386         {
+00387                 return _WorldImage;
+00388         }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NLPACS::CCollisionOTStaticInfo::init CMovePrimitive primitive,
const CCollisionSurfaceDesc desc,
const UGlobalPosition nextGlobalPosition,
double  delta,
uint8  worldImage
[inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 391 of file collision_ot.h. +

+References _GlobalPosition, _Primitive, _StaticDesc, _WorldImage, and uint8. +

+

00393         {
+00394                 _Primitive=primitive;
+00395                 _StaticDesc=desc;
+00396                 _GlobalPosition=nextGlobalPosition;
+00397                 _DeltaTime=delta;
+00398                 _WorldImage=worldImage;
+00399         }
+
+

+ + + + +
+ + + + + + + + + +
bool NLPACS::CCollisionOTStaticInfo::isCollisionAgainstStatic  )  const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLPACS::CCollisionOTInfo. +

+Definition at line 416 of file collision_ot.h. +

+

00417         {
+00418                 return true;
+00419         }
+
+

+ + + + +
+ + + + + + + + + +
bool NLPACS::CCollisionOT::isInfo  )  const [inline, inherited]
+
+ + + + + +
+   + + +

+Return true if it an info collision else false;. +

+ +

+Definition at line 88 of file collision_ot.h. +

+References NLPACS::CCollisionOT::_Info. +

+Referenced by NLPACS::CCollisionOT::getNextInfo(). +

+

00089         {
+00090                 return _Info;
+00091         }
+
+

+ + + + +
+ + + + + + + + + + +
void NLPACS::CCollisionOT::link CCollisionOT newElement  )  [inline, inherited]
+
+ + + + + +
+   + + +

+Link in the ot. +

+ +

+Definition at line 64 of file collision_ot.h. +

+References NLPACS::CCollisionOT::_Next, and NLPACS::CCollisionOT::_Previous. +

+

00065         {
+00066                 if (newElement)
+00067                 {
+00068                         newElement->_Previous=this;
+00069                         newElement->_Next=_Next;
+00070                 }
+00071                 if (_Next)
+00072                         _Next->_Previous=newElement;
+00073                 _Next=newElement;
+00074         }
+
+

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

+ +

+Implements NLPACS::CCollisionOTInfo. +

+Definition at line 402 of file collision_ot.h. +

+

00403         {
+00404                 // Link
+00405                 _Next=other;
+00406         }
+
+

+ + + + +
+ + + + + + + + + +
void NLPACS::CCollisionOTStaticInfo::removeFromPrimitives  )  [virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLPACS::CCollisionOTInfo. +

+Definition at line 47 of file collision_ot.cpp. +

+References _Primitive, and NLPACS::CMovePrimitive::removeCollisionOTInfo(). +

+

00048 {
+00049         _Primitive->removeCollisionOTInfo (this);
+00050 }
+
+

+ + + + +
+ + + + + + + + + +
void NLPACS::CCollisionOT::unlink  )  [inline, inherited]
+
+ + + + + +
+   + + +

+Remove from OT. +

+ +

+Definition at line 77 of file collision_ot.h. +

+References NLPACS::CCollisionOT::_Next, and NLPACS::CCollisionOT::_Previous. +

+

00078         {
+00079                 if (_Previous)
+00080                         _Previous->_Next=_Next;
+00081                 if (_Next)
+00082                         _Next->_Previous=_Previous;
+00083                 _Next=NULL;
+00084                 _Previous=NULL;
+00085         }
+
+


Field Documentation

+

+ + + + +
+ + +
double NLPACS::CCollisionOTStaticInfo::_DeltaTime [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 445 of file collision_ot.h.

+

+ + + + +
+ + +
UGlobalPosition NLPACS::CCollisionOTStaticInfo::_GlobalPosition [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 442 of file collision_ot.h. +

+Referenced by getGlobalPosition(), and init().

+

+ + + + +
+ + +
bool NLPACS::CCollisionOT::_Info [protected, inherited] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 117 of file collision_ot.h. +

+Referenced by NLPACS::CCollisionOT::CCollisionOT(), and NLPACS::CCollisionOT::isInfo().

+

+ + + + +
+ + +
CCollisionOTInfo* NLPACS::CCollisionOTStaticInfo::_Next [private] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLPACS::CCollisionOT. +

+Definition at line 451 of file collision_ot.h.

+

+ + + + +
+ + +
CMovePrimitive* NLPACS::CCollisionOTStaticInfo::_Primitive [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 436 of file collision_ot.h. +

+Referenced by getPrimitive(), init(), and removeFromPrimitives().

+

+ + + + +
+ + +
CCollisionSurfaceDesc NLPACS::CCollisionOTStaticInfo::_StaticDesc [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 439 of file collision_ot.h. +

+Referenced by getCollisionDesc(), getCollisionTime(), and init().

+

+ + + + +
+ + +
uint8 NLPACS::CCollisionOTStaticInfo::_WorldImage [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 448 of file collision_ot.h. +

+Referenced by getWorldImage(), and init().

+


The documentation for this class was generated from the following files: +
Generated on Tue Mar 16 14:11:23 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1