FlightGear next
FGGroundCache::BodyFinder Class Reference

Inherits BVHVisitor.

Public Member Functions

 BodyFinder (BVHNode::Id id, const double &t)
 
virtual void apply (BVHGroup &leaf)
 
virtual void apply (BVHPageNode &leaf)
 
virtual void apply (BVHTransform &transform)
 
virtual void apply (BVHMotionTransform &transform)
 
virtual void apply (BVHLineGeometry &node)
 
virtual void apply (BVHStaticGeometry &node)
 
virtual void apply (BVHTerrainTile &node)
 
virtual void apply (const BVHStaticBinary &, const BVHStaticData &)
 
virtual void apply (const BVHStaticTriangle &, const BVHStaticData &)
 
const SGMatrixd & getBodyToWorld () const
 
const SGVec3d & getLinearVelocity () const
 
const SGVec3d & getAngularVelocity () const
 
bool empty () const
 

Protected Attributes

simgear::BVHNode::Id _id
 
SGMatrixd _bodyToWorld
 
SGVec3d _linearVelocity
 
SGVec3d _angularVelocity
 
bool _foundId
 
double _time
 

Detailed Description

Definition at line 452 of file groundcache.cxx.

Constructor & Destructor Documentation

◆ BodyFinder()

FGGroundCache::BodyFinder::BodyFinder ( BVHNode::Id id,
const double & t )
inline

Definition at line 454 of file groundcache.cxx.

Member Function Documentation

◆ apply() [1/9]

virtual void FGGroundCache::BodyFinder::apply ( BVHGroup & leaf)
inlinevirtual

Definition at line 463 of file groundcache.cxx.

◆ apply() [2/9]

virtual void FGGroundCache::BodyFinder::apply ( BVHLineGeometry & node)
inlinevirtual

Definition at line 509 of file groundcache.cxx.

◆ apply() [3/9]

virtual void FGGroundCache::BodyFinder::apply ( BVHMotionTransform & transform)
inlinevirtual

Definition at line 488 of file groundcache.cxx.

◆ apply() [4/9]

virtual void FGGroundCache::BodyFinder::apply ( BVHPageNode & leaf)
inlinevirtual

Definition at line 469 of file groundcache.cxx.

◆ apply() [5/9]

virtual void FGGroundCache::BodyFinder::apply ( BVHStaticGeometry & node)
inlinevirtual

Definition at line 510 of file groundcache.cxx.

◆ apply() [6/9]

virtual void FGGroundCache::BodyFinder::apply ( BVHTerrainTile & node)
inlinevirtual

Definition at line 511 of file groundcache.cxx.

◆ apply() [7/9]

virtual void FGGroundCache::BodyFinder::apply ( BVHTransform & transform)
inlinevirtual

Definition at line 475 of file groundcache.cxx.

◆ apply() [8/9]

virtual void FGGroundCache::BodyFinder::apply ( const BVHStaticBinary & ,
const BVHStaticData &  )
inlinevirtual

Definition at line 513 of file groundcache.cxx.

◆ apply() [9/9]

virtual void FGGroundCache::BodyFinder::apply ( const BVHStaticTriangle & ,
const BVHStaticData &  )
inlinevirtual

Definition at line 514 of file groundcache.cxx.

◆ empty()

bool FGGroundCache::BodyFinder::empty ( ) const
inline

Definition at line 523 of file groundcache.cxx.

◆ getAngularVelocity()

const SGVec3d & FGGroundCache::BodyFinder::getAngularVelocity ( ) const
inline

Definition at line 520 of file groundcache.cxx.

◆ getBodyToWorld()

const SGMatrixd & FGGroundCache::BodyFinder::getBodyToWorld ( ) const
inline

Definition at line 516 of file groundcache.cxx.

◆ getLinearVelocity()

const SGVec3d & FGGroundCache::BodyFinder::getLinearVelocity ( ) const
inline

Definition at line 518 of file groundcache.cxx.

Member Data Documentation

◆ _angularVelocity

SGVec3d FGGroundCache::BodyFinder::_angularVelocity
protected

Definition at line 532 of file groundcache.cxx.

◆ _bodyToWorld

SGMatrixd FGGroundCache::BodyFinder::_bodyToWorld
protected

Definition at line 529 of file groundcache.cxx.

◆ _foundId

bool FGGroundCache::BodyFinder::_foundId
protected

Definition at line 534 of file groundcache.cxx.

◆ _id

simgear::BVHNode::Id FGGroundCache::BodyFinder::_id
protected

Definition at line 527 of file groundcache.cxx.

◆ _linearVelocity

SGVec3d FGGroundCache::BodyFinder::_linearVelocity
protected

Definition at line 531 of file groundcache.cxx.

◆ _time

double FGGroundCache::BodyFinder::_time
protected

Definition at line 536 of file groundcache.cxx.


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