#include <CrTool.h>
Inheritance diagram for CrTool:
Public Member Functions | |
virtual | ~CrTool () |
Virtual destructor. | |
SoSeparator * | getSeparator () |
Returns the tool's graphic SoSeparator node. | |
virtual void | activate () |
Triggered when the tool activeates. | |
virtual void | deactivate () |
Triggered when the tool deactivates. | |
virtual void | handleEvent (SoEvent *) |
Handles the most recent event from the CrController. | |
virtual void | handleEventAction (SoHandleEventAction *) |
Handles the event via the event action (UNUSED?). | |
void | setController (CrController *) |
Designates the CrController to which this tool is attached. | |
Protected Member Functions | |
CrTool (CrController *controller=NULL) | |
Parameterized constructor requires a CrController. | |
Protected Attributes | |
SoSeparator * | m_sep |
Contains the tool's visual representation. | |
SoTransform * | m_transform |
The transform is updated continuously by the controller. |
|
Virtual destructor.
|
|
Parameterized constructor requires a CrController.
|
|
Triggered when the tool activeates.
Reimplemented in CrHapticRotateTool, and CrHapticTranslateTool. |
|
Triggered when the tool deactivates.
Reimplemented in CrHapticRotateTool, and CrHapticTranslateTool. |
|
Returns the tool's graphic SoSeparator node.
|
|
Handles the most recent event from the CrController.
Reimplemented from CrControllerObserver. Reimplemented in CrHapticRotateTool, and CrHapticTranslateTool. |
|
Handles the event via the event action (UNUSED?).
Reimplemented from CrControllerObserver. |
|
Designates the CrController to which this tool is attached.
|
|
Contains the tool's visual representation.
|
|
The transform is updated continuously by the controller.
|