![]() |
VR-Forces Developer's Guide
|
Converter that will convert to/from DtRWSphere.

Public Member Functions | |
| virtual DtReaderWriter * | toRwPtr (const DtScriptedTaskVariable &) const override |
| virtual std::string | fromRwPtr (const DtReaderWriter *) const override |
| virtual DtString | convertToString (const DtSphere &) const |
| virtual DtString | stringRep (const DtReaderWriter *) const override |
Public Member Functions inherited from DtScriptedTaskVariableConverter | |
| virtual bool | upgradeFromVariable (DtReaderWriter *toUpgradeTo, const DtReaderWriter *originalValue) const |
| virtual void | upgradeVariable (DtReaderWriter *) const |
Additional Inherited Members | |
Public Types inherited from DtScriptedTaskVariableConverter | |
| typedef DtString(* | ResourceFormatterFcn )(const DtEntityType &) |
Static Public Member Functions inherited from DtScriptedTaskVariableConverter | |
| static DtString | formatOffset (const DtVector &loc) |
| static DtString | formatTime (int time) |
| static DtString | formatDateTime (time_t time) |
| static DtString | formatLocation (const DtVector &loc) |
| static DtString | formatSphere (const DtSphere &loc) |
| static DtString | formatDistance (double d) |
| static DtString | formatHeading (double d) |
| static DtString | formatRate (double d) |
| static DtString | formatAltitudeRate (double d) |
| static DtString | formatTurnRate (double d) |
| static DtString | formatAltitude (double d) |
| static ResourceFormatterFcn | SetResourceFormatterFcn (ResourceFormatterFcn) |
| static DtString | formatResource (const DtEntityType &) |
| static DtString | formatResource (const std::string &) |
|
overridevirtual |
Converts from the given scripted task variable to a DtReaderWriter variable that represents it.
Implements DtScriptedTaskVariableConverter.
|
overridevirtual |
Converts from the reader/writer variable to a std::string that will be used as the default value for converting scripted task variable.
Implements DtScriptedTaskVariableConverter.
|
virtual |
Converts from vector to parsable string in toRwPtr.
|
overridevirtual |
Returns string representation.
Implements DtScriptedTaskVariableConverter.