Public Member Functions |
| | DtVrfPointManipulationHandler (makVrv::DtDe &) |
| virtual | ~DtVrfPointManipulationHandler () |
| virtual bool | isTextBox () const |
| virtual void | setLabel (const std::string &) |
| | Sets label of item. Default is no-op.
|
| virtual void | setExtendedLabels (const std::map< int, DtString > &) |
| virtual std::string | label () const |
| virtual void | setFormattingData (const std::string &) |
| virtual std::string | formattingData () const |
| virtual void | setForce (int) |
| | Sets the force of the object.
|
| virtual bool | canChangePositionOnly () const |
| virtual HandlerType | type () const |
| | The type of handler. Used to see if two handler are equivalent.
|
| virtual void | setGroundClampOnPlacement (bool b) |
| | If set, then placed on terrain, ground clamp. Default is false.
|
| virtual bool | groundClampOnPlacement () const |
Public Member Functions inherited from makVrf::DtVrfObjectManipulationHandlerBaseClass |
| | DtVrfObjectManipulationHandlerBaseClass (makVrv::DtDe &) |
| virtual | ~DtVrfObjectManipulationHandlerBaseClass () |
| virtual bool | createObject (const DtEntityType &entType, int force, DtCreationSignalType creationSignal=DtNoCreationSignal, const std::string &keywords="") |
| | Starts the process of object creation.
|
| virtual bool | createObject (const DtString &key, const DtString &associatedData, DtCreationSignalType creationSignal=DtNoCreationSignal, const std::string &keywords="") |
| | Starts the process of terrain prop creation.
|
| virtual void | editSelectedObjects (const makVrv::DtUniqueID &editId, makVrv::DtChannel &initiatingChannel, double waitTimeAfterComplete=0., const makVrv::DtSelectionManager::IdSet &editing=makVrv::DtSelectionManager::IdSet()) |
| | Starts the process of object editing.
|
| int | force () const |
| virtual void | setInterfaceContentMessage (const std::string &name, const DtSimInterfaceContent &) |
| | Sets an interface content message to be sent during create.
|
| virtual void | removeInterfaceContentMessage (const std::string &) |
| const ContentMessages & | contentMessages () const |
virtual std::list
< DtSimInterfaceContent * > | contentMessagesToList () const |
| virtual void | sendContentMessages () |
| virtual void | setAllowCreationOnMouseClick (bool flag) |
| virtual bool | allowCreationOnMouseClick () const |
| virtual void | setEventProcessor (DtVrfObjectManipulationEventProcessor *) |
| | Call before editing or creating to set the event processor.
|
| virtual DtVector | clampToGround (const DtVector &) const |
| virtual DtGeodeticCoord | clampToGround (const DtGeodeticCoord &) const |
| virtual void | setAttachObjectToMouse (bool) |
| virtual bool | attachObjectToMouse () const |
| virtual void | setHeading (double value) |
| virtual double | heading () const |
| virtual void | setLocation (const DtVector &loc) |
| virtual void | setLocation (const DtVector &loc, double altAboveGround) |
| virtual void | stop () |
| | Stop an ongoing creation process.
|
| virtual void | deferredStop () |
| | Stops on a post tick callback.
|
| virtual bool | createVrfObject () |
| virtual bool | modifyVrfObjects () |
| virtual void | initializeEventProcessor () |
| virtual void | setOverlay (const std::string &name) |
| virtual const std::string & | overlay () const |
| virtual std::string | defaultOverlayForCreatingObject () const |
| virtual std::string | getNextCreatingName (bool includeCurrent=false) |
| virtual void | setAltitudeAboveGL (double alt, bool setInProcessor=true) |
| virtual void | setAltitudeAboveSL (double alt, bool setInProcessor=true) |
| virtual void | setAltitudeClampType (DtAltitudeClampType type) |
| void | setCreating (bool b) |
| bool | creating () const |
virtual
DtVrfObjectFacadeInterface * | principalObjectImage () const |
| virtual makVrv::DtUniqueID | principalObjectID () const |
| virtual void | setUserData (const std::string &userData) |
| virtual const std::string & | userData () const |
virtual const std::map< int,
DtString > & | extendedLabels () const |
| virtual void | setExtendedDataMap (const std::map< std::string, std::string > &extendedData) |
| virtual void | setExtendedDataMap (const std::map< DtString, DtString > &extendedData) |
virtual const std::map
< std::string, std::string > & | extendedDataMap () const |
| virtual void | setExtendedData (const std::string &key, const std::string &value) |
| virtual void | removeExtendedData (const std::string &key) |
| virtual std::string | extendedData (const std::string &key) const |
| virtual void | slot_onComplete () |
| virtual void | slot_onPlace (makVrv::DtUniqueID, const DtVector &, double altAboveGround) |
| virtual void | slot_onEditComplete (makVrv::DtUniqueID, const DtVector &, double altAboveGround) |
| virtual void | slot_onLocationChanged (const DtVector &location, double altAboveGround) |
| virtual void | slot_onAltitudeIsDragging (bool) |
| virtual void | hideObject (const makVrv::DtUniqueID &id, bool hide) |
| virtual void | setPublishObject (bool) |
| | Set whether or not to publish object. Default is true.
|
| virtual bool | publishObject () const |
| virtual void | setObjectName (const std::string &name) |
| virtual bool | isUniqueName () const |
| | Returns true if the specified name is unique as set.
|
| virtual double | groundHeight (const DtVector &localPosition, DtVector *localGround=0) const |
| | find the height of the ground (ENU coordinate system) at localPosition (DB coordinates).
|
| virtual void | setAltitudeAllowed (bool) |
| bool | altitudeAllowed () const |
| virtual const std::string & | objectName () const |
| virtual bool | anchorMouseToOrigin () const |
| | If true (default is false) will anchor the position of the mouse to the origin of the object when editing.
|
| virtual bool | anchorPositionIsMouse () const |
| | If false (default is true) will have the anchor position be the principal object. By default it is the mouse position.
|
| virtual DtVector | localLocation () |
| | location + altitude
|
| virtual DtVector | convertGeocentricToGround (const DtVector &geoc, double &altitude) const |
| virtual void | setShowPropertiesDialogBeforeCreate (bool) |
| virtual bool | showPropertiesDialogBeforeCreate () const |
| virtual bool | keywordsContain (const std::string &) const |
| | Return true if the list of keywords contains the specified one.
|
| virtual std::string | keyword (const std::string &) const |
| virtual std::string | value (const std::string &) const |
| virtual bool | waitingToStop () const |
| virtual void | setEditingType (DtEditingType) |
| DtEditingType | editingType () const |
virtual std::vector
< makVrv::DtElementID > | ignoreList () const |
| | Returns the list of IDs current being used to prevent usage in intersections.
|
| virtual void | cancel () |
| | Cancels any current work. Default calls slot_onCancel.
|
| virtual void | setFacadesVisible (bool) |
| | Sets whether or not facades are visible.
|
| virtual bool | noStyle () const |
| | Return true if the item should not show the style button.
|
| virtual DtVector | centerOfMass () const |
| | Returns center of mass of all objects created (in geocentric)
|
| virtual void | updateOffsetsBasedOnMousePosition (const DtVector ¢erOfMass, const DtGeodeticCoord &) |
| | Reset objects based on new center.
|
| virtual void | setSignalOnMultiSelectionComplete (bool) |
| | Set signal on multi selection complete.
|
| virtual void | setSelectionCount (int) |
| | Sets the count of items "selected".
|
Protected Member Functions |
| virtual bool | createVrfObject (DtVrfObjectFacadeInterface *) |
| virtual bool | modifyVrfObject (DtVrfObjectFacadeInterface *) |
virtual
DtVrfObjectFacadeInterface * | createLocalRepresentation (DtVrlinkSimulatedBaseStateView *editStateView=0) |
| | returns object if successful, otherwise NULL
|
virtual
DtVrfObjectFacadeInterface * | createLocalRepresentation (DtVrlinkSimulatedBaseStateView *editStateView, makVrv::DtUniqueID sceneObjectId, DtVrlinkSimulatedBaseStateView *principalStateView) |
| virtual bool | typeIsValidForEditingByHandler (const makVrv::DtElementEntry::ElementType &, const DtEntityType &) const |
| | Override to not allow a particular element type to be editable. By default all are.
|
| virtual void | postCreateInitialize () |
| virtual bool | clampOnPlacement () const |
| | Return true to clamp object when placed on terrain regardless of altitude set.
|
| virtual bool | clampAtClosestPolygonOnPlacement () const |
| | Return true to keep the placement at closest polygon level regardless of height above terrain. Default is false.
|
| virtual void | slot_onAltitudeChanged (const DtVector &v, double altitude) |
| | Set clamp to ground on placement as false if this changes. Means the user does want to place the object at some height above or below the terrain.
|
Protected Member Functions inherited from makVrf::DtVrfObjectManipulationHandlerBaseClass |
| virtual void | slot_simObjectEntryToBeRemoved (const makVrv::DtSimObjectEntry &) |
| | Called when a sim object entry is removed. If we are editing this entry then cancel this process.
|
| virtual void | slot_onHeadingChanged (double heading) |
| virtual void | slot_onCancel (bool escPressed) |
| virtual std::string | stripNumbers (const std::string &base) const |
| virtual void | warpMouseToLocation (makVrv::DtChannel *channel, const DtVector &location) const |
| virtual void | initializeEdit () |
| | Initializes editing of objects.
|
| virtual void | slot_onPrincipalStateViewUpdated (DtVrlinkSimulatedBaseStateView *principalStateView, const makVrv::DtUniqueID &principalSceneObjectId) |
| virtual void | slot_onStateViewUpdated (DtVrlinkSimulatedBaseStateView *editStateView, makVrv::DtUniqueID sceneObjectId, DtVrlinkSimulatedBaseStateView *principalStateView) |
| virtual bool | centerOn (const makVrv::DtUniqueID &id, DtVector *centerPos=0, const DtVector *centerHere=0, bool centerOnOnlyIfMousePositionIsOffWindow=true) const |
| | If centerHere is non-null use that geocentric value as the center point.
|
| virtual void | setObjectImageAsAnchor (DtVrfObjectFacadeInterface *objectImage, const DtVector &geocLocation, bool resetOrigin=false) |
| virtual void | setHeading (DtVrfObjectFacadeInterface *objectImage, double heading) |
| virtual std::string | defaultOverlayFor (const DtRwNLengthStringVector &) const |
| virtual void | setObjectImageRelativeToPrincipal (DtVrfObjectFacadeInterface *objectImage, const DtVector &thisGeocLocation, const DtTaitBryan &thisGeocOrientation, const DtVector &prGeocLocation, const DtTaitBryan &prGeocOrientation) |
| virtual void | setObjectImageRelativeTo (DtVrfObjectFacadeInterface *objectImage, const DtVector &thisGeocLocation, const DtVector &prGeocLocation, bool relativeOnly=false) |
| | If relativeOnly is true, do not set new origin – only set the fact that the image is relate to the prGeocLocation given.
|
| virtual void | setObjectImageRelativeToAltitudeOnly (DtVrfObjectFacadeInterface *objectImage, const DtVector &thisGeocLocation, const DtVector &prGeocLocation) |
| | Sets relative by altitude on – x/y location is the same.
|
| virtual void | initializeInterfaceForEdit (DtVrfObjectFacadeInterface *, makVrv::DtUniqueID, const makVrv::DtVrlinkSimulatedBaseState &, const DtVector &principalLocation, const DtTaitBryan &principalOrientation) |
| virtual void | calculateAnchor (const DtVector &localAnchor) |
| virtual void | calculateAnchorBasedOnMousePosition (makVrv::DtChannel &channel) |
| virtual void | parseKeywords (const std::string &) |
| virtual void | updateOffsetsBasedOnMousePosition () |
| | Will go through all objects and update their current origins based on the mouse position.
|
The Master Scenario Settings Dialog.