VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Friends
makVrv::DtIntervisibilityEditingEventProcessor Class Reference

The DtIntervisibilityEditingEventProcessor is overriding to support the canEdit method to determine if the selected objects can be edited. More...

Inheritance diagram for makVrv::DtIntervisibilityEditingEventProcessor:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtIntervisibilityEditingEventProcessor ()
 DTOR. More...
 
- Public Member Functions inherited from makVrv::DtBasicEditingEventProcessor
 DtBasicEditingEventProcessor (DtInputDriver &inputDriver, DtDe &de, const std::string &className)
 DTOR This class is created by the DtSimpleManager. More...
 
virtual ~DtBasicEditingEventProcessor ()
 CTOR. More...
 
virtual const std::string & className ()
 Returns the name of the processor class, to be used for identifying an event processor. More...
 
double currentAltitude () const
 
void setCurrentAltitude (double)
 
void setCurrentGroundLocation (const DtVector &)
 
virtual void changeAltitude (double mouseX, double mouseY)
 do the work on alt-drag More...
 
virtual void changeAltitudeWithWheel (int wheelSteps)
 change altitude with alt-mousewheel More...
 
virtual bool dragging () const
 Returns true if currently in dragging mode. More...
 
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). More...
 
bool allowDragDrop () const
 
virtual void setCreating (bool)
 Sets whether or not in creation mode. More...
 
bool creating () const
 
virtual bool allowContinueDrag (const DtVector &) const
 Return true if can still drag object (if in drag mode). More...
 
virtual void cancel ()
 Call to cancel current operation. More...
 
virtual void setEnabled (bool)
 If enabled is false and was enabled before, signal cancel. Should not call directly. More...
 
double mouseX () const
 Mouse X and Y positions as recorded the last time through the processEvent. More...
 
double mouseY () const
 
- Public Member Functions inherited from makVrv::DtEventProcessorInterface
 DtEventProcessorInterface ()
 CTOR. More...
 
virtual ~DtEventProcessorInterface ()
 DTOR. More...
 
virtual bool processPinchGesture (const DtPinchGesture &ev, DtChannel &channel)
 Don't require a handler for pinch gestures, but make them available. More...
 
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. More...
 
 DtIntervisibilityEditingEventProcessor (DtInputDriver &inputDriver, DtDe &de, const std::string &className)
 CTOR (Use DtIntervisibilityEditingEventProcessorCreator). More...
 
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) More...
 
- Protected Member Functions inherited from makVrv::DtBasicEditingEventProcessor
virtual bool processMouseEvent (const DtMouseEvent &ev, DtChannel &channel)
 Processes a mouse event on the channel. More...
 
virtual bool processKeyboardEvent (const DtKeyEvent &ev, DtChannel &channel)
 Processes a keyboard event on the channel. More...
 
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. More...
 

Friends

class DtIntervisibilityEditingEventProcessorCreator
 Befriend the creator. More...
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtBasicEditingEventProcessor
boost::signalslib::signal
< void(DtVector, double
altAboveGround)> 
signal_locationChanged
 Signal sent when the mouse location has changed via a mouse move. More...
 
boost::signalslib::signal< void()> signal_cancel
 Signal sent when the user wants to cancel the operation. More...
 
boost::signalslib::signal
< void(DtUniqueID, DtVector,
double altAboveGround)> 
signal_place
 Signal sent on left click of mouse on terrain or object. More...
 
boost::signalslib::signal
< void(DtVector, double)> 
signal_altitudeChanged
 Signal sent when the altitude has changed. More...
 
boost::signalslib::signal
< void(const
DtSelectionManager::IdSet
&, const DtVector &)> 
signal_dragStart
 Signal sent when dragging is starting. More...
 
boost::signalslib::signal
< void(bool)> 
signal_altitudeIsDragging
 Signal send when altitude has stopped/started changing by mouse movement. More...
 
- Protected Attributes inherited from makVrv::DtBasicEditingEventProcessor
DtDemyDe
 
DtInputDrivermyInputDriver
 
std::string myClassName
 
bool myIsAltitudeDragging
 
DtVector myCurrentGroundLocation
 
double myCurrentAltitude
 
bool myDragging
 
bool myAllowDragDrop
 
double myLastMouseX
 
double myLastMouseY
 
double myMousePositionX
 
double myMousePositionY
 
double myLastDeltaY
 
bool myCreating
 
bool myIgnoreNextLeftButtonRelease
 
- Protected Attributes inherited from makVrv::DtEventProcessorInterface
bool myEnabled
 

Detailed Description

The DtIntervisibilityEditingEventProcessor is overriding to support the canEdit method to determine if the selected objects can be edited.

Constructor & Destructor Documentation

virtual makVrv::DtIntervisibilityEditingEventProcessor::~DtIntervisibilityEditingEventProcessor ( )
virtual

DTOR.

makVrv::DtIntervisibilityEditingEventProcessor::DtIntervisibilityEditingEventProcessor ( DtInputDriver inputDriver,
DtDe de,
const std::string &  className 
)
protected

Member Function Documentation

virtual DtIntersector::IntersectProperties makVrv::DtIntervisibilityEditingEventProcessor::intersectorPickMask ( ) const
protectedvirtual

Mask to use when picking into the scene. If dragging or creating, allow support and pickable nodes.

Reimplemented from makVrv::DtBasicEditingEventProcessor.

virtual bool makVrv::DtIntervisibilityEditingEventProcessor::allowEdit ( const DtSelectionManager::IdSet ,
bool  doubleClick 
) const
protectedvirtual

Return true if any of the items selected are intervisibiltiy items (or vertices of intervisibility items)

Reimplemented from makVrv::DtBasicEditingEventProcessor.

Friends And Related Function Documentation

Befriend the creator.


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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)