VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtProjectile Class Reference

Public Types

typedef boost::function< void(const
DtIntersectorResult &, double)> 
IntersectionCallback

Public Member Functions

 DtProjectile (DtDe &de, const DtVector &start, const DtTaitBryan &orientation, double speed, const DtVector &direction, const std::string &modelDefinitionName, IntersectionCallback callback=(IntersectionCallback) 0)
virtual ~DtProjectile ()
bool tick (double simTime)
DtElementID id () const

Protected Member Functions

virtual DtTaitBryan orientationFromOldAndNewPositions (const DtVector &oldPos, const DtVector &newPos)

Protected Attributes

DtDemyDe
DtEntity3dFacademyFacade
DtTaitBryan myOrientation
double myFiringStartTime
IntersectionCallback myIntersectionCallback
DtVector myFiringPosition
DtVector myDirection
DtVector myVelocity0
DtVector myAcceleration

Member Typedef Documentation

typedef boost::function<void ( const DtIntersectorResult&, double )> makVrv::DtProjectile::IntersectionCallback

Constructor & Destructor Documentation

makVrv::DtProjectile::DtProjectile ( DtDe de,
const DtVector start,
const DtTaitBryan &  orientation,
double  speed,
const DtVector direction,
const std::string &  modelDefinitionName,
IntersectionCallback  callback = (IntersectionCallback) 0 
)
virtual makVrv::DtProjectile::~DtProjectile ( )
virtual

Member Function Documentation

bool makVrv::DtProjectile::tick ( double  simTime)
DtElementID makVrv::DtProjectile::id ( ) const
virtual DtTaitBryan makVrv::DtProjectile::orientationFromOldAndNewPositions ( const DtVector oldPos,
const DtVector newPos 
)
protectedvirtual

Member Data Documentation

DtDe& makVrv::DtProjectile::myDe
protected
DtEntity3dFacade* makVrv::DtProjectile::myFacade
protected
DtTaitBryan makVrv::DtProjectile::myOrientation
protected
double makVrv::DtProjectile::myFiringStartTime
protected
IntersectionCallback makVrv::DtProjectile::myIntersectionCallback
protected
DtVector makVrv::DtProjectile::myFiringPosition
protected
DtVector makVrv::DtProjectile::myDirection
protected
DtVector makVrv::DtProjectile::myVelocity0
protected
DtVector makVrv::DtProjectile::myAcceleration
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)