VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions
makVrf::DtVrfIntervisibilityEditingEventProcessor Class Reference

!!!!!!!!!! More...

Inheritance diagram for makVrf::DtVrfIntervisibilityEditingEventProcessor:
Inheritance graph
[legend]

Public Member Functions

 DtVrfIntervisibilityEditingEventProcessor (makVrv::DtInputDriver &inputDriver, makVrv::DtDe &de, const std::string &className)
 CTOR.
virtual ~DtVrfIntervisibilityEditingEventProcessor ()
 DTOR.
- Public Member Functions inherited from makVrv::DtIntervisibilityEditingEventProcessor
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 bool processMouseEvent (const makVrv::DtMouseEvent &ev, makVrv::DtChannel &channel)
 Processes a mouse event on the channel.
- Protected Member Functions inherited from makVrv::DtIntervisibilityEditingEventProcessor
 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 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.

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

!!!!!!!!!!

Constructor & Destructor Documentation

makVrf::DtVrfIntervisibilityEditingEventProcessor::DtVrfIntervisibilityEditingEventProcessor ( makVrv::DtInputDriver inputDriver,
makVrv::DtDe de,
const std::string &  className 
)

CTOR.

virtual makVrf::DtVrfIntervisibilityEditingEventProcessor::~DtVrfIntervisibilityEditingEventProcessor ( )
virtual

DTOR.

Member Function Documentation

virtual bool makVrf::DtVrfIntervisibilityEditingEventProcessor::processMouseEvent ( const makVrv::DtMouseEvent ev,
makVrv::DtChannel channel 
)
protectedvirtual

Processes a mouse event on the channel.

Should return true if the event is handled successfully, and false to reject it and pass it on to the next event processor.

Reimplemented from makVrv::DtBasicEditingEventProcessor.


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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)