![]() |
VR-Forces Developer's Guide
|
The Scene event processor handles user interaction with the scene.

Public Member Functions | |
| DtSceneEventProcessor (DtInputDriver &inputDriver, DtDe &de) | |
| virtual | ~DtSceneEventProcessor () |
| virtual bool | processMouseEvent (const DtMouseEvent &ev, DtChannel &channel) |
| virtual bool | processKeyboardEvent (const DtKeyEvent &ev, DtChannel &channel) |
| virtual const std::string & | className () |
Public Member Functions inherited from makVrv::DtEventProcessorInterface | |
| DtEventProcessorInterface () | |
| virtual | ~DtEventProcessorInterface () |
| virtual bool | processPinchGesture (const DtPinchGesture &ev, DtChannel &channel) |
| virtual void | setEnabled (bool b) |
| bool | enabled () const |
Protected Member Functions | |
| bool | pickIntoScene (const DtMouseEvent &mouseEvent, DtChannel &channel) |
| void | pickInitiate (const DtMouseEvent &event, double x, double y, double z) |
| void | pickContinue (const DtMouseEvent &event) |
| void | pickComplete () |
| bool | pickInProgress () const |
| bool | requestContextMenu (DtElementEntry::ObjectType type, unsigned int x, unsigned int y, DtChannel &channel) |
Protected Attributes | |
| DtDe & | myDe |
| DtInputDriver & | myInputDriver |
| bool | myPickInProgress |
| std::string | myClassName |
| DtIntersectorsContainer * | myIntersectors = nullptr |
Protected Attributes inherited from makVrv::DtEventProcessorInterface | |
| bool | myEnabled |
| 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 |
|
protected |