Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkContourModelInteractor.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef mitkContourModelInteractor_h_Included
18 #define mitkContourModelInteractor_h_Included
19 
20 #include "mitkCommon.h"
21 #include "mitkDataInteractor.h"
23 #include <mitkContourModel.h>
24 #include <mitkDataNode.h>
25 
26 namespace mitk
27 {
39  {
40  public:
41  mitkClassMacro(ContourModelInteractor, DataInteractor) itkFactorylessNewMacro(Self) itkCloneMacro(Self)
42 
43 
47  virtual void ConnectActionsAndFunctions() override;
48 
49  protected:
51  virtual ~ContourModelInteractor();
52 
53  virtual bool OnCheckPointClick(const InteractionEvent *interactionEvent);
54  virtual bool IsHovering(const InteractionEvent *interactionEvent);
55 
56  virtual void OnDeletePoint(StateMachineAction *, InteractionEvent *interactionEvent);
57  virtual void OnMovePoint(StateMachineAction *, InteractionEvent *interactionEvent);
58  virtual void OnMoveContour(StateMachineAction *, InteractionEvent *interactionEvent);
59  virtual void OnFinishEditing(StateMachineAction *, InteractionEvent *interactionEvent);
60 
62  };
63 
64 } // namespace
65 #endif
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Base class from with interactors that handle DataNodes are to be derived.
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
virtual void ConnectActionsAndFunctions() override
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44