Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkContourModelInteractor_h_Included
14 #define mitkContourModelInteractor_h_Included
15 
16 #include "mitkCommon.h"
17 #include "mitkDataInteractor.h"
19 #include <mitkContourModel.h>
20 #include <mitkDataNode.h>
21 
22 namespace mitk
23 {
35  {
36  public:
37  mitkClassMacro(ContourModelInteractor, DataInteractor) itkFactorylessNewMacro(Self) itkCloneMacro(Self)
38 
39 
43  void ConnectActionsAndFunctions() override;
44 
45  protected:
47  ~ContourModelInteractor() override;
48 
49  virtual bool OnCheckPointClick(const InteractionEvent *interactionEvent);
50  virtual bool IsHovering(const InteractionEvent *interactionEvent);
51 
52  virtual void OnDeletePoint(StateMachineAction *, InteractionEvent *interactionEvent);
53  virtual void OnMovePoint(StateMachineAction *, InteractionEvent *interactionEvent);
54  virtual void OnMoveContour(StateMachineAction *, InteractionEvent *interactionEvent);
55  virtual void OnFinishEditing(StateMachineAction *, InteractionEvent *interactionEvent);
56 
58  };
59 
60 } // namespace
61 #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...
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40