|
| | DtVrfEntityManipulationHandler (makVrv::DtDe &) |
| |
| virtual | ~DtVrfEntityManipulationHandler () |
| |
| virtual void | setForce (int f) |
| | Sets the force of the object. More...
|
| |
| virtual void | setLabel (const std::string &) |
| | Sets label of item. Default is no-op. More...
|
| |
| virtual std::string | label () const |
| |
| virtual void | setExtendedLabels (const std::map< int, DtString > &) |
| |
| virtual HandlerType | type () const |
| | The type of handler. Used to see if two handler are equivalent. More...
|
| |
| virtual bool | clampAtClosestPolygonOnPlacement () const |
| | Return true to keep the placement at closest polygon level regardless of height above terrain. Default is false. More...
|
| |
| virtual bool | canSetActivationTime () const |
| | Returns true if activation time can be set. More...
|
| |
| virtual bool | needsEmbarkOnCheck () const |
| | Return true if this needs to check whether or not this object can embark on another object. Default is false. More...
|
| |
| virtual void | setVisualMarking (const std::string &linkageName, const std::string &value) |
| |
virtual std::map< std::string,
std::string > | markingDecalMap () 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. More...
|
| |
| virtual bool | createObject (const DtString &key, const DtString &associatedData, DtCreationSignalType creationSignal=DtNoCreationSignal, const std::string &keywords="") |
| | Starts the process of terrain prop creation. More...
|
| |
| 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. More...
|
| |
| virtual bool | canShowForces () const |
| | Whether or not the force can be changed. More...
|
| |
| int | force () const |
| |
| virtual void | monitorObjectRemoval (bool) |
| | Whether or not to monitor the removal of objects being edited. More...
|
| |
| virtual void | setEventProcessingEnabled (bool value) |
| | Sets whether or not event processing is enabled. If not enable mouse events will not be handled. More...
|
| |
| virtual void | clearEventProcessor () |
| | Deletes the event processor. Once cleared you must set your own to get it back. More...
|
| |
| virtual bool | embarkationAllowed () const |
| | Returns whether or not embarkation by this object is allowed. More...
|
| |
| virtual void | setEmbarkationAllowed (bool) |
| |
| virtual bool | canEmbark () const |
| | Returns true as to whether or not this item can even be allowed to embark in general. More...
|
| |
| virtual void | setCanEmbark (bool) |
| | Override setting of whether or not can embark by data. More...
|
| |
| virtual void | setDoNotClamp (bool) |
| | Whether or not to clamp to any kind of polygon or just take the mouse position. More...
|
| |
| bool | doNotClamp () const |
| |
| virtual void | setIgnoreNextLeftButtonRelease (bool b) |
| | Set to ignore the next left button release. More...
|
| |
| virtual void | setEditStartedByDoubleClick (bool) |
| |
virtual
makVrv::DtIntersector::IntersectProperties | intersectorPickMask () const |
| |
| virtual DtUUID | uuid () const |
| | Returns UUID of principal object image. More...
|
| |
| virtual void | setInterfaceContentMessage (const std::string &name, const DtSimInterfaceContent &) |
| | Sets an interface content message to be sent during create. More...
|
| |
| virtual void | removeInterfaceContentMessage (const std::string &) |
| |
| const ContentMessages & | contentMessages () const |
| |
virtual std::list
< DtSimInterfaceContent * > | contentMessagesToList () const |
| |
| virtual void | sendContentMessages () |
| |
| virtual VrfObjectEditFacadeList | objectFacades () const |
| | Returns all facades in this handler. More...
|
| |
| virtual void | setAllowCreationOnMouseClick (bool flag) |
| |
| virtual bool | allowCreationOnMouseClick () const |
| |
| virtual void | setEventProcessor (DtVrfObjectManipulationEventProcessor *) |
| | Call before editing or creating to set the event processor. More...
|
| |
| virtual DtVector | clampToGround (const DtVector &, int clampFlag=-1) const |
| |
| virtual DtGeodeticCoord | clampToGround (const DtGeodeticCoord &, int clampFlag=-1) const |
| |
| virtual void | setAttachObjectToMouse (bool) |
| |
| virtual bool | attachObjectToMouse () const |
| |
| virtual void | setHeading (double value) |
| |
| virtual double | heading () const |
| |
| virtual void | setPitch (double value) |
| |
| virtual double | pitch () const |
| |
| virtual void | setLocation (const DtVector &loc) |
| |
| virtual void | setLocation (const DtVector &loc, double altAboveGround) |
| |
| virtual void | stop () |
| | Stop an ongoing creation process. More...
|
| |
| virtual void | deferredStop () |
| | Stops on a post tick callback. More...
|
| |
| virtual int | objectCount () const |
| | Returns the number of objects being edited. More...
|
| |
| virtual bool | createVrfObject () |
| |
| virtual bool | modifyVrfObjects () |
| |
virtual
DtVrfObjectFacadeInterface * | createAndAddLocalRepresentation (DtVrlinkSimulatedBaseStateView *editStateView=0) |
| | Calls createLocalRepresentation and adds the resultant facade into the myObjectFacades member. More...
|
| |
virtual
DtVrfObjectFacadeInterface * | createAndAddLocalRepresentation (DtVrlinkSimulatedBaseStateView *editStateView, makVrv::DtUniqueID sceneObjectId, DtVrlinkSimulatedBaseStateView *principalStateView) |
| |
| virtual void | setOverlay (const std::string &name) |
| |
| virtual 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 | setAltitudeAboveGLForAll (double alt, bool setInProcessor=true) |
| | Sets the altitude only in all the facades, not just the principle image. More...
|
| |
| virtual void | setAltitudeAboveSL (double alt, bool setInProcessor=true) |
| |
| virtual void | setAltitudeAboveSLForAll (double alt, bool setInProcessor=true) |
| | Sets the altitude only in all the facades, not just the principle image. More...
|
| |
| virtual bool | hasObjectFacade (makVrv::DtUniqueID) const |
| | Returns true if an object has the unique ID of the given id from the listener. More...
|
| |
| virtual void | setAltitudeClampType (DtAltitudeClampType type) |
| |
| DtAltitudeClampType | altitudeClampType () const |
| |
| 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. More...
|
| |
| virtual bool | publishObject () const |
| |
| virtual void | setObjectName (const std::string &name) |
| |
| virtual void | setUUIDForCreation (const DtUUID &) |
| | In creation use this UUID to create. More...
|
| |
| virtual const DtUUID & | uuidForCreation () const |
| |
| virtual bool | isUniqueName () const |
| | Returns true if the specified name is unique as set. More...
|
| |
| virtual double | groundHeight (const DtVector &localPosition, DtVector *localGround=0, const std::vector< makVrv::DtUniqueID > &ignore=std::vector< makVrv::DtUniqueID >()) const |
| | find the height of the ground (ENU coordinate system) at localPosition (DB coordinates). More...
|
| |
| virtual void | setAltitudeAllowed (bool) |
| |
| bool | altitudeAllowed () const |
| |
| bool | pitchAllowed () const |
| | Only allowed if set as keyword in .entity file. More...
|
| |
| 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. More...
|
| |
| 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. More...
|
| |
| virtual void | setAnchorPosition (const DtGeodeticCoord &) |
| | Sets the anchor position. More...
|
| |
| virtual DtVector | localLocation () |
| | location + altitude More...
|
| |
| 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. More...
|
| |
| virtual std::string | keyword (const std::string &) const |
| |
| virtual std::string | value (const std::string &) const |
| |
| virtual void | addKeyword (const std::string &) |
| |
| virtual void | removeKeyword (const std::string &) |
| |
| virtual bool | waitingToStop () const |
| |
| virtual void | setEditingType (DtEditingType) |
| |
| DtEditingType | editingType () const |
| |
| virtual void | setEmbarkationInformation (makVrv::DtUniqueID, bool) |
| | Sets the embarkation information to use on creation/modification for attaching/detaching environmentals or embarking/disembarking entities. More...
|
| |
| virtual makVrv::DtUniqueID | embarkedOn () const |
| |
virtual std::vector
< makVrv::DtElementID > | ignoreList () const |
| | Returns the list of IDs current being used to prevent usage in intersections. More...
|
| |
| virtual void | setOverrideIdsToIgnore (const std::vector< makVrv::DtUniqueID > &overrideIgnore) |
| | Set this list explicity to use to ignore rather than those calculated by this object facade. More...
|
| |
virtual const std::vector
< makVrv::DtElementID > & | unifiedIgnoreList () const |
| | Unifies the ignoreList() with all tactical graphics. More...
|
| |
| virtual void | slot_onAltitudeChanged (const DtVector &, double) |
| |
| virtual void | cancel () |
| | Cancels any current work. Default calls slot_onCancel. More...
|
| |
| virtual void | setFacadesVisible (bool) |
| | Sets whether or not facades are visible. More...
|
| |
| virtual bool | noStyle () const |
| | Return true if the item should not show the style button. More...
|
| |
| virtual void | slot_onHeadingChanged (double heading) |
| |
| virtual void | slot_onPitchChanged (double heading) |
| |
| virtual void | setHeadingOffset (double d) |
| | Sets the heading offset from principal – changing the heading without changing the originakl heading. More...
|
| |
| virtual void | setPitchOffset (double d) |
| | Sets the pitch offset from principal – changing the heading without changing the originakl heading. More...
|
| |
| virtual void | disconnectPlacement () |
| | Disconnects signal for placing when editing. More...
|
| |
| virtual void | setGroundClampOnPlacement (bool) |
| | If altitude setting is not allowed, whether or not it should be clamp on placement. More...
|
| |
| virtual bool | groundClampOnPlacement () const |
| |
| virtual void | notifyOnFinalFacade (DtVrfObjectManipulationHandlerBaseClass *) |
| | When the final facade is removed because it is deleted notify this handler. If the handler says it is ok to cancel editing then continue on. More...
|
| |
| virtual void | removeNotifyOnFinalFacade (DtVrfObjectManipulationHandlerBaseClass *) |
| |
| virtual void | connectPlacement () |
| | Connects signal for placing when editing. More...
|
| |
| virtual DtVector | centerOfMass () const |
| | Returns center of mass of all objects created (in geocentric) More...
|
| |
| virtual DtVector | sumOfAllLocations () const |
| | Returns the sum of all the locations of all the object items present in this handler. More...
|
| |
| virtual void | updateOffsetsBasedOnMousePosition (const DtVector ¢erOfMass, const DtGeodeticCoord &, bool usImagePoints=false) |
| | Reset objects based on new center. More...
|
| |
| virtual void | setSignalOnMultiSelectionComplete (bool) |
| | Set signal on multi selection complete. More...
|
| |
| virtual void | setKeywords (const std::string &) |
| | Sets the keywords for this handler. More...
|
| |
| virtual void | setSelectionCount (int) |
| | Sets the count of items "selected". More...
|
| |
| virtual void | parseKeywords (const std::string &) |
| | Setup keywords for this handler. More...
|
| |
| virtual bool | warpMouseToOrigin () const |
| |
| virtual void | setWarpMouseToOrigin (bool) |
| |
|
| virtual DtEntityFacadeCollection * | createFacadeInterface () |
| |
| virtual bool | canChangeAltitudeOf (const DtEntityType &) const |
| |
| virtual void | initializeAltitudeAboveTerrainForEdit (double curAlt, const DtVector &curPos, DtVrfObjectFacadeInterface *iFace) |
| |
| virtual void | updateOffsetsBasedOnMousePosition () |
| | Update interface to show altitude in multi-selection mode if the entity is of a type that can change it's altitude and allow altitude change for all items if all items have altitude displayed. More...
|
| |
| virtual void | collectionVisualized (DtVrfObjectFacadeInterface *) |
| |
| virtual bool | createVrfObject (DtVrfObjectFacadeInterface *) |
| | Called to create an object at the current location, heading, and altitude stored in the internal variables. More...
|
| |
| virtual void | initializeInterfaceForEdit (DtVrfObjectFacadeInterface *iFace, makVrv::DtUniqueID sceneObjectId, const makVrv::DtVrlinkSimulatedBaseState &editState, const DtVector &principalLocation, const DtTaitBryan &principalOrientation) |
| |
| virtual bool | modifyVrfObject (DtVrfObjectFacadeInterface *) |
| |
virtual
DtVrfObjectFacadeInterface * | createLocalRepresentation (DtVrlinkSimulatedBaseStateView *editStateView=0) |
| | returns true if successful, false otherwise More...
|
| |
virtual
DtVrfObjectFacadeInterface * | createLocalRepresentation (DtVrlinkSimulatedBaseStateView *editStateView, makVrv::DtUniqueID sceneObjectId, DtVrlinkSimulatedBaseStateView *principalStateView) |
| |
| virtual void | initializeEventProcessor () |
| |
| virtual void | postCreateInitialize (DtVrfObjectFacadeInterface *) |
| |
| virtual void | randomlyChooseDIGuyAppearance (const DtRwNLengthStringVector &, DtEntityFacadeCollection *) |
| |
| virtual void | randomlyChooseDIGuyHandItem (const DtRwNLengthStringVector &, DtEntityFacadeCollection *) |
| |
| virtual void | randomlyChooseDIGuyHead (const DtRwNLengthStringVector &, DtEntityFacadeCollection *) |
| |
| virtual void | handlerDisabled () |
| |
| virtual DtIfEmbarkObject * | createEmbarkObjectMessage (const DtVector &geocentricEmbarkeePosition) const |
| |
| virtual double | defaultAltitudeOffsetFor (DtVrfObjectFacadeInterface *) const |
| | Given an object image, return the default bounding volume offset for that image. More...
|
| |
| virtual DtEntityType | entityTypeBasedOnKey () const |
| | If the key would be a random type, then get the random object type for the key, else return they key. More...
|
| |
| virtual void | setupVisualMetaDataFor (DtEntityFacadeCollection *, bool skipVariants=false) |
| |
| virtual DtIfExecuteSimCommand * | createMarkingTextSet (DtEntityFacadeCollection *) const |
| |
| virtual DtScriptedTaskSet * | createMarkingTextScriptedSet (DtEntityFacadeCollection *ent) const |
| |
Protected Member Functions inherited from makVrf::DtVrfObjectManipulationHandlerBaseClass |
| virtual void | clearConnections () |
| |
| 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. More...
|
| |
| 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. More...
|
| |
| 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. More...
|
| |
| virtual void | slot_onPrincipalStateViewUpdated (DtVrlinkSimulatedBaseStateView *principalStateView, const makVrv::DtUniqueID &principalSceneObjectId) |
| |
| virtual void | slot_onStateViewUpdated (DtVrlinkSimulatedBaseStateView *editStateView, makVrv::DtUniqueID sceneObjectId, DtVrlinkSimulatedBaseStateView *principalStateView) |
| |
| virtual void | initializeLocationChangeConnections () |
| | Initialize connections for altitude and location change. More...
|
| |
| 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. More...
|
| |
| virtual void | setObjectImageAsAnchor (DtVrfObjectFacadeInterface *objectImage, const DtVector &geocLocation, bool resetOrigin=false) |
| |
| virtual void | setHeading (DtVrfObjectFacadeInterface *objectImage, double heading) |
| |
| virtual void | setPitch (DtVrfObjectFacadeInterface *objectImage, double heading) |
| |
| virtual std::string | defaultOverlayFor (const DtRwNLengthStringVector &) const |
| |
| virtual std::string | defaultOverlayFor (const DtModelSetEntry *e) const |
| |
| virtual bool | continueWithHandlerCancelOnLastObjectRemoval () |
| |
| virtual bool | isOkToStopEditing () |
| |
| 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. More...
|
| |
| virtual void | setObjectImageRelativeToAltitudeOnly (DtVrfObjectFacadeInterface *objectImage, const DtVector &thisGeocLocation, const DtVector &prGeocLocation) |
| | Sets relative by altitude on – x/y location is the same. More...
|
| |
| virtual void | calculateAnchor (const DtVector &localAnchor) |
| |
| virtual void | calculateAnchorBasedOnMousePosition (makVrv::DtChannel &channel) |
| |
| virtual bool | clampOnPlacement () const |
| | Return true to clamp object to closest polygon when placed on terrain regardless of altitude set. More...
|
| |
| virtual bool | setupIgnoreLists () |
| |
| virtual void | removeObjectBecauseOfDeletion (DtVrfObjectFacadeInterface *) |
| |
Creation/edit of entity objects.