57 virtual const char*
type()
const;
67 static void moveToLocationCallback(
DtSimMessage* msg,
void* usr);
73 virtual void processMoveToLocationTask(
DtSimMessage* msg);
77 virtual void initializeLocals(
const DtVector& globalTarget);
109 virtual bool setupControlPoint();
114 virtual bool passedGoal();
117 virtual bool atGoal();
125 virtual void controlMovement();
128 virtual void processEstimatedTotCalculation();
149 const double DtEstimatedTotCalcInterval = 5.0;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtVector2D myCurrentGoalToEntity2DVector
Definition: surfaceEntityMoveToLocationController.h:138
DtLocation3D myAimingPoint
Note: in general, this is not.
Definition: surfaceEntityMoveToLocationController.h:146
virtual void registerTaskMsgCallbacks()
DtVector myEstimatedTotTextPos
tot text position
Definition: surfaceEntityMoveToLocationController.h:158
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
bool myEstimatedTotCalcEnabled
enabled flag for the tot calculations
Definition: surfaceEntityMoveToLocationController.h:152
const DtSurfaceEntityPilotController & operator=(const DtSurfaceEntityPilotController &orig)
assignment operator; not implemented
DtLocation3D myEntityPoint
These data are computed each tick and used later in the same tick.
Definition: surfaceEntityMoveToLocationController.h:135
DtBoolean myAtGoal
Definition: surfaceEntityMoveToLocationController.h:137
double myEstimatedTotValue
the tot value
Definition: surfaceEntityMoveToLocationController.h:154
//! DtSurfaceEntityMoveToLocationController is a controller that models the movement of a surface ent...
Definition: surfaceEntityMoveToLocationController.h:28
virtual void updateTaskVisualizations()
Called to update task visualizations after every tick.
Definition: simComponent.h:485
double myEstimatedTotLastCalcTime
used for tot calculation intervals
Definition: surfaceEntityMoveToLocationController.h:156
virtual void tick()
Overridden to check for valid myProcessState pointer.
File: simMsg.h.
Definition: simMessage.h:35
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
! DtVector2D is a vector in earth-relative coordinates, e.g.
Definition: scriptGeometry.h:281
DtBoolean myPassedGoal
Definition: surfaceEntityMoveToLocationController.h:136
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The DtSurfaceEntityPilotController provides basic movement capabilities for surface entities and crea...
Definition: surfaceEntityPilotController.h:77
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtVector2D myCurrentEntityToGoal2DVector
Definition: surfaceEntityMoveToLocationController.h:139
virtual const char * type() const
Returns a string identifies the class type of component.
A location3D is a point in space, i.e. a geocentric coordinate.
Definition: scriptGeometry.h:22