NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkPointSetInteractor.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 niftkPointSetInteractor_h
16 #define niftkPointSetInteractor_h
17 
18 #include "niftkMIDASExports.h"
19 
20 #include <vector>
21 
22 #include <mitkPointSetInteractor.h>
23 
25 
26 namespace niftk
27 {
33 class NIFTKMIDAS_EXPORT PointSetInteractor : public mitk::PointSetInteractor, public FilteringStateMachine
34 {
35 public:
36  mitkClassMacro(PointSetInteractor, mitk::PointSetInteractor)
37  mitkNewMacro3Param(Self, const char*, mitk::DataNode*, int)
38  mitkNewMacro2Param(Self, const char*, mitk::DataNode*)
39 
40 protected:
47  PointSetInteractor(const char * type, mitk::DataNode* dataNode, int n = -1);
48 
53 
62  float CanHandleEvent(const mitk::StateEvent* stateEvent) const;
63 
67  virtual float CanHandle(const mitk::StateEvent* stateEvent) const;
68 
75  virtual bool ExecuteAction( mitk::Action* action, mitk::StateEvent const* stateEvent );
76 
77 };
78 }
79 #endif
GLuint GLuint GLsizei GLenum type
Definition: glew.h:1237
const char mitk::DataNode int virtual mitkNewMacro2Param(Self, const char *, mitk::DataNode *) protecte ~PointSetInteractor)()
Constructor with Param n for limited Set of Points.
Definition: niftkPointSetInteractor.h:52
Derived from mitk::PointSetInteractor so we can handle the mouse move event.
Definition: niftkPointSetInteractor.h:33
GLclampd n
Definition: glew.h:6789
Definition: niftkExceptionObject.h:21
Common base class for segmentor tools and interactors.
Definition: niftkFilteringStateMachine.h:49