VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes
makVrf::DtVrfObjectManipulationManager Class Reference

The Master Scenario Settings Dialog.

Related Examples
Inheritance diagram for makVrf::DtVrfObjectManipulationManager:
Inheritance graph
[legend]

Public Types

enum  AllowEditingOf { AllowNone = 0, AllowLocalObjects = 0x00000001, AllowPublishedObjects = 0x00000002, AllowAll = AllowLocalObjects | AllowPublishedObjects }
 

Public Member Functions

 DtVrfObjectManipulationManager (makVrv::DtDe &)
 
virtual ~DtVrfObjectManipulationManager ()
 
bool creatingObject () const
 
DtVrfObjectManipulationHandlerBaseClasscurrentObjectManipulationHandler ()
 
virtual void setAlwaysCreateLocal (bool)
 
virtual bool alwaysCreateLocal () const
 
virtual void addObjectManipulationHandler (const DtEntityType &, DtVrfObjectManipulationHandlerCreatorInterface *)
 
virtual void removeObjectManipulationHandler (const DtEntityType &)
 
virtual
makVrv::DtElementEntry::ElementType 
mapKindToType (int) const
 
virtual void addKindToTypeMapping (int, const makVrv::DtElementEntry::ElementType &)
 
virtual bool hasTypeToKindMapping (const makVrv::DtElementEntry::ElementType &) const
 
virtual void addObjectManipulationHandler (const makVrv::DtElementEntry::ElementType &, DtVrfObjectManipulationHandlerCreatorInterface *)
 
virtual void removeObjectManipulationHandler (const makVrv::DtElementEntry::ElementType &)
 
virtual bool isEditable (const makVrv::DtUniqueID &, const std::string &keywordsToCheck="") const
 
virtual void setEditable (const makVrv::DtUniqueID &, bool)
 
virtual bool hasKeyword (const std::string &keyword, makVrv::DtUniqueID id) const
 
virtual std::vector< DtVectorconvertToLocal (const std::vector< DtVector > &geocentric) const
 
virtual bool isEditingOrCreating () const
 
virtual bool isBoxObject (const DtEntityType &, const std::string &keywords) const
 
virtual void createValidSelection (makVrv::DtSelectionManager::IdSet &, bool &changed) const
 
virtual
DtVrfObjectManipulationHandlerBaseClass
manipulationHandlerFor (const DtEntityType &, const std::string &keywords) const
 
virtual
DtVrfObjectManipulationHandlerBaseClass
manipulationHandlerFor (const makVrv::DtElementEntry::ElementType &) const
 
virtual bool isCreatingProp () const
 
virtual bool isDestroyingProp () const
 
virtual void setIsDestroyingProp (bool)
 
virtual bool hasObjectFacade (makVrv::DtUniqueID) const
 
virtual void mapEntityTypeToVertexEditingType (const DtEntityType &from, const DtEntityType &to)
 
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="")
 
virtual void setLocation (const DtVector &loc)
 
virtual void createTerrainProp (const DtString &propType, const DtString &propModelDef)
 
virtual void stop ()
 
virtual void setAllowEditing (bool b)
 
virtual void setAllowEditingOf (AllowEditingOf)
 
virtual bool allowEditing () const
 
virtual bool allowLocalObjectsEditing () const
 
virtual bool allowPublishedObjectsEditing () const
 
AllowEditingOf allowEditingOf () const
 
virtual void editSelectedObjects (const makVrv::DtUniqueID &principalID, makVrv::DtChannel &initiatingChannel, const DtEditingType &edtype=Mouse)
 
virtual void editSelectedObjects (const makVrv::DtSelectionManager::IdSet &objects, makVrv::DtChannel &initiatingChannel, const DtEditingType &edtype=Mouse)
 
virtual void setEditStartedByDoubleClick (bool)
 
virtual void setCreationEndedWithDoubleClick (bool creationEndedWithDoubleClick)
 
virtual bool isDoubleClickSupportedForCurrentObject () const
 
virtual bool isCurrentObjectValidForCreation ()
 
virtual void deleteSelected ()
 
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 (const DtEnvironmentStateView *shapeStateView, const DtVector &dbVtxLocation) const
 
virtual bool getVertexLocation (const makVrv::DtUniqueID &vertexId, DtVector &dbLocation) const
 
virtual void requestAndProcessEnvState (const makVrv::DtUniqueID &sceneId, ProcessEnvStateFunction *processor)
 
virtual void setWaitTimeAfterComplete (double)
 
virtual double waitTimeAfterComplete () const
 
virtual void setLocalWaitTimeAfterComplete (double)
 
virtual double localWaitTimeAfterComplete () const
 
virtual double waitTimeAfterComplete (makVrv::DtUniqueID) const
 
virtual bool isEditing (makVrv::DtUniqueID id) const
 
virtual
DtVrfObjectManipulationHandlerBaseClass
vertexEditingHandler (makVrv::DtUniqueID principalID) const
 
virtual
DtVrfObjectManipulationHandlerBaseClass
editingHandlerFor (makVrv::DtUniqueID principalID) const
 
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
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static
DtVrfObjectManipulationManager
instance (makVrv::DtDe &de)
 

Public Attributes

boost::signals2::signal< void(bool &)> signal_deleteSelected
 
boost::signals2::signal< void()> signal_selectionRestored
 
boost::signals2::signal< void(int,
DtEnvironmentStateView
*, DtVector)> 
signal_aboutToDeletePoint
 
boost::signals2::signal< void(int,
DtEnvironmentStateView
*, DtVector &)> 
signal_aboutToAddPoint
 
boost::signals2::signal< void()> signal_stopped
 
boost::signals2::signal< void(const
DtEntityType &, int,
makVrf::DtCreationSignalType)> 
signal_creatingObject
 
boost::signals2::signal< void(const
DtVrfObjectManipulationHandlerBaseClass::ObjectManipulationData &)> 
signal_createObject
 
boost::signals2::signal< void()> signal_creatingTerrainProp
 
boost::signals2::signal< void(const
DtString &, const DtString &)> 
signal_createTerrainProp
 
boost::signals2::signal< void(DtVrfObjectFacadeInterface
*, bool)> 
signal_objectFacadeCreated
 
boost::signals2::signal< void(DtVrfObjectFacadeInterface *)> signal_objectFacadeAboutToBeRemoved
 
boost::signals2::signal< void(makVrv::DtElementID)> signal_unhandledEdit
 
boost::signals2::signal< void()> signal_eventProcessorRemoved
 
boost::signals2::signal< void(const
makVrv::DtUniqueID
&, DtEditingType)> 
signal_editingObject
 
boost::signals2::signal< void(DtEntityType,
DtEditingType)> 
signal_editingObjectByEntityType
 
boost::signals2::signal< void(const
makVrv::DtUniqueID
&, DtEditingType)> 
signal_editingTerrainProp
 
boost::signals2::signal< void(const
makVrv::DtSelectionManager::IdSet
&, DtEditingType)> 
signal_editingObjects
 
boost::signals2::signal< void(const
makVrv::DtSelectionManager::IdSet
&, DtEditingType)> 
signal_editingTerrainProps
 
boost::signals2::signal< void()> signal_editStopped
 
boost::signals2::signal< void()> signal_editingNotAllowed
 

Protected Types

typedef
DtOrderedEntityTypeList
< DtVrfObjectManipulationHandlerCreatorInterface * > 
VrfObjectManipulationCreators
 
typedef
DtOrderedEntityTypeList
< DtEntityType * > 
VertexEditingTypeMap
 
typedef boost::function< void(DtEnvironmentStateView *)> ProcessEnvStateFunction
 
typedef boost::unordered_map
< makVrv::DtUniqueID, bool
EditableMap
 
typedef boost::unordered_map
< int,
makVrv::DtElementEntry::ElementType
KindToTypeMap
 
typedef boost::unordered_map
< makVrv::DtElementEntry::ElementType,
DtVrfObjectManipulationHandlerCreatorInterface * > 
TypeCreatorMap
 

Protected Member Functions

virtual void slot_onCreationStopped (DtVrfObjectManipulationHandlerBaseClass *)
 
virtual void slot_onEventProcessorRemoved (DtVrfObjectManipulationHandlerBaseClass *)
 
virtual void slot_onTerrainPropCreationStopped (DtVrfObjectManipulationHandlerBaseClass *)
 
virtual void slot_onCreateObject (const DtVrfObjectManipulationHandlerBaseClass::ObjectManipulationData &)
 
virtual void slot_onCreateTerrainProp (const DtString &propType, const DtString &propModelDef)
 
virtual void onInputDriverToBeDestroyed (makVrv::DtInputDriver *inputDriver)
 
virtual void cleanup ()
 
virtual void onObjectFacadeCreated (DtVrfObjectFacadeInterface *, bool editing)
 
virtual void onObjectFacadeAboutToBeRemoved (DtVrfObjectFacadeInterface *)
 
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::DtElementAttributeManager::EntryAttributesList &signalList)
 
virtual bool isOnIdList (makVrv::DtUniqueID id, const makVrv::DtSelectionManager::IdSet &list)
 
virtual void addHandlerToBeCleanedUp (DtVrfObjectManipulationHandlerBaseClass *)
 
virtual void cacheVisibleObjects (const makVrv::DtSelectionManager::IdSet &)
 

Protected Attributes

makVrv::DtDemyDe
 
VrfObjectManipulationCreators myManipulationHandlers
 
VertexEditingTypeMap myVertexEditingTypeMap
 
DtVrfObjectManipulationHandlerBaseClassmyCurrentObjectManipulationHandler
 
DtVrfEditManagerEventProcessormyEventProcessor
 
bool myAlwaysCreateLocal
 
makVrv::DtSelectionManager::IdSet mySavedSelectionState
 
makVrv::DtSelectionManager::IdSet myRemainingSavedSelections
 
makVrv::DtSelectionManager::IdSet myObjectsEditing
 
makVrv::DtSelectionManager::IdSet myVisibleObjects
 
EditableMap myEditableMap
 
KindToTypeMap myKindToTypeMap
 
TypeCreatorMap myTypeCreators
 
double myWaitTimeAfterComplete
 
double myLocalWaitTimeAfterComplete
 
std::vector
< DtVrfObjectManipulationHandlerBaseClass * > 
myHandlersToBeCleanedUp
 
AllowEditingOf myAllowEditingOf
 
makVrv::DtSignalConnectionManager myAnnouncerSignals
 
bool myIsDestroyingProp
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
AllowNone 
AllowLocalObjects 
AllowPublishedObjects 
AllowAll 

Constructor & Destructor Documentation

makVrf::DtVrfObjectManipulationManager::DtVrfObjectManipulationManager ( makVrv::DtDe )
virtual makVrf::DtVrfObjectManipulationManager::~DtVrfObjectManipulationManager ( )
virtual

Member Function Documentation

bool makVrf::DtVrfObjectManipulationManager::creatingObject ( ) const
DtVrfObjectManipulationHandlerBaseClass* makVrf::DtVrfObjectManipulationManager::currentObjectManipulationHandler ( )
virtual void makVrf::DtVrfObjectManipulationManager::setAlwaysCreateLocal ( bool  )
virtual

Set to true to always create objects locally. Default is false.

virtual bool makVrf::DtVrfObjectManipulationManager::alwaysCreateLocal ( ) const
virtual
static DtVrfObjectManipulationManager& makVrf::DtVrfObjectManipulationManager::instance ( makVrv::DtDe de)
static

Returns instance of the messager.

virtual void makVrf::DtVrfObjectManipulationManager::addObjectManipulationHandler ( const DtEntityType &  ,
DtVrfObjectManipulationHandlerCreatorInterface  
)
virtual

Adds an object manipulation handler by entity type. If type does not exist in map will map to element type and attempt to use that.

virtual void makVrf::DtVrfObjectManipulationManager::removeObjectManipulationHandler ( const DtEntityType &  )
virtual
virtual makVrv::DtElementEntry::ElementType makVrf::DtVrfObjectManipulationManager::mapKindToType ( int  ) const
virtual

Maps the entity kind to the particular element type. Used to create a manipulation handler if specific type does not exist.

virtual void makVrf::DtVrfObjectManipulationManager::addKindToTypeMapping ( int  ,
const makVrv::DtElementEntry::ElementType  
)
virtual

Adds a mapping of kind to type.

virtual bool makVrf::DtVrfObjectManipulationManager::hasTypeToKindMapping ( const makVrv::DtElementEntry::ElementType ) const
virtual

Returns true if there is an element type to kind mapping.

virtual void makVrf::DtVrfObjectManipulationManager::addObjectManipulationHandler ( const makVrv::DtElementEntry::ElementType ,
DtVrfObjectManipulationHandlerCreatorInterface  
)
virtual

Adds an object manipulation handler by element type. If type does not exist will not start creation/editing process.

virtual void makVrf::DtVrfObjectManipulationManager::removeObjectManipulationHandler ( const makVrv::DtElementEntry::ElementType )
virtual
virtual bool makVrf::DtVrfObjectManipulationManager::isEditable ( const makVrv::DtUniqueID ,
const std::string &  keywordsToCheck = "" 
) const
virtual

Returns whether or not the item is editable. This is the element id of the item in question. It will look up the state view information based on the id and check as to whether or not the item with the given ID is editable.

virtual void makVrf::DtVrfObjectManipulationManager::setEditable ( const makVrv::DtUniqueID ,
bool   
)
virtual
virtual bool makVrf::DtVrfObjectManipulationManager::hasKeyword ( const std::string &  keyword,
makVrv::DtUniqueID  id 
) const
virtual

Returns true whether or not the particular item has the given keyword.

virtual std::vector<DtVector> makVrf::DtVrfObjectManipulationManager::convertToLocal ( const std::vector< DtVector > &  geocentric) const
virtual

Takes a list of points in geocentric and returns a list of points in local coordinates.

virtual bool makVrf::DtVrfObjectManipulationManager::isEditingOrCreating ( ) const
virtual

Returns true if in editing or creating mode.

virtual bool makVrf::DtVrfObjectManipulationManager::isBoxObject ( const DtEntityType &  ,
const std::string &  keywords 
) const
virtual

Returns true if the given type (with optional keywords) would be a box object.

virtual void makVrf::DtVrfObjectManipulationManager::createValidSelection ( makVrv::DtSelectionManager::IdSet ,
bool changed 
) const
virtual

Given the current selections, create a list of IDs that are valid. This will mean that, given the first item in the selection, pick all like handlers from that item. Any handlers that are different from the principal one will be dropped from the list. The boolean flag will be set to true if the selection is different from the current selection in the selection manager.

virtual DtVrfObjectManipulationHandlerBaseClass* makVrf::DtVrfObjectManipulationManager::manipulationHandlerFor ( const DtEntityType &  ,
const std::string &  keywords 
) const
virtual

Will return a new manipulation handler based on the supplied type. Caller must delete handler when complete. If the object being created has a fixed length AND width it will be treated as a box object regardless of its entity type.

virtual DtVrfObjectManipulationHandlerBaseClass* makVrf::DtVrfObjectManipulationManager::manipulationHandlerFor ( const makVrv::DtElementEntry::ElementType ) const
virtual
virtual bool makVrf::DtVrfObjectManipulationManager::isCreatingProp ( ) const
virtual

Returns true if the user is in prop creation mode.

virtual bool makVrf::DtVrfObjectManipulationManager::isDestroyingProp ( ) const
virtual

Set when a prop is being deleted by the user. This will not put up the correlation warning if the prop is being removed by the system due to paging.

virtual void makVrf::DtVrfObjectManipulationManager::setIsDestroyingProp ( bool  )
virtual
virtual bool makVrf::DtVrfObjectManipulationManager::hasObjectFacade ( makVrv::DtUniqueID  ) const
virtual

Returns true if this is editing/creating the given object facede simulation id.

virtual void makVrf::DtVrfObjectManipulationManager::slot_onCreationStopped ( DtVrfObjectManipulationHandlerBaseClass )
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::slot_onEventProcessorRemoved ( DtVrfObjectManipulationHandlerBaseClass )
protectedvirtual

Called when the handler destroys the event processor.

virtual void makVrf::DtVrfObjectManipulationManager::slot_onTerrainPropCreationStopped ( DtVrfObjectManipulationHandlerBaseClass )
protectedvirtual

This get called when the manipulationHandler signals the signal_stopped signal.

virtual void makVrf::DtVrfObjectManipulationManager::slot_onCreateObject ( const DtVrfObjectManipulationHandlerBaseClass::ObjectManipulationData )
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::slot_onCreateTerrainProp ( const DtString propType,
const DtString propModelDef 
)
protectedvirtual

This gets called when the manipulationHandler signals the signal_createTerrainProp signal.

virtual void makVrf::DtVrfObjectManipulationManager::onInputDriverToBeDestroyed ( makVrv::DtInputDriver inputDriver)
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::cleanup ( )
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::onObjectFacadeCreated ( DtVrfObjectFacadeInterface ,
bool  editing 
)
protectedvirtual

Called when a handler creates an object facade, resend the signal from this manager.

virtual void makVrf::DtVrfObjectManipulationManager::onObjectFacadeAboutToBeRemoved ( DtVrfObjectFacadeInterface )
protectedvirtual

Called when a handler is about to remove a facade, resend the signal from this manager.

virtual void makVrf::DtVrfObjectManipulationManager::mapEntityTypeToVertexEditingType ( const DtEntityType &  from,
const DtEntityType &  to 
)
virtual

Maps an entity type to a like vertex editing type (for when editing a vertex of a multi-point object)

virtual DtEntityType makVrf::DtVrfObjectManipulationManager::mapToVertexEditingType ( const DtEntityType &  from) const
virtual
virtual void makVrf::DtVrfObjectManipulationManager::removeToVertexEditingType ( const DtEntityType &  from)
virtual
virtual void makVrf::DtVrfObjectManipulationManager::createObject ( const DtEntityType &  ,
int  force,
DtCreationSignalType  creationSignal = DtNoCreationSignal,
const std::string &  keywords = "" 
)
virtual

Starts the process of object creation. Uses the factory to figure out which handler should be used to create the object. If signalCreation is true, signals that the object should be created and where rather than actually creating it. Keywords are a semi-colon separated list of items that can be used to extend functionality for certain objects. Valid keywords are:

FREEHAND - Allow "freehand" drawing of lines only (meaning one point per mouse movement while left mouse button is pressed) NOPUBLISH - Set the publish flag to false

virtual void makVrf::DtVrfObjectManipulationManager::setLocation ( const DtVector loc)
virtual

Tells the creation handler to move its facade to the given location.

virtual void makVrf::DtVrfObjectManipulationManager::createTerrainProp ( const DtString propType,
const DtString propModelDef 
)
virtual

Starts the process of prop creation.

virtual void makVrf::DtVrfObjectManipulationManager::stop ( )
virtual

If current handler, then stop it.

virtual void makVrf::DtVrfObjectManipulationManager::setAllowEditing ( bool  b)
virtual

Shortcut for setAllowEditingOf(DtAllowAll);.

virtual void makVrf::DtVrfObjectManipulationManager::setAllowEditingOf ( AllowEditingOf  )
virtual
virtual bool makVrf::DtVrfObjectManipulationManager::allowEditing ( ) const
virtual
virtual bool makVrf::DtVrfObjectManipulationManager::allowLocalObjectsEditing ( ) const
virtual
virtual bool makVrf::DtVrfObjectManipulationManager::allowPublishedObjectsEditing ( ) const
virtual
AllowEditingOf makVrf::DtVrfObjectManipulationManager::allowEditingOf ( ) const
inline
virtual void makVrf::DtVrfObjectManipulationManager::editSelectedObjects ( const makVrv::DtUniqueID principalID,
makVrv::DtChannel initiatingChannel,
const DtEditingType edtype = Mouse 
)
virtual

Starts the process of object editing. Uses the factory to figure out which handler should be used to edit the objects. The principal id is the ID of the object actually moused on.

virtual void makVrf::DtVrfObjectManipulationManager::editSelectedObjects ( const makVrv::DtSelectionManager::IdSet objects,
makVrv::DtChannel initiatingChannel,
const DtEditingType edtype = Mouse 
)
virtual

Starts the process of objects editing. If all the objects would result in the same editing process (all multi line, all points, etc) will start the process using the common handler. If the resultant editing would use multiple handler type, edit the objects without a dialog and move objects using multiple handlers. Note that if a vertex, a prop or anything that is not editable that is part of the multiple edit it will be dropped.

virtual void makVrf::DtVrfObjectManipulationManager::setEditStartedByDoubleClick ( bool  )
virtual

If started by a double click, call this method after calling editSelectedObjects. This will allow the event processor to ignore the left button release that is sent after the double click. Since this is passed to the current object edit handler this must be called after the objects have been started to be edited.

virtual void makVrf::DtVrfObjectManipulationManager::setCreationEndedWithDoubleClick ( bool  creationEndedWithDoubleClick)
virtual

in case a double click event ended the creation, let the object handler know this

virtual bool makVrf::DtVrfObjectManipulationManager::isDoubleClickSupportedForCurrentObject ( ) const
virtual

double click can be used to finish creation of shape types only. Other types such as waypoints can be finished with a single left click

virtual bool makVrf::DtVrfObjectManipulationManager::isCurrentObjectValidForCreation ( )
virtual

check if current object is valid for creation.e.g. a shape has at least the minimum vertices.

virtual void makVrf::DtVrfObjectManipulationManager::deleteSelected ( )
virtual

delete the current selection(s)

virtual void makVrf::DtVrfObjectManipulationManager::deleteProp ( makVrv::DtUniqueID  id)
virtual
virtual void makVrf::DtVrfObjectManipulationManager::deleteVertex ( const makVrv::DtUniqueID vertexId)
virtual
virtual void makVrf::DtVrfObjectManipulationManager::deleteVertex ( const makVrv::DtUniqueID shapeId,
const DtVector dbLocation 
)
virtual
virtual void makVrf::DtVrfObjectManipulationManager::addVertexBefore ( const makVrv::DtUniqueID vertexId)
virtual
virtual void makVrf::DtVrfObjectManipulationManager::addVertexBefore ( const makVrv::DtUniqueID shapeId,
const DtVector dbLocation 
)
virtual
virtual void makVrf::DtVrfObjectManipulationManager::addVertexBeforeSelected ( )
virtual
virtual void makVrf::DtVrfObjectManipulationManager::addVertexAfter ( const makVrv::DtUniqueID vertexId)
virtual
virtual void makVrf::DtVrfObjectManipulationManager::addVertexAfter ( const makVrv::DtUniqueID shapeId,
const DtVector dbLocation 
)
virtual
virtual void makVrf::DtVrfObjectManipulationManager::addVertexAfterSelected ( )
virtual
virtual int makVrf::DtVrfObjectManipulationManager::indexOfVertex ( const DtEnvironmentStateView shapeStateView,
const DtVector dbVtxLocation 
) const
virtual

Get the index of a vertex in its parent shape, given its location.

virtual bool makVrf::DtVrfObjectManipulationManager::getVertexLocation ( const makVrv::DtUniqueID vertexId,
DtVector dbLocation 
) const
virtual

get the (local, database) location of the specified vertexId. Returns false if a scene object can't be found with vertexId

virtual void makVrf::DtVrfObjectManipulationManager::requestAndProcessEnvState ( const makVrv::DtUniqueID sceneId,
ProcessEnvStateFunction processor 
)
virtual

Request and env process state, and when the signal fires that it is available, call the function pointed to be processor.

Note that the processor function must be allocated on the heap; requestAndProcessEnvState will delete it when finished with it

virtual void makVrf::DtVrfObjectManipulationManager::setWaitTimeAfterComplete ( double  )
virtual

Set the time to wait to show objects after complete editing. Default is .3 seconds.

virtual double makVrf::DtVrfObjectManipulationManager::waitTimeAfterComplete ( ) const
virtual
virtual void makVrf::DtVrfObjectManipulationManager::setLocalWaitTimeAfterComplete ( double  )
virtual

Set the time to wait to show objects after complete editing for local objects. Default is .5 seconds.

virtual double makVrf::DtVrfObjectManipulationManager::localWaitTimeAfterComplete ( ) const
virtual
virtual double makVrf::DtVrfObjectManipulationManager::waitTimeAfterComplete ( makVrv::DtUniqueID  ) const
virtual

Wai time used given the object id.

virtual bool makVrf::DtVrfObjectManipulationManager::isEditing ( makVrv::DtUniqueID  id) const
virtual

Returns true if this object is being edited.

virtual DtVrfObjectManipulationHandlerBaseClass* makVrf::DtVrfObjectManipulationManager::vertexEditingHandler ( makVrv::DtUniqueID  principalID) const
virtual
virtual DtVrfObjectManipulationHandlerBaseClass* makVrf::DtVrfObjectManipulationManager::editingHandlerFor ( makVrv::DtUniqueID  principalID) const
virtual
virtual void makVrf::DtVrfObjectManipulationManager::slot_editStopped ( DtVrfObjectManipulationHandlerBaseClass )
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::slot_stateReturned ( DtEnvironmentStateView shapeStateView,
const makVrv::DtUniqueID shapeId,
ProcessEnvStateFunction processor 
)
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::deleteVertexUsingState ( DtEnvironmentStateView shapeStateView,
const makVrv::DtUniqueID shapeId,
const DtVector dbVtxLocation 
)
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::addVertexUsingState ( DtEnvironmentStateView shapeStateView,
const makVrv::DtUniqueID shapeId,
const DtVector dbVtxLocation,
bool  before 
)
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::sessionStatusChanged ( int  )
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::restoreSelectionState ( DtVrfObjectManipulationHandlerBaseClass handler)
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::slot_onTick ( )
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::slot_onAttributesChanged ( const makVrv::DtElementAttributeManager::EntryAttributesList signalList)
protectedvirtual
virtual bool makVrf::DtVrfObjectManipulationManager::isOnIdList ( makVrv::DtUniqueID  id,
const makVrv::DtSelectionManager::IdSet list 
)
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::addHandlerToBeCleanedUp ( DtVrfObjectManipulationHandlerBaseClass )
protectedvirtual
virtual void makVrf::DtVrfObjectManipulationManager::cacheVisibleObjects ( const makVrv::DtSelectionManager::IdSet )
protectedvirtual
virtual bool makVrf::DtVrfObjectManipulationManager::canDeleteAPoint ( DtEnvironmentStateView shapeStateView) const
virtual
virtual bool makVrf::DtVrfObjectManipulationManager::shapeAtMinimum ( DtEnvironmentStateView shapeStateView) const
virtual
virtual bool makVrf::DtVrfObjectManipulationManager::shapeAtMaximum ( DtEnvironmentStateView shapeStateView) const
virtual
virtual bool makVrf::DtVrfObjectManipulationManager::canEditVertex ( const DtEntityType &  t,
makVrv::DtUniqueID  parentID,
makVrv::DtUniqueID  vertexID 
) const
virtual

Will return false if the item has fixed width or length.

Member Data Documentation

boost::signals2::signal<void (bool&)> makVrf::DtVrfObjectManipulationManager::signal_deleteSelected

Signal to delete the selected objects. Set handled to true if delete is handled.

boost::signals2::signal<void ()> makVrf::DtVrfObjectManipulationManager::signal_selectionRestored

Signal when the selection has been restored to what it was before creation.

boost::signals2::signal<void (int, DtEnvironmentStateView*, DtVector)> makVrf::DtVrfObjectManipulationManager::signal_aboutToDeletePoint

About to delete the point for the given state view at the given index.

boost::signals2::signal<void (int, DtEnvironmentStateView*, DtVector&)> makVrf::DtVrfObjectManipulationManager::signal_aboutToAddPoint

About to add the point at the given index for the given state view. Point is in world coordinates.

boost::signals2::signal<void ()> makVrf::DtVrfObjectManipulationManager::signal_stopped
boost::signals2::signal<void (const DtEntityType&, int, makVrf::DtCreationSignalType)> makVrf::DtVrfObjectManipulationManager::signal_creatingObject
boost::signals2::signal<void (const DtVrfObjectManipulationHandlerBaseClass::ObjectManipulationData&)> makVrf::DtVrfObjectManipulationManager::signal_createObject
boost::signals2::signal<void ()> makVrf::DtVrfObjectManipulationManager::signal_creatingTerrainProp
boost::signals2::signal<void (const DtString&, const DtString&)> makVrf::DtVrfObjectManipulationManager::signal_createTerrainProp
boost::signals2::signal<void (DtVrfObjectFacadeInterface*, bool)> makVrf::DtVrfObjectManipulationManager::signal_objectFacadeCreated
boost::signals2::signal<void (DtVrfObjectFacadeInterface*)> makVrf::DtVrfObjectManipulationManager::signal_objectFacadeAboutToBeRemoved
boost::signals2::signal<void (makVrv::DtElementID)> makVrf::DtVrfObjectManipulationManager::signal_unhandledEdit
boost::signals2::signal<void ()> makVrf::DtVrfObjectManipulationManager::signal_eventProcessorRemoved
boost::signals2::signal<void (const makVrv::DtUniqueID&, DtEditingType)> makVrf::DtVrfObjectManipulationManager::signal_editingObject
boost::signals2::signal<void (DtEntityType, DtEditingType)> makVrf::DtVrfObjectManipulationManager::signal_editingObjectByEntityType
boost::signals2::signal<void (const makVrv::DtUniqueID&, DtEditingType)> makVrf::DtVrfObjectManipulationManager::signal_editingTerrainProp
boost::signals2::signal<void (const makVrv::DtSelectionManager::IdSet&, DtEditingType)> makVrf::DtVrfObjectManipulationManager::signal_editingObjects
boost::signals2::signal<void (const makVrv::DtSelectionManager::IdSet&, DtEditingType)> makVrf::DtVrfObjectManipulationManager::signal_editingTerrainProps
boost::signals2::signal<void ()> makVrf::DtVrfObjectManipulationManager::signal_editStopped
boost::signals2::signal<void ()> makVrf::DtVrfObjectManipulationManager::signal_editingNotAllowed
makVrv::DtDe& makVrf::DtVrfObjectManipulationManager::myDe
protected
VrfObjectManipulationCreators makVrf::DtVrfObjectManipulationManager::myManipulationHandlers
protected
VertexEditingTypeMap makVrf::DtVrfObjectManipulationManager::myVertexEditingTypeMap
protected
DtVrfObjectManipulationHandlerBaseClass* makVrf::DtVrfObjectManipulationManager::myCurrentObjectManipulationHandler
protected
DtVrfEditManagerEventProcessor* makVrf::DtVrfObjectManipulationManager::myEventProcessor
protected
bool makVrf::DtVrfObjectManipulationManager::myAlwaysCreateLocal
protected
makVrv::DtSelectionManager::IdSet makVrf::DtVrfObjectManipulationManager::mySavedSelectionState
protected
makVrv::DtSelectionManager::IdSet makVrf::DtVrfObjectManipulationManager::myRemainingSavedSelections
protected
makVrv::DtSelectionManager::IdSet makVrf::DtVrfObjectManipulationManager::myObjectsEditing
protected
makVrv::DtSelectionManager::IdSet makVrf::DtVrfObjectManipulationManager::myVisibleObjects
protected
EditableMap makVrf::DtVrfObjectManipulationManager::myEditableMap
protected
KindToTypeMap makVrf::DtVrfObjectManipulationManager::myKindToTypeMap
protected
TypeCreatorMap makVrf::DtVrfObjectManipulationManager::myTypeCreators
protected
double makVrf::DtVrfObjectManipulationManager::myWaitTimeAfterComplete
protected
double makVrf::DtVrfObjectManipulationManager::myLocalWaitTimeAfterComplete
protected
std::vector<DtVrfObjectManipulationHandlerBaseClass*> makVrf::DtVrfObjectManipulationManager::myHandlersToBeCleanedUp
protected
AllowEditingOf makVrf::DtVrfObjectManipulationManager::myAllowEditingOf
protected
makVrv::DtSignalConnectionManager makVrf::DtVrfObjectManipulationManager::myAnnouncerSignals
protected
bool makVrf::DtVrfObjectManipulationManager::myIsDestroyingProp
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)