Medical Imaging Interaction Toolkit  2018.4.99-c670e289
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;
43  {
44  public:
46 
47  protected:
48  SetRegionTool(int paintingPixelValue = 1); // purposely hidden
49  ~SetRegionTool() override;
50 
51  void ConnectActionsAndFunctions() override;
52 
53  void Activated() override;
54  void Deactivated() override;
55 
56  virtual void OnMousePressed(StateMachineAction *, InteractionEvent *);
57  virtual void OnMouseReleased(StateMachineAction *, InteractionEvent *);
58  virtual void OnMouseMoved(StateMachineAction *, InteractionEvent *);
59 
61  };
62 
63 } // namespace
64 
65 #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:40
Base class for tools that use a contour for feedback.