Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
Medical Imaging Interaction Toolkit
mitkSetRegionTool.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 mitkSetRegionTool_h_Included
14 #define mitkSetRegionTool_h_Included
15 
16 #include "mitkCommon.h"
19 
20 namespace mitk
21 {
22  class Image;
23  class StateMachineAction;
24  class InteractionEvent;
42  {
43  public:
45 
46  protected:
47  SetRegionTool(int paintingPixelValue = 1); // purposely hidden
48  ~SetRegionTool() override;
49 
50  void ConnectActionsAndFunctions() override;
51 
52  void Activated() override;
53  void Deactivated() override;
54 
55  virtual void OnMousePressed(StateMachineAction *, InteractionEvent *);
56  virtual void OnMouseReleased(StateMachineAction *, InteractionEvent *);
57  virtual void OnMouseMoved(StateMachineAction *, InteractionEvent *);
59  };
60 
61 } // namespace
62 
63 #endif
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Fills or erases a 2D region.
class ITK_EXPORT Image
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
Base class for tools that use a contour for feedback.