17 #include <matrix/vlVector.h>
18 #include <matrix/vlTaitBryan.h>
20 #include <unordered_map>
30 class DtEntity3dFacade;
32 class DtIntersectorResult;
34 class DtCoordinateSystem;
45 const DtVector& direction,
const std::string& modelDefinitionName,
52 bool tick(
double simTime );
60 virtual DtTaitBryan orientationFromOldAndNewPositions(
const DtVector& oldPos,
const DtVector& newPos );
63 virtual void slot_coordinateSystemChanged();
DtTaitBryan myOrientation
projectile orientation
Definition: DtProjectile.h:72
DtSignalConnectionManager myConnections
Definition: DtProjectile.h:89
DtVector myFiringPosition
initial projectile position
Definition: DtProjectile.h:79
DtIntersector is an abstract class that provides the interface for requesting intersections with the ...
Definition: DtIntersector.h:25
DtEntity3dFacade * myFacade
Definition: DtProjectile.h:70
std::function< void(const DtIntersectorResult &, double)> IntersectionCallback
Definition: DtProjectile.h:40
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
DtVector myDirection
vector direction
Definition: DtProjectile.h:81
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The DtEntity3dFacade is a facade around agents that make up an entity in the 3D model set...
Definition: DtEntity3dFacade.h:39
#define DT_DLL_EXAMPLEPROJECTILE
Definition: exampleProjectile.h:20
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
DtVector myVelocity0
speed of the projectile
Definition: DtProjectile.h:83
Base class to provide boost signal/slot management.
Contains makVrv::DtUniqueID type.
DtDe & myDe
DtDe reference.
Definition: DtProjectile.h:68
Definition: DtProjectile.h:36
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
double myFiringStartTime
simulation time that the projectile got fired
Definition: DtProjectile.h:74
IntersectionCallback myIntersectionCallback
Intersection function callback.
Definition: DtProjectile.h:76
DtVector myAcceleration
projectile acceleration
Definition: DtProjectile.h:85