NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkPointSetDataInteractor.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 niftkPointSetDataInteractor_h
16 #define niftkPointSetDataInteractor_h
17 
18 #include "niftkMIDASExports.h"
19 
20 #include <vector>
21 
22 #include <mitkPointSetDataInteractor.h>
23 
25 
26 namespace niftk
27 {
33 class NIFTKMIDAS_EXPORT PointSetDataInteractor : public mitk::PointSetDataInteractor, public FilteringStateMachine
34 {
35 public:
36  mitkClassMacro(PointSetDataInteractor, mitk::PointSetDataInteractor)
37  itkFactorylessNewMacro(Self)
38  itkCloneMacro(Self)
39 
40 protected:
48 
52  virtual ~PointSetDataInteractor();
53 
62  bool FilterEvents(mitk::InteractionEvent* event, mitk::DataNode* dataNode);
63 
64  virtual bool CanHandle(mitk::InteractionEvent* event);
65 
72  virtual bool ExecuteAction(mitk::StateMachineAction* action, mitk::InteractionEvent* event);
73 
74 };
75 
76 }
77 
78 #endif
Derived from mitk::PointSetDataInteractor so we can handle the mouse move event.
Definition: niftkPointSetDataInteractor.h:33
cl_event event
Definition: glew.h:3231
Definition: niftkExceptionObject.h:21
Common base class for segmentor tools and interactors.
Definition: niftkFilteringStateMachine.h:49