Public Member Functions |
| | DtVrfObjectManipulationManager (makVrv::DtDe &) |
| virtual | ~DtVrfObjectManipulationManager () |
| bool | creatingObject () const |
| DtVrfObjectManipulationHandlerBaseClass * | currentObjectManipulationHandler () |
| virtual void | setAlwaysCreateLocal (bool) |
| | Set to true to always create objects locally. Default is false.
|
| virtual bool | alwaysCreateLocal () const |
| virtual void | addObjectManipulationHandler (const DtEntityType &, DtVrfObjectManipulationHandlerCreatorInterface *) |
| | Adds an object manipulation handler by entity type.
|
| virtual void | removeObjectManipulationHandler (const DtEntityType &) |
virtual
makVrv::DtElementEntry::ElementType | mapKindToType (int) const |
| | Maps the entity kind to the particular element type. Used to create a manipulation handler if specific type does not exist.
|
| virtual void | addKindToTypeMapping (int, const makVrv::DtElementEntry::ElementType &) |
| | Adds a mapping of kind to type.
|
| virtual bool | hasTypeToKindMapping (const makVrv::DtElementEntry::ElementType &) const |
| | Returns true if there is an element type to kind mapping.
|
| virtual void | addObjectManipulationHandler (const makVrv::DtElementEntry::ElementType &, DtVrfObjectManipulationHandlerCreatorInterface *) |
| | Adds an object manipulation handler by element type.
|
| virtual void | removeObjectManipulationHandler (const makVrv::DtElementEntry::ElementType &) |
| virtual bool | isEditable (const makVrv::DtUniqueID &) const |
| | Returns whether or not the item is editable.
|
| virtual void | setEditable (const makVrv::DtUniqueID &, bool) |
| virtual std::vector< DtVector > | convertToLocal (const std::vector< DtVector > &geocentric) const |
| | Takes a list of points in geocentric and returns a list of points in local coordinates.
|
| virtual bool | isEditingOrCreating () const |
| | Returns true if in editing or creating mode.
|
| virtual bool | isBoxObject (const DtEntityType &, const std::string &keywords) const |
| | Returns true if the given type (with optional keywords) would be a box object.
|
| virtual void | createValidSelection (makVrv::DtSelectionManager::IdSet &, bool &changed) const |
| | Given the current selections, create a list of IDs that are valid.
|
virtual
DtVrfObjectManipulationHandlerBaseClass * | manipulationHandlerFor (const DtEntityType &, const std::string &keywords) const |
| | Will return a new manipulation handler based on the supplied type.
|
virtual
DtVrfObjectManipulationHandlerBaseClass * | manipulationHandlerFor (const makVrv::DtElementEntry::ElementType &) const |
| virtual bool | isCreatingProp () const |
| | Returns true if the user is in prop creation mode.
|
| virtual bool | isDestroyingProp () const |
| | Set when a prop is being deleted by the user.
|
| virtual void | setIsDestroyingProp (bool) |
| virtual void | mapEntityTypeToVertexEditingType (const DtEntityType &from, const DtEntityType &to) |
| | Maps an entity type to a like vertex editing type (for when editing a vertex of a multi-point object)
|
| virtual DtEntityType | mapToVertexEditingType (const DtEntityType &from) const |
| virtual void | removeToVertexEditingType (const DtEntityType &from) |
| virtual void | createObject (const DtEntityType &, int force, DtCreationSignalType creationSignal=DtNoCreationSignal, const std::string &keywords="") |
| | Starts the process of object creation.
|
| virtual void | setLocation (const DtVector &loc) |
| | Tells the creation handler to move its facade to the given location.
|
| virtual void | createTerrainProp (const DtString &propType, const DtString &propModelDef) |
| | Starts the process of prop creation.
|
| virtual void | stop () |
| | If current handler, then stop it.
|
| virtual void | setAllowEditing (bool b) |
| | Shortcut for setAllowEditingOf(DtAllowAll);.
|
| virtual void | setAllowEditingOf (AllowEditingOf) |
| virtual bool | allowEditing () const |
| virtual bool | allowLocalObjectsEditing () const |
| virtual bool | allowPublishedObjectsEditing () const |
| virtual void | editSelectedObjects (const makVrv::DtUniqueID &principalID, makVrv::DtChannel &initiatingChannel, const DtEditingType &edtype=Mouse) |
| | Starts the process of object editing.
|
| virtual void | editSelectedObjects (const makVrv::DtSelectionManager::IdSet &objects, makVrv::DtChannel &initiatingChannel, const DtEditingType &edtype=Mouse) |
| | Starts the process of objects editing.
|
| virtual void | setEditStartedByDoubleClick (bool) |
| | If started by a double click, call this method after calling editSelectedObjects.
|
| virtual void | deleteSelected () |
| | delete the current selection(s)
|
| virtual void | deleteProp (makVrv::DtUniqueID id) |
| virtual void | deleteVertex (const makVrv::DtUniqueID &vertexId) |
| virtual void | deleteVertex (const makVrv::DtUniqueID &shapeId, const DtVector &dbLocation) |
| virtual void | addVertexBefore (const makVrv::DtUniqueID &vertexId) |
| virtual void | addVertexBefore (const makVrv::DtUniqueID &shapeId, const DtVector &dbLocation) |
| virtual void | addVertexBeforeSelected () |
| virtual void | addVertexAfter (const makVrv::DtUniqueID &vertexId) |
| virtual void | addVertexAfter (const makVrv::DtUniqueID &shapeId, const DtVector &dbLocation) |
| virtual void | addVertexAfterSelected () |
| virtual int | indexOfVertex (DtEnvironmentStateView *shapeStateView, const DtVector &dbVtxLocation) const |
| | Get the index of a vertex in its parent shape, given its location.
|
| virtual bool | getVertexLocation (const makVrv::DtUniqueID &vertexId, DtVector &dbLocation) const |
| | get the (local, database) location of the specified vertexId.
|
| virtual void | requestAndProcessEnvState (const makVrv::DtUniqueID &sceneId, ProcessEnvStateFunction *processor) |
| | Request and env process state, and when the signal fires that it is available, call the function pointed to be processor.
|
| virtual void | setWaitTimeAfterComplete (double) |
| | Set the time to wait to show objects after complete editing. Default is .3 seconds.
|
| virtual double | waitTimeAfterComplete () const |
| virtual void | setLocalWaitTimeAfterComplete (double) |
| | Set the time to wait to show objects after complete editing for local objects. Default is .5 seconds.
|
| virtual double | localWaitTimeAfterComplete () const |
| virtual double | waitTimeAfterComplete (makVrv::DtUniqueID) const |
| | Wai time used given the object id.
|
| virtual bool | isEditing (makVrv::DtUniqueID id) const |
| | Returns true if this object is being edited.
|
| virtual bool | canDeleteAPoint (DtEnvironmentStateView *shapeStateView) const |
| virtual bool | shapeAtMinimum (DtEnvironmentStateView *shapeStateView) const |
| virtual bool | shapeAtMaximum (DtEnvironmentStateView *shapeStateView) const |
| virtual bool | canEditVertex (const DtEntityType &t, makVrv::DtUniqueID parentID, makVrv::DtUniqueID vertexID) const |
| | Will return false if the item has fixed width or length.
|
| | DtVirtualBaseClass () |
| | Do nothing constructor.
|
| virtual | ~DtVirtualBaseClass () |
| | Virtual do nothing destructor.
|
Public Attributes |
| boost::signal< void()> | signal_selectionRestored |
| | Signal when the selection has been restored to what it was before creation.
|
boost::signal< void(int,
DtEnvironmentStateView
*, DtVector)> | signal_aboutToDeletePoint |
| | About to delete the point for the given state view at the given index.
|
boost::signal< void(int,
DtEnvironmentStateView
*, DtVector &)> | signal_aboutToAddPoint |
| | About to add the point at the given index for the given state view. Point is in world coordinates.
|
| boost::signal< void()> | signal_stopped |
boost::signal< void(const
DtEntityType &, int,
makVrf::DtCreationSignalType)> | signal_creatingObject |
boost::signal< void(const
DtVrfObjectManipulationHandlerBaseClass::ObjectManipulationData &)> | signal_createObject |
| boost::signal< void()> | signal_creatingTerrainProp |
boost::signal< void(const
DtString &, const DtString &)> | signal_createTerrainProp |
boost::signal< void(DtVrfObjectFacadeInterface
*, bool)> | signal_objectFacadeCreated |
| boost::signal< void(DtVrfObjectFacadeInterface *)> | signal_objectFacadeAboutToBeRemoved |
| boost::signal< void(makVrv::DtElementID)> | signal_unhandledEdit |
boost::signal< void(const
makVrv::DtUniqueID
&, DtEditingType)> | signal_editingObject |
boost::signal< void(DtEntityType,
DtEditingType)> | signal_editingObjectByEntityType |
boost::signal< void(const
makVrv::DtUniqueID
&, DtEditingType)> | signal_editingTerrainProp |
boost::signal< void(const
makVrv::DtSelectionManager::IdSet
&, DtEditingType)> | signal_editingObjects |
boost::signal< void(const
makVrv::DtSelectionManager::IdSet
&, DtEditingType)> | signal_editingTerrainProps |
| boost::signal< void()> | signal_editStopped |
| boost::signal< void()> | signal_editingNotAllowed |
Protected Member Functions |
| virtual void | slot_onCreationStopped (DtVrfObjectManipulationHandlerBaseClass *) |
| virtual void | slot_onTerrainPropCreationStopped (DtVrfObjectManipulationHandlerBaseClass *) |
| | This get called when the manipulationHandler signals the signal_stopped signal.
|
| virtual void | slot_onCreateObject (const DtVrfObjectManipulationHandlerBaseClass::ObjectManipulationData &) |
| virtual void | slot_onCreateTerrainProp (const DtString &propType, const DtString &propModelDef) |
| | This gets called when the manipulationHandler signals the signal_createTerrainProp signal.
|
| virtual void | onInputDriverToBeDestroyed (makVrv::DtInputDriver *inputDriver) |
| virtual void | cleanup () |
| virtual void | onObjectFacadeCreated (DtVrfObjectFacadeInterface *, bool editing) |
| | Called when a handler creates an object facade, resend the signal from this manager.
|
| virtual void | onObjectFacadeAboutToBeRemoved (DtVrfObjectFacadeInterface *) |
| | Called when a handler is about to remove a facade, resend the signal from this manager.
|
| virtual void | slot_editStopped (DtVrfObjectManipulationHandlerBaseClass *) |
| virtual void | slot_stateReturned (DtEnvironmentStateView *shapeStateView, const makVrv::DtUniqueID &shapeId, ProcessEnvStateFunction *processor) |
| virtual void | deleteVertexUsingState (DtEnvironmentStateView *shapeStateView, const makVrv::DtUniqueID &shapeId, const DtVector &dbVtxLocation) |
| virtual void | addVertexUsingState (DtEnvironmentStateView *shapeStateView, const makVrv::DtUniqueID &shapeId, const DtVector &dbVtxLocation, bool before) |
| virtual void | sessionStatusChanged (int) |
| virtual void | restoreSelectionState (DtVrfObjectManipulationHandlerBaseClass *handler) |
| virtual void | slot_onTick () |
| virtual void | slot_onAttributesChanged (const makVrv::DtElementData::EntryAttributesList &signalList) |
| virtual bool | isOnIdList (makVrv::DtUniqueID id, const makVrv::DtSelectionManager::IdSet &list) |
| virtual void | addHandlerToBeCleanedUp (DtVrfObjectManipulationHandlerBaseClass *) |
virtual
DtVrfObjectManipulationHandlerBaseClass * | vertexEditingHandler (makVrv::DtUniqueID principalID) const |
virtual
DtVrfObjectManipulationHandlerBaseClass * | editingHandlerFor (makVrv::DtUniqueID principalID) const |
The Master Scenario Settings Dialog.