13 #include <boost/shared_ptr.hpp>
17 #ifdef DtObjectDebugger_Enable
36 virtual void setAnimationModelFile(
const std::string&);
37 virtual const std::string& animationModelFile()
const;
40 virtual void setTimeScale(
double);
41 virtual double timeScale()
const;
45 virtual void setFrameTime(
double);
46 virtual double frameTime()
const;
49 virtual int numAnimationFrames()
const;
52 virtual void setClampType(
int);
53 virtual int clampType()
const;
56 virtual void setCompletionRule(
int);
57 virtual int completionRule()
const;
60 virtual void init(
void* userData);
63 virtual void setTimeDeltaFromPreviousRow(
int forRow,
double timeDelta);
67 virtual void setTransitionSpeed(
double);
70 virtual double transitionSpeed()
const;
73 virtual void setAnimationFrame(
int);
76 virtual int animationFrame()
const;
79 virtual double elapsedAnimationTime()
const;
82 virtual bool isFinished()
const;
88 virtual int addAnimationRow(
double deltaTime,
double lateral,
double range,
double altitude,
89 double headingOffset = 0,
double pitchOffset = 0,
double rollOffset = 0);
92 virtual double speed(
int)
const;
98 virtual void orientation(
int frame,
double& heading,
double& pitch,
double& roll)
const;
101 virtual DtVector3D rotationalVelocity(
int)
const;
131 virtual void reset();
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Definition: scriptAnimationModel.h:15
DtAnimationModel myAnimationModel
Definition: scriptAnimationModel.h:136
Definition: asciiSerializable.h:33
virtual bool deserialize(const DtString &)=0
This function should take the string that was serialized via serialize() and fill this object with th...
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
virtual void init(void *userData)
This function is called right after the object is constructed during the deserialization process...
Definition: asciiSerializable.h:71
#define DT_DEFINE_OBJECT_DEBUGGER_NAME(type)
Definition: objectCounter.h:265
Default on in debug, off in release.
Definition: objectCounter.h:31
DT_DLL_features std::ostream & operator<<(std::ostream &, const DtFeatureTransform &)
std::ostream output.
virtual DtString serialize()=0
The following characters are reserved and cannot be used in serialization: '|', ':'.
boost::shared_ptr< DtScriptVrfObject > mySharedObject
Definition: scriptAnimationModel.h:135
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtSimManager * mySimManager
Definition: scriptAnimationModel.h:134
The DtAnimationModel class will contain the interface allow for animated movement via an external fil...
Definition: animationModel.h:29
virtual DtString objectType() const =0
Should return the string name of this object.
! DtVector3D is a vector in earth-relative coordinates, e.g.
Definition: scriptGeometry.h:157
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
std::string myAnimationModelFile
Definition: scriptAnimationModel.h:137
Definition: scriptVrfObject.h:24
A location3D is a point in space, i.e. a geocentric coordinate.
Definition: scriptGeometry.h:22