NDEVR
API Documentation
KeyControllerBaseabstract

Forward declaration for the camera class. More...

Inheritance diagram for KeyControllerBase:
[legend]
Collaboration diagram for KeyControllerBase:
[legend]

Public Member Functions

virtual bool processKeyEvent (const KeyEvent &key_event, DesignObjectLookup *lookup, Camera *camera)=0
 Processes a key event and performs the associated action.

Detailed Description

Forward declaration for the camera class.


Base class for services that provide functionality triggered by user key presses.

Definition at line 50 of file KeyController.h.

Member Function Documentation

◆ processKeyEvent()

virtual bool KeyControllerBase::processKeyEvent ( const KeyEvent & key_event,
DesignObjectLookup * lookup,
Camera * camera )
pure virtual

Processes a key event and performs the associated action.

Parameters
[in]key_eventThe key event to process.
[in]lookupThe design object lookup context.
[in]cameraThe active camera context.
Returns
True if the key event was handled, false otherwise.

Implemented in BasicKeyController, GeometryMaker, KeyController, KeystrokeWidget, ModelEditController, SelectionController, and SnapController.


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