NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
niftk::ToolKeyPressResponder Class Referenceabstract

Pure Virtual Interface to be implemented by classes that want to respond to MIDAS key events relevant to which tool is selected where events are passed through from the MIDASToolKeyPressStateMachine which is a subclass of StateMachine, and hence registered with the interaction loop. More...

Inheritance diagram for niftk::ToolKeyPressResponder:
Inheritance graph
[legend]

Public Member Functions

 ToolKeyPressResponder ()
 
virtual ~ToolKeyPressResponder ()
 
virtual bool SelectSeedTool ()=0
 Select the seed tool, where in MIDAS this is the S key. More...
 
virtual bool SelectDrawTool ()=0
 Select the draw tool, where in MIDAS this is the D key. More...
 
virtual bool UnselectTools ()=0
 Unselect all tools, where in MIDAS is equivalent to selecting the Posn tool, which is Space or N. More...
 
virtual bool SelectPolyTool ()=0
 Select the poly tool, where in MIDAS this is the Y key. More...
 
virtual bool SelectViewMode ()=0
 Select the view mode, where in MIDAS this is the V key. More...
 
virtual bool CleanSlice ()=0
 Clean the slice, where in MIDAS this is the C key. More...
 

Detailed Description

Pure Virtual Interface to be implemented by classes that want to respond to MIDAS key events relevant to which tool is selected where events are passed through from the MIDASToolKeyPressStateMachine which is a subclass of StateMachine, and hence registered with the interaction loop.

See also
MIDASToolKeyPressStateMachine
StateMachine

Constructor & Destructor Documentation

niftk::ToolKeyPressResponder::ToolKeyPressResponder ( )
inline
virtual niftk::ToolKeyPressResponder::~ToolKeyPressResponder ( )
inlinevirtual

Member Function Documentation

virtual bool niftk::ToolKeyPressResponder::CleanSlice ( )
pure virtual

Clean the slice, where in MIDAS this is the C key.

Implemented in niftk::GeneralSegmentorController.

virtual bool niftk::ToolKeyPressResponder::SelectDrawTool ( )
pure virtual

Select the draw tool, where in MIDAS this is the D key.

Implemented in niftk::GeneralSegmentorController.

virtual bool niftk::ToolKeyPressResponder::SelectPolyTool ( )
pure virtual

Select the poly tool, where in MIDAS this is the Y key.

Implemented in niftk::GeneralSegmentorController.

virtual bool niftk::ToolKeyPressResponder::SelectSeedTool ( )
pure virtual

Select the seed tool, where in MIDAS this is the S key.

Implemented in niftk::GeneralSegmentorController.

virtual bool niftk::ToolKeyPressResponder::SelectViewMode ( )
pure virtual

Select the view mode, where in MIDAS this is the V key.

Implemented in niftk::GeneralSegmentorController.

virtual bool niftk::ToolKeyPressResponder::UnselectTools ( )
pure virtual

Unselect all tools, where in MIDAS is equivalent to selecting the Posn tool, which is Space or N.

Implemented in niftk::GeneralSegmentorController.


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