Medical Imaging Interaction Toolkit  2018.4.99-fa2b431b
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:
38  itkFactorylessNewMacro(Self);
39  itkCloneMacro(Self);
40 
45  void ConnectActionsAndFunctions() override;
46 
47  protected:
49  ~ContourModelInteractor() override;
50 
51  virtual bool OnCheckPointClick(const InteractionEvent *interactionEvent);
52  virtual bool IsHovering(const InteractionEvent *interactionEvent);
53 
54  virtual void OnDeletePoint(StateMachineAction *, InteractionEvent *interactionEvent);
55  virtual void OnMovePoint(StateMachineAction *, InteractionEvent *interactionEvent);
56  virtual void OnMoveContour(StateMachineAction *, InteractionEvent *interactionEvent);
57  virtual void OnFinishEditing(StateMachineAction *, InteractionEvent *interactionEvent);
58 
60  };
61 
62 } // namespace
63 #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