![]() |
VR-Forces 4.8 Class Documentation
|
The Scene event processor handles user interaction with the scene. More...

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 | |
| DtDe & | myDe |
| DtInputDriver & | myInputDriver |
| bool | myPickInProgress |
| std::string | myClassName |
Protected Attributes inherited from makVrv::DtEventProcessorInterface | |
| bool | myEnabled |
The Scene event processor handles user interaction with the scene.
| makVrv::DtSceneEventProcessor::DtSceneEventProcessor | ( | DtInputDriver & | inputDriver, |
| DtDe & | de | ||
| ) |
DTOR taking This class is created by the DtInputDriver.
|
virtual |
DTOR.
|
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 |
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 |
Returns the name of the processor class, to be used for identifying an event processor.
Implements makVrv::DtEventProcessorInterface.
|
protected |
Does a pick into the scene.
|
protected |
Functions for implementing marquee selection.
|
protected |
|
protected |
|
protected |
|
protected |
Request a context menu, returns true if a menu was signaled to be shown.
|
protected |
|
protected |
|
protected |
|
protected |