NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkToolKeyPressResponder.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkToolKeyPressResponder_h
16 #define niftkToolKeyPressResponder_h
17 
18 #include "niftkMIDASExports.h"
19 
20 namespace niftk
21 {
22 
23 
34 class NIFTKMIDAS_EXPORT ToolKeyPressResponder
35 {
36 public:
37 
40 
42  virtual bool SelectSeedTool() = 0;
43 
45  virtual bool SelectDrawTool() = 0;
46 
48  virtual bool UnselectTools() = 0;
49 
51  virtual bool SelectPolyTool() = 0;
52 
54  virtual bool SelectViewMode() = 0;
55 
57  virtual bool CleanSlice() = 0;
58 
59 };
60 
61 }
62 
63 #endif
ToolKeyPressResponder()
Definition: niftkToolKeyPressResponder.h:38
Pure Virtual Interface to be implemented by classes that want to respond to MIDAS key events relevant...
Definition: niftkToolKeyPressResponder.h:34
virtual ~ToolKeyPressResponder()
Definition: niftkToolKeyPressResponder.h:39
Definition: niftkExceptionObject.h:21