FlightGear next
FGGroundCache::CatapultFinder Class Reference

Inherits BVHVisitor.

Public Member Functions

 CatapultFinder (const SGSphered &sphere, 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 &)
 
void setSphere (const SGSphered &sphere)
 
const SGSphered & getSphere () const
 
const SGLineSegmentd & getLineSegment () const
 
const SGVec3d & getLinearVelocity () const
 
const SGVec3d & getAngularVelocity () const
 
bool getHaveLineSegment () const
 

Protected Attributes

SGLineSegmentd _lineSegment
 
SGVec3d _linearVelocity
 
SGVec3d _angularVelocity
 
bool _haveLineSegment
 
SGSphered _sphere
 
double _time
 

Detailed Description

Definition at line 560 of file groundcache.cxx.

Constructor & Destructor Documentation

◆ CatapultFinder()

FGGroundCache::CatapultFinder::CatapultFinder ( const SGSphered & sphere,
const double & t )
inline

Definition at line 562 of file groundcache.cxx.

Member Function Documentation

◆ apply() [1/9]

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

Definition at line 568 of file groundcache.cxx.

◆ apply() [2/9]

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

Definition at line 624 of file groundcache.cxx.

◆ apply() [3/9]

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

Definition at line 600 of file groundcache.cxx.

◆ apply() [4/9]

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

Definition at line 574 of file groundcache.cxx.

◆ apply() [5/9]

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

Definition at line 640 of file groundcache.cxx.

◆ apply() [6/9]

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

Definition at line 641 of file groundcache.cxx.

◆ apply() [7/9]

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

Definition at line 580 of file groundcache.cxx.

◆ apply() [8/9]

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

Definition at line 643 of file groundcache.cxx.

◆ apply() [9/9]

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

Definition at line 644 of file groundcache.cxx.

◆ getAngularVelocity()

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

Definition at line 655 of file groundcache.cxx.

◆ getHaveLineSegment()

bool FGGroundCache::CatapultFinder::getHaveLineSegment ( ) const
inline

Definition at line 658 of file groundcache.cxx.

◆ getLinearVelocity()

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

Definition at line 653 of file groundcache.cxx.

◆ getLineSegment()

const SGLineSegmentd & FGGroundCache::CatapultFinder::getLineSegment ( ) const
inline

Definition at line 651 of file groundcache.cxx.

◆ getSphere()

const SGSphered & FGGroundCache::CatapultFinder::getSphere ( ) const
inline

Definition at line 648 of file groundcache.cxx.

◆ setSphere()

void FGGroundCache::CatapultFinder::setSphere ( const SGSphered & sphere)
inline

Definition at line 646 of file groundcache.cxx.

Member Data Documentation

◆ _angularVelocity

SGVec3d FGGroundCache::CatapultFinder::_angularVelocity
protected

Definition at line 664 of file groundcache.cxx.

◆ _haveLineSegment

bool FGGroundCache::CatapultFinder::_haveLineSegment
protected

Definition at line 666 of file groundcache.cxx.

◆ _linearVelocity

SGVec3d FGGroundCache::CatapultFinder::_linearVelocity
protected

Definition at line 663 of file groundcache.cxx.

◆ _lineSegment

SGLineSegmentd FGGroundCache::CatapultFinder::_lineSegment
protected

Definition at line 662 of file groundcache.cxx.

◆ _sphere

SGSphered FGGroundCache::CatapultFinder::_sphere
protected

Definition at line 668 of file groundcache.cxx.

◆ _time

double FGGroundCache::CatapultFinder::_time
protected

Definition at line 669 of file groundcache.cxx.


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