Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
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 mitkSetRegionTool_h_Included
18 #define mitkSetRegionTool_h_Included
19 
20 #include "mitkCommon.h"
23 
24 namespace mitk
25 {
26  class Image;
27  class StateMachineAction;
28  class InteractionEvent;
47  {
48  public:
50 
51  protected:
52  SetRegionTool(int paintingPixelValue = 1); // purposely hidden
53  virtual ~SetRegionTool();
54 
55  void ConnectActionsAndFunctions() override;
56 
57  virtual void Activated() override;
58  virtual void Deactivated() override;
59 
60  virtual void OnMousePressed(StateMachineAction *, InteractionEvent *);
61  virtual void OnMouseReleased(StateMachineAction *, InteractionEvent *);
62  virtual void OnMouseMoved(StateMachineAction *, InteractionEvent *);
63 
65  };
66 
67 } // namespace
68 
69 #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...
virtual void ConnectActionsAndFunctions() override
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Base class for tools that use a contour for feedback.