14 #include <boost/shared_ptr.hpp>
18 #ifdef DtObjectDebugger_Enable
37 virtual void setAnimationModelFile(
const std::string& );
38 virtual const std::string& animationModelFile()
const;
41 virtual void setTimeScale(
double );
42 virtual double timeScale()
const;
46 virtual void setFrameTime(
double );
47 virtual double frameTime()
const;
50 virtual int numAnimationFrames()
const;
53 virtual void setClampType(
int );
54 virtual int clampType()
const;
57 virtual void setCompletionRule(
int );
58 virtual int completionRule()
const;
62 virtual void setSpeedNegated(
bool negateSpeeds );
63 virtual bool isSpeedNegated()
const;
66 virtual void init(
void* userData );
72 virtual void setTimeDeltaFromPreviousRow(
int forRow,
double timeDelta );
76 virtual void setTransitionSpeed(
double );
79 virtual double transitionSpeed()
const;
82 virtual void setAnimationFrame(
int );
85 virtual int animationFrame()
const;
89 return mySharedObject;
93 virtual double elapsedAnimationTime()
const;
96 virtual bool isFinished()
const;
102 virtual int addAnimationRow(
double deltaTime,
double lateral,
double range,
double altitude,
103 double headingOffset = 0,
double pitchOffset = 0,
double rollOffset = 0);
106 virtual double speed(
int)
const;
112 virtual void orientation(
int frame,
double& heading,
double& pitch,
double& roll)
const;
115 virtual DtVector3D rotationalVelocity(
int)
const;
142 virtual void reset();
const DtSimulationServices * mySimulationServices
Definition: scriptAnimationModel.h:145
Definition: scriptAnimationModel.h:16
DtAnimationModel myAnimationModel
Definition: scriptAnimationModel.h:147
boost::shared_ptr< DtScriptOwnshipObject > mySharedObject
Definition: scriptAnimationModel.h:146
Definition: asciiSerializable.h:38
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:76
#define DT_DEFINE_OBJECT_DEBUGGER_NAME(type)
Definition: objectCounter.h:31
Default on in debug, off in release.
Definition: objectCounter.h:27
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: '|', ':'.
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
The DtAnimationModel class will contain the interface allow for animated movement via an external fil...
Definition: animationModel.h:31
virtual DtString objectType() const =0
Should return the string name of this object. The object name should not be part of the serialization...
DtVector3D is a vector in earth-relative coordinates, e.g. east-north or heading-range. Its direction in space depends on where on the earth it is attached (like topocentric coordinates).
Definition: scriptGeometry.h:157
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:94
The "this" version is the own-ship object. It is separated to allow special functions for the ownshi...
Definition: scriptVrfObject.h:402
boost::shared_ptr< DtScriptOwnshipObject > ownshipObject() const
Script API functions. ////////////////////////////////////!
Definition: scriptAnimationModel.h:87
std::string myAnimationModelFile
Definition: scriptAnimationModel.h:148
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86
A location3D is a point in space, i.e. a geocentric coordinate.
Definition: scriptGeometry.h:22