![]() |
VR-Forces 4.1.1 Class Documentation
|
class DtIfModifyVrfObject: More...

Public Member Functions | |
| DtIfModifyVrfObject () | |
| default constructor | |
| virtual | ~DtIfModifyVrfObject () |
| destructor | |
| DtIfModifyVrfObject (const DtIfModifyVrfObject &orig) | |
| copy constructor | |
| DtIfModifyVrfObject & | operator= (const DtIfModifyVrfObject &orig) |
| assignment operator | |
| virtual DtSimInterfaceContent * | clone () const |
| Returns a newly created instance of a DtIfModifyVrfObject. | |
| virtual int | type () const |
| Returns the string type of message, DtModifyVrfObjectMessageType (defined in msgTypes.h). | |
| virtual void | setObjectIdentifier (const DtEntityIdentifier &objectIdentifier) |
| Set/get object identifier of the vrf object to modify. | |
| virtual const DtEntityIdentifier & | objectIdentifier () const |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) |
| virtual bool | isNameSpecified () |
| Accessors for the value specified flags. | |
| virtual bool | isObjectTypeSpecified () |
| virtual bool | isForceTypeSpecified () |
| virtual bool | isObjectLabelSpecified () |
| virtual bool | isHeadingSpecified () |
| virtual bool | isClosedFigureSpecified () |
| virtual bool | isProjectionSpecified () |
| virtual bool | isObjectGeometrySpecified () |
| virtual bool | isAppearanceSpecified () |
| virtual bool | isOverlayParentSpecified () |
| virtual bool | isUserDataSpecified () |
| virtual void | setObjectName (const DtString &objectName) |
| All the mutators from DtIfCreateVrfObject are overridden here so that the value specified flags can be set. | |
| virtual void | setObjectType (const DtObjectType &objectType) |
| Set the object type of the vrf object to create. | |
| virtual void | setForceType (const DtForceType forceType) |
| Set the force type of the vrf object to create. | |
| virtual void | setObjectLabel (const DtString &objectLabel) |
| Set the object label of the vrf object to create. | |
| virtual void | setPosition (const DtVector &position) |
| In local (database) coordinates. | |
| virtual void | setOverlayParent (const DtString &overlayParent) |
| Sets the overlay parent of this object. | |
| virtual const DtString & | overlayParent () const |
| virtual void | setHeading (DtReal heading) |
| 0 is north, clockwise, in radians. | |
| virtual void | addVertex (const DtVector &vertex) |
| This is where the actually object geometry goes position() is just an alias for the first vertex. | |
| virtual void | setProjection (bool projection) |
| Do the Z elements of the vectors in the vertex list have meaning? | |
| virtual void | setClosedFigure (bool closedFigure) |
| Does the last vertex connect back to the first? Obviously, this is undefined for a single vertex (but I suppose an argument could be made for that being a closed figure...) | |
| virtual void | setAppearance (const DtAppearance &appearance) |
| Appearance. | |
| virtual void | setUserData (const DtString &userData) |
| void | setStartPosition (const DtVector &position) |
| These are here for back compatibility and should be removed after the next release. | |
| void | setEndPosition (const DtVector &position) |
| void | setName (const DtString &name) |
Public Member Functions inherited from DtIfCreateVrfObject | |
| DtIfCreateVrfObject () | |
| default constructor | |
| virtual | ~DtIfCreateVrfObject () |
| destructor | |
| DtIfCreateVrfObject (const DtIfCreateVrfObject &orig) | |
| copy constructor | |
| DtIfCreateVrfObject & | operator= (const DtIfCreateVrfObject &orig) |
| assignment operator | |
| virtual unsigned long | requestId () const |
| Set/get the request Id for the message. | |
| virtual void | setRequestId (unsigned long requestId) |
| virtual void | setVrfProcessAddress (const DtSimulationAddress &address) |
| Set/get the address of the VR-Forces process that we want to create the new vrf object. | |
| virtual const DtSimulationAddress & | vrfProcessAddress () const |
| virtual const DtString & | objectName () const |
| virtual const DtObjectType & | objectType () const |
| virtual DtForceType | forceType () const |
| virtual const DtString & | objectLabel () const |
| virtual const DtVector & | position () const |
| In geocentric coordinates. | |
| virtual DtReal | heading () const |
| 0 is north, clockwise, in radians. | |
| virtual const std::vector < DtVector > & | vertexList () const |
| This is where the actually object geometry goes position() is just an alias for the first vertex. | |
| virtual const DtList & | vertices () const |
| Backwards compatible access to vertexList. | |
| virtual bool | projection () const |
| Do the Z elements of the vectors in the vertex list have meaning? | |
| virtual bool | closedFigure () const |
| Does the last vertex connect back to the first? Obviously, this is undefined for a single vertex (but I suppose an argument could be made for that being a closed figure...) | |
| virtual const DtAppearance & | appearance () |
| Appearance. | |
| virtual bool | createSubObjects () const |
| Create SubObjects. | |
| virtual void | setCreateSubObjects (bool createSubObjects) |
| virtual bool | addToOrganization () const |
| If True (the default) and the object being created is an orgainzed object type (as specified by the is-organized flag in the OPD file), the newly created object will be added to the organization manager directly below the force level aggregate of this object's force. | |
| virtual void | setAddToOrganization (bool addToOrg) |
| virtual bool | clampToGround () const |
| If True (the default) the object will be created and placed on the nearest polygon. | |
| virtual void | setClampToGround (bool clamp) |
| virtual DtAggregateState | initialAggregateState () const |
| Set/get the initial aggregate state when creating an aggregate. | |
| virtual void | setInitialAggregateState (DtAggregateState aggregateState) |
| virtual std::list < DtAdminContent * > * | initialAdminContent () |
| Set any Admin Content messages passed on initialization. | |
| virtual void | setInitialAdminContent (std::list< DtAdminContent * > adminContent) |
| virtual void | addInitialAdminContent (DtAdminContent *adminContent) |
| virtual std::list < DtSimInterfaceContent * > * | initialInterfaceContent () |
| Set any Interface Content messages passed on initialization. | |
| virtual void | setInitialInterfaceContent (std::list< DtSimInterfaceContent * > adminContent) |
| virtual void | addInitialInterfaceContent (DtSimInterfaceContent *adminContent) |
| const DtVector & | startPosition () const |
| const DtVector & | endPosition () const |
| const DtString & | name () const |
| virtual DtString | userData () const |
| virtual DtString | initialFormation () const |
| The formation name to set when creating an aggregate. | |
| virtual void | setInitialFormation (const DtString &formation) |
| The formation name to set when creating an aggregate. | |
| virtual bool | publishObject () const |
| Sets whether or not to publish the object on the network once created. | |
| virtual void | setPublishObject (bool) |
| Sets whether or not to publish the object on the network once created. | |
Public Member Functions inherited from DtSimInterfaceContent | |
| virtual | ~DtSimInterfaceContent () |
| virtual bool | update (const DtSimInterfaceContent *data) |
| virtual char * | netRep () |
| virtual void | setUseSessionId (bool yesNo) |
| virtual bool | useSessionId () const |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Additional Inherited Members | |
Protected Member Functions inherited from DtIfCreateVrfObject | |
| void | copyList (const DtList &fromList) |
| Note that these next two methods are not virtual. | |
| void | emptyList () |
| Clean the list out. | |
Static Protected Attributes inherited from DtSimInterfaceContent | |
| static DtInterfaceContentFactory * | myFactory |
class DtIfModifyVrfObject:
Instances of DtIfModifyVrfObject are the message content for modify vrf object messages. The purpose of this message is to directly modify a DtVrfObject. For example, if you want to modify a control object’s label, or add a vertex to its object geometry, you would send this message. Do not send this message to modify the object name of organized entities (objects configured with an Organization Manager). Go through the object’s organization manager instead.
Content-Type: DtModifyVrfObjectMessageType
Parameters: object type: The DtObjectType of the object created.
global Id: The DtGlobalObjectDesignator of the object created.
object identifier: The object’s DtEntityIdentifer (site id: app id: object num).
vertices: The DtList of vertices in database coordinates, that make up the object’s geometry.
object name: The object’s unique DtString name.
object label: A DtString label associated with the object (not required to be unique).
force type: The DtForceType of the object (from disEnums.h).
closed figure: A bool flag indicating whether vertices making up the object’s geometry form a closed figure or not.
projection: A bool flag indicating whether the object’s geometry is projected (the z-coordinate is meaningless).
overlay parent: The overlay this object belongs to.
| DtIfModifyVrfObject::DtIfModifyVrfObject | ( | ) |
default constructor
|
virtual |
destructor
| DtIfModifyVrfObject::DtIfModifyVrfObject | ( | const DtIfModifyVrfObject & | orig | ) |
copy constructor
| DtIfModifyVrfObject& DtIfModifyVrfObject::operator= | ( | const DtIfModifyVrfObject & | orig | ) |
assignment operator
|
virtual |
Returns a newly created instance of a DtIfModifyVrfObject.
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Returns the string type of message, DtModifyVrfObjectMessageType (defined in msgTypes.h).
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Set/get object identifier of the vrf object to modify.
|
virtual |
|
virtual |
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Reimplemented from DtIfCreateVrfObject.
|
static |
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Accessors for the value specified flags.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
All the mutators from DtIfCreateVrfObject are overridden here so that the value specified flags can be set.
Set the object name of the vrf object to create.
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Set the object type of the vrf object to create.
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Set the force type of the vrf object to create.
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Set the object label of the vrf object to create.
Reimplemented from DtIfCreateVrfObject.
|
virtual |
In local (database) coordinates.
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Sets the overlay parent of this object.
|
virtual |
|
virtual |
0 is north, clockwise, in radians.
Reimplemented from DtIfCreateVrfObject.
|
virtual |
This is where the actually object geometry goes position() is just an alias for the first vertex.
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Do the Z elements of the vectors in the vertex list have meaning?
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Does the last vertex connect back to the first? Obviously, this is undefined for a single vertex (but I suppose an argument could be made for that being a closed figure...)
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Appearance.
Reimplemented from DtIfCreateVrfObject.
|
virtual |
Reimplemented from DtIfCreateVrfObject.
| void DtIfModifyVrfObject::setStartPosition | ( | const DtVector & | position | ) |
These are here for back compatibility and should be removed after the next release.
Reimplemented from DtIfCreateVrfObject.
| void DtIfModifyVrfObject::setEndPosition | ( | const DtVector & | position | ) |
Reimplemented from DtIfCreateVrfObject.
| void DtIfModifyVrfObject::setName | ( | const DtString & | name | ) |
Reimplemented from DtIfCreateVrfObject.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |