![]() |
VR-Forces 4.10 Class Documentation
|
Class Description: DtVrfEngineeringObjectStateRecord implements a form of an environmental state record not explicitly defined in the standard, but used in MaK applications. More...

Public Member Functions | |
| DtVrfEngineeringObjectStateRecord () | |
| Default Constructor. More... | |
| DtVrfEngineeringObjectStateRecord (const DtObjectType &objectType) | |
| Constructor. More... | |
| DtVrfEngineeringObjectStateRecord (const DtVrfEngineeringObjectStateRecord &orig) | |
| Copy Constructor. More... | |
| const DtVrfEngineeringObjectStateRecord & | operator= (const DtVrfEngineeringObjectStateRecord &orig) |
| Assignment Operator. More... | |
| virtual | ~DtVrfEngineeringObjectStateRecord () |
| Destructor. More... | |
| virtual void | setPercentComplete (DtU16 perComp) |
| Clone. Return a copy of this instance. More... | |
| virtual DtU16 | percentComplete () const |
| virtual void | setOrientation (const DtTaitBryan &orientation) |
| Set/get orientation. More... | |
| virtual const DtTaitBryan & | orientation () const |
| virtual bool | createNetworkRepresentation () |
| This doesn't need to be called explicitly. More... | |
| virtual DtNetEngineeringObjectStateRecord * | pointerToNetEngObjRec () const |
| returns the network representation of the environmental record More... | |
| virtual int | netRepSize () const |
Public Member Functions inherited from DtSimEnvironmentalObjectStateRecord | |
| DtSimEnvironmentalObjectStateRecord () | |
| DtSimEnvironmentalObjectStateRecord (const DtObjectType &objectType) | |
| DtSimEnvironmentalObjectStateRecord (const DtSimEnvironmentalObjectStateRecord &orig) | |
| Copy constructor. More... | |
| const DtSimEnvironmentalObjectStateRecord & | operator= (const DtSimEnvironmentalObjectStateRecord &orig) |
| virtual | ~DtSimEnvironmentalObjectStateRecord () |
| virtual DtEnvironmentalRecord * | clone () const |
| virtual void | setObjectType (const DtObjectType &objectType) |
| virtual void | setAppearance (const DtAppearance &appearance) |
| virtual const DtAppearance & | appearance () const |
| virtual void | setForceType (DtForceType forceType) |
| virtual DtForceType | forceType () const |
| virtual void | setColor (int color) |
| virtual int | color () const |
| virtual void | setVrfObjectName (const DtString &label) |
| virtual const DtString & | vrfObjectName () const |
| virtual void | setParent (const DtString &parent) |
| virtual const DtString & | parent () const |
| virtual void | setUserData (const DtString &userData) |
| virtual const DtString & | userData () const |
| virtual bool | setNumberOfSubordinates (int newNumberOfSubordinates) |
| virtual int | numberOfSubordinates () const |
| virtual bool | setSubordinate (int index, const DtGlobalObjectDesignator &subID) |
| virtual bool | getSubordinate (int index, DtGlobalObjectDesignator &subID) const |
| virtual const DtGlobalObjectDesignatorList & | subordinates () const |
| virtual DtGlobalObjectDesignatorList & | subordinates () |
| const DtNetEnvironmentalObjectStateRecord * | objStateNetRep () const |
| DtNetEnvironmentalObjectStateRecord * | objStateNetRep () |
| virtual void | setFromNet (const DtNetEnvironmentalRecord &buffer, int protocolVersion) |
| virtual void | setHostGlobalId (const DtGlobalObjectDesignator &) |
| virtual const DtGlobalObjectDesignator & | hostGlobalId () const |
| virtual void | setRelativeLocation (const DtVector &) |
| If attached to an entity, the relative position (in body coordinates) of this object from the origin of the attached object. More... | |
| virtual const DtVector & | relativeLocation () const |
| virtual void | clearHostGlobalId () |
| virtual void | setProjected (bool) |
| virtual bool | projected () const |
| virtual void | setClosedFigure (bool) |
| virtual bool | closedFigure () const |
| virtual void | setBound2D (bool) |
| virtual bool | bound2D () const |
| virtual void | setFillStyle (int) |
| For those objects that support it. Note that point objects do not make use of these items. More... | |
| virtual int | fillStyle () const |
| virtual void | setLineStyle (int) |
| virtual int | lineStyle () const |
| virtual void | setLineWidth (int) |
| virtual int | lineWidth () const |
| virtual void | setPhysicalLineHeight (double) |
| Height of the line, in meters. When added to the altitude, can be considered a ceiling. More... | |
| virtual double | physicalLineHeight () const |
| virtual void | setPhysicalLineWidth (double) |
| Width of the line, in meters. Different than "lineWidth" which is more of a stylistic representation. More... | |
| virtual double | physicalLineWidth () const |
| virtual void | setVelocity (const DtVector &) |
| Unused at this point – left for future possible expansion for movable/rotatable environmentals { More... | |
| virtual const DtVector & | velocity () const |
| virtual void | setAcceleration (const DtVector &) |
| virtual const DtVector & | acceleration () const |
| virtual void | setDRAlogrithm (DtDeadReckonTypes) |
| virtual const DtDeadReckonTypes & | drAlgorithm () const |
| virtual void | setOffsetPoints (const std::vector< DtVector > &) |
| virtual const std::vector < DtVector > & | offsetPoints () const |
Protected Attributes | |
| DtTaitBryan | myOrientation |
Protected Attributes inherited from DtSimEnvironmentalObjectStateRecord | |
| DtGlobalObjectDesignatorList | mySubordinates |
| DtAppearance | myAppearance |
| DtString | myLabel |
| DtString | myParent |
| int | myColor |
| DtForceType | myForceType |
| DtGlobalObjectDesignator | myHostGlobalId |
| DtString | myUserData |
| int | myVersion |
| double | myPhysicalLineHeight |
| double | myPhysicalLineWidth |
| int | myNetRepSize |
| DtVector | myRelativeLocation |
| std::vector< DtVector > | myOffsetPoints |
| DtVector | myVelocity |
| DtVector | myAcceleration |
| DtDeadReckonTypes | myDRAlgorithm |
Additional Inherited Members | |
Protected Member Functions inherited from DtSimEnvironmentalObjectStateRecord | |
| virtual bool | resizeNetRep (int newSize) |
| virtual void * | pointerToLabel () const |
| virtual void * | pointerToParent () const |
| virtual void * | pointerToSubordinates () const |
| virtual void * | pointerToUserData () const |
| virtual void * | pointerToOffsetPoints () const |
| DtSimEnvironmentalObjectStateRecord * | self () const |
| virtual void | reworkStateRepForVersion (int bytesToCopy, int iVersion) |
Class Description: DtVrfEngineeringObjectStateRecord implements a form of an environmental state record not explicitly defined in the standard, but used in MaK applications.
It contains the percent completion for the object
| DtVrfEngineeringObjectStateRecord::DtVrfEngineeringObjectStateRecord | ( | ) |
Default Constructor.
To function properly, the state record should be initialized with an entity type. If you don't know it yet at creation time, you can use this constructor; but call setEntityType() before using the appearance accessors. Default Constructor. Do not use.
| DtVrfEngineeringObjectStateRecord::DtVrfEngineeringObjectStateRecord | ( | const DtObjectType & | objectType | ) |
Constructor.
| DtVrfEngineeringObjectStateRecord::DtVrfEngineeringObjectStateRecord | ( | const DtVrfEngineeringObjectStateRecord & | orig | ) |
Copy Constructor.
|
virtual |
Destructor.
| const DtVrfEngineeringObjectStateRecord& DtVrfEngineeringObjectStateRecord::operator= | ( | const DtVrfEngineeringObjectStateRecord & | orig | ) |
Assignment Operator.
|
virtual |
Clone. Return a copy of this instance.
Percent Completion of the object.
|
virtual |
|
virtual |
Set/get orientation.
|
virtual |
|
virtual |
This doesn't need to be called explicitly.
If any routine that needs the repository finds that it hasn't been created yet, it calls this method.
Reimplemented from DtSimEnvironmentalObjectStateRecord.
|
virtual |
returns the network representation of the environmental record
DtNetEngineeringObjectStateRecord* engObjStateNetRep(); used by the PDU class to fill in the network representation
|
virtual |
Reimplemented from DtSimEnvironmentalObjectStateRecord.
|
protected |