![]() |
VR-Forces Development_Version Class Documentation
|
The DtIntervisibilityEditingEventProcessor is overriding to support the canEdit method to determine if the selected objects can be edited. More...

Public Member Functions | |
| virtual | ~DtIntervisibilityEditingEventProcessor () |
| DTOR. | |
Public Member Functions inherited from makVrv::DtBasicEditingEventProcessor | |
| DtBasicEditingEventProcessor (DtInputDriver &inputDriver, DtDe &de, const std::string &className) | |
| DTOR This class is created by the DtSimpleManager. | |
| virtual | ~DtBasicEditingEventProcessor () |
| CTOR. | |
| virtual const std::string & | className () |
| Returns the name of the processor class, to be used for identifying an event processor. | |
| double | currentAltitude () const |
| void | setCurrentAltitude (double) |
| void | setCurrentGroundLocation (const DtVector &) |
| virtual void | changeAltitude (double mouseX, double mouseY) |
| do the work on alt-drag | |
| virtual void | changeAltitudeWithWheel (int wheelSteps) |
| change altitude with alt-mousewheel | |
| virtual bool | dragging () const |
| Returns true if currently in dragging mode. | |
| virtual void | setAllowDragDrop (bool) |
| If true (default false) will send out signals when a drag/drop would start (based on tolerance for left mouse down and mouse move). | |
| bool | allowDragDrop () const |
| virtual void | setCreating (bool) |
| Sets whether or not in creation mode. | |
| bool | creating () const |
| virtual bool | allowContinueDrag (const DtVector &) const |
| Return true if can still drag object (if in drag mode). | |
| virtual void | cancel () |
| Call to cancel current operation. | |
| virtual void | setEnabled (bool) |
| If enabled is false and was enabled before, signal cancel. Should not call directly. | |
| double | mouseX () const |
| Mouse X and Y positions as recorded the last time through the processEvent. | |
| double | mouseY () const |
Public Member Functions inherited from makVrv::DtEventProcessorInterface | |
| DtEventProcessorInterface () | |
| CTOR. | |
| virtual | ~DtEventProcessorInterface () |
| DTOR. | |
| virtual bool | processPinchGesture (const DtPinchGesture &ev, DtChannel &channel) |
| Don't require a handler for pinch gestures, but make them available. | |
| bool | enabled () const |
Protected Member Functions | |
| virtual DtIntersector::IntersectProperties | intersectorPickMask () const |
| Mask to use when picking into the scene. If dragging or creating, allow support and pickable nodes. | |
| DtIntervisibilityEditingEventProcessor (DtInputDriver &inputDriver, DtDe &de, const std::string &className) | |
| CTOR (Use DtIntervisibilityEditingEventProcessorCreator). | |
| virtual bool | allowEdit (const DtSelectionManager::IdSet &, bool doubleClick) const |
| Return true if any of the items selected are intervisibiltiy items (or vertices of intervisibility items) | |
Protected Member Functions inherited from makVrv::DtBasicEditingEventProcessor | |
| virtual bool | processMouseEvent (const DtMouseEvent &ev, DtChannel &channel) |
| Processes a mouse event on the channel. | |
| virtual bool | processKeyboardEvent (const DtKeyEvent &ev, DtChannel &channel) |
| Processes a keyboard event on the channel. | |
| virtual void | processMouseMove (DtChannel &channel, const DtMouseEvent &ev) |
| virtual bool | pick (DtChannel &channel, double x, double y, DtIntersectorResult &result, DtIntersector::IntersectProperties props) const |
| Call intersector to pick into scene to get terrain intersection. | |
Friends | |
| class | DtIntervisibilityEditingEventProcessorCreator |
| Befriend the creator. | |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtBasicEditingEventProcessor | |
| boost::signal< void(DtVector, double altAboveGround)> | signal_locationChanged |
| Signal sent when the mouse location has changed via a mouse move. | |
| boost::signal< void()> | signal_cancel |
| Signal sent when the user wants to cancel the operation. | |
| boost::signal< void(DtUniqueID, DtVector, double altAboveGround)> | signal_place |
| Signal sent on left click of mouse on terrain or object. | |
| boost::signal< void(DtVector, double)> | signal_altitudeChanged |
| Signal sent when the altitude has changed. | |
| boost::signal< void(const DtSelectionManager::IdSet &, const DtVector &)> | signal_dragStart |
| Signal sent when dragging is starting. | |
| boost::signal< void(bool)> | signal_altitudeIsDragging |
| Signal send when altitude has stopped/started changing by mouse movement. | |
Protected Attributes inherited from makVrv::DtBasicEditingEventProcessor | |
| DtDe & | myDe |
| DtInputDriver & | myInputDriver |
| std::string | myClassName |
| bool | myIsAltitudeDragging |
| DtVector | myCurrentGroundLocation |
| double | myCurrentAltitude |
| bool | myDragging |
| bool | myAllowDragDrop |
| double | myLastMouseX |
| double | myLastMouseY |
| double | myMousePositionX |
| double | myMousePositionY |
| bool | myCreating |
| bool | myIgnoreNextLeftButtonRelease |
The DtIntervisibilityEditingEventProcessor is overriding to support the canEdit method to determine if the selected objects can be edited.
|
virtual |
DTOR.
|
protected |
CTOR (Use DtIntervisibilityEditingEventProcessorCreator).
|
protectedvirtual |
Mask to use when picking into the scene. If dragging or creating, allow support and pickable nodes.
Reimplemented from makVrv::DtBasicEditingEventProcessor.
|
protectedvirtual |
Return true if any of the items selected are intervisibiltiy items (or vertices of intervisibility items)
Reimplemented from makVrv::DtBasicEditingEventProcessor.
|
friend |
Befriend the creator.