VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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.
- 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.
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
DtDemyDe
DtInputDrivermyInputDriver
std::string myClassName
bool myIsAltitudeDragging
DtVector myCurrentGroundLocation
double myCurrentAltitude
bool myDragging
bool myAllowDragDrop
double myLastMouseX
double myLastMouseY
double myMousePositionX
double myMousePositionY
bool myCreating

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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)