VR-Forces 4.8 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 | Protected Attributes
makVrv::DtSceneEventProcessor Class Reference

The Scene event processor handles user interaction with the scene. More...

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

Public Member Functions

 DtSceneEventProcessor (DtInputDriver &inputDriver, DtDe &de)
 DTOR taking This class is created by the DtInputDriver. More...
 
virtual ~DtSceneEventProcessor ()
 DTOR. More...
 
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 const std::string & className ()
 Returns the name of the processor class, to be used for identifying an event processor. More...
 
- 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...
 
virtual void setEnabled (bool b)
 Get/set enabled flag. More...
 
bool enabled () const
 

Protected Member Functions

bool pickIntoScene (const DtMouseEvent &mouseEvent, DtChannel &channel)
 Does a pick into the scene. More...
 
void pickInitiate (const DtMouseEvent &event, double x, double y, double z)
 Functions for implementing marquee selection. More...
 
void pickContinue (const DtMouseEvent &event)
 
void pickComplete ()
 
bool pickInProgress () const
 
bool requestContextMenu (DtElementEntry::ObjectType type, unsigned int x, unsigned int y, DtChannel &channel)
 Request a context menu, returns true if a menu was signaled to be shown. More...
 

Protected Attributes

DtDemyDe
 
DtInputDrivermyInputDriver
 
bool myPickInProgress
 
std::string myClassName
 
- Protected Attributes inherited from makVrv::DtEventProcessorInterface
bool myEnabled
 

Detailed Description

The Scene event processor handles user interaction with the scene.

Constructor & Destructor Documentation

makVrv::DtSceneEventProcessor::DtSceneEventProcessor ( DtInputDriver inputDriver,
DtDe de 
)

DTOR taking This class is created by the DtInputDriver.

virtual makVrv::DtSceneEventProcessor::~DtSceneEventProcessor ( )
virtual

DTOR.

Member Function Documentation

virtual bool makVrv::DtSceneEventProcessor::processMouseEvent ( const DtMouseEvent ev,
DtChannel channel 
)
virtual

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.

Implements makVrv::DtEventProcessorInterface.

Reimplemented in makVrv::DtMultipleAttachEventProcessor.

virtual bool makVrv::DtSceneEventProcessor::processKeyboardEvent ( const DtKeyEvent ev,
DtChannel channel 
)
virtual

Processes a keyboard 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.

Implements makVrv::DtEventProcessorInterface.

Reimplemented in makVrv::DtMultipleAttachEventProcessor.

virtual const std::string& makVrv::DtSceneEventProcessor::className ( )
virtual

Returns the name of the processor class, to be used for identifying an event processor.

Implements makVrv::DtEventProcessorInterface.

bool makVrv::DtSceneEventProcessor::pickIntoScene ( const DtMouseEvent mouseEvent,
DtChannel channel 
)
protected

Does a pick into the scene.

void makVrv::DtSceneEventProcessor::pickInitiate ( const DtMouseEvent event,
double  x,
double  y,
double  z 
)
protected

Functions for implementing marquee selection.

void makVrv::DtSceneEventProcessor::pickContinue ( const DtMouseEvent event)
protected
void makVrv::DtSceneEventProcessor::pickComplete ( )
protected
bool makVrv::DtSceneEventProcessor::pickInProgress ( ) const
protected
bool makVrv::DtSceneEventProcessor::requestContextMenu ( DtElementEntry::ObjectType  type,
unsigned int  x,
unsigned int  y,
DtChannel channel 
)
protected

Request a context menu, returns true if a menu was signaled to be shown.

Member Data Documentation

DtDe& makVrv::DtSceneEventProcessor::myDe
protected
DtInputDriver& makVrv::DtSceneEventProcessor::myInputDriver
protected
bool makVrv::DtSceneEventProcessor::myPickInProgress
protected
std::string makVrv::DtSceneEventProcessor::myClassName
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)