VR-Forces Developer's Guide
 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.

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

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

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

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
DtIntersectorsContainer* makVrv::DtSceneEventProcessor::myIntersectors = nullptr
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)