13 #include <boost/shared_ptr.hpp>
34 virtual void setAnimationModelFile(
const std::string&);
35 virtual const std::string& animationModelFile()
const;
38 virtual void setTimeScale(
double);
39 virtual double timeScale()
const;
43 virtual void setFrameTime(
double);
44 virtual double frameTime()
const;
47 virtual int numAnimationFrames()
const;
50 virtual void setClampType(
int);
51 virtual int clampType()
const;
54 virtual void setCompletionRule(
int);
55 virtual int completionRule()
const;
58 virtual void init(
void* userData);
61 virtual void setTimeDeltaFromPreviousRow(
int forRow,
double timeDelta);
65 virtual void setTransitionSpeed(
double);
68 virtual double transitionSpeed()
const;
71 virtual void setAnimationFrame(
int);
74 virtual int animationFrame()
const;
77 virtual double elapsedAnimationTime()
const;
80 virtual bool isFinished()
const;
86 virtual int addAnimationRow(
double deltaTime,
double lateral,
double range,
double altitude,
87 double headingOffset = 0,
double pitchOffset = 0,
double rollOffset = 0);
90 virtual double speed(
int)
const;
96 virtual void orientation(
int frame,
double& heading,
double& pitch,
double& roll)
const;
99 virtual DtVector3D rotationalVelocity(
int)
const;
129 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:134
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:69
#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:133
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtSimManager * mySimManager
Definition: scriptAnimationModel.h:132
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:155
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
std::string myAnimationModelFile
Definition: scriptAnimationModel.h:135
Definition: scriptVrfObject.h:24
A location3D is a point in space, i.e. a geocentric coordinate.
Definition: scriptGeometry.h:22