Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkSubtractContourTool.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 mitkSubtractContourTool_h
14
#define mitkSubtractContourTool_h
15
16
#include "
mitkContourTool.h
"
17
#include <
MitkSegmentationExports.h
>
18
19
namespace
us
20
{
21
class
ModuleResource;
22
}
23
24
namespace
mitk
25
{
46
class
MITKSEGMENTATION_EXPORT
SubtractContourTool
:
public
ContourTool
47
{
48
public
:
49
mitkClassMacro
(
SubtractContourTool
,
ContourTool
);
50
itkFactorylessNewMacro(
Self
);
51
itkCloneMacro(
Self
);
52
53
const
char
**GetXPM()
const override
;
54
us::ModuleResource
GetCursorIconResource()
const override
;
55
us::ModuleResource
GetIconResource()
const override
;
56
57
const
char
*GetName()
const override
;
58
59
protected
:
60
SubtractContourTool
();
// purposely hidden
61
~
SubtractContourTool
()
override
;
62
63
void
OnInvertLogic(
StateMachineAction
* action,
InteractionEvent
* event)
override
;
64
};
65
66
}
// namespace
67
68
#endif
mitk::InteractionEvent
Definition:
mitkInteractionEvent.h:26
us
Definition:
mitkAbstractFileReader.h:29
mitkContourTool.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::ContourTool
Simple contour filling tool.
Definition:
mitkContourTool.h:46
mitk::EventStateMachine
**
Definition:
mitkEventStateMachine.h:111
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition:
MitkSegmentationExports.h:15
us::ModuleResource
Definition:
usModuleResource.h:55
mitk::StateMachineAction
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
Definition:
mitkStateMachineAction.h:30
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
MitkSegmentationExports.h
mitk::SubtractContourTool
Fill the inside of a contour with 1.
Definition:
mitkSubtractContourTool.h:46
src
MITK
Modules
Segmentation
Interactions
mitkSubtractContourTool.h
Generated on Mon Dec 23 2024 02:13:21 for Medical Imaging Interaction Toolkit by
1.8.17