Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkPlaneOrientationProperty.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 mitkPlaneOrientationProperty_h
14
#define mitkPlaneOrientationProperty_h
15
16
#include "
mitkEnumerationProperty.h
"
17
18
namespace
mitk
19
{
20
#ifdef _MSC_VER
21
#pragma warning(push)
22
#pragma warning(disable : 4522)
23
#endif
24
38
class
MITKCORE_EXPORT
PlaneOrientationProperty
:
public
EnumerationProperty
39
{
40
public
:
41
mitkClassMacro
(
PlaneOrientationProperty
,
EnumerationProperty
);
42
43
itkFactorylessNewMacro(
Self
);
44
45
itkCloneMacro(
Self
);
46
47
mitkNewMacro1Param
(
PlaneOrientationProperty
,
const
IdType
&);
48
49
mitkNewMacro1Param
(
PlaneOrientationProperty
,
const
std::string &);
50
51
enum
52
{
53
PLANE_DECORATION_NONE
,
54
PLANE_DECORATION_POSITIVE_ORIENTATION
,
55
PLANE_DECORATION_NEGATIVE_ORIENTATION
56
};
57
61
virtual
int
GetPlaneDecoration();
62
66
virtual
void
SetPlaneDecorationToNone();
67
71
virtual
void
SetPlaneDecorationToPositiveOrientation();
72
76
virtual
void
SetPlaneDecorationToNegativeOrientation();
77
78
using
BaseProperty::operator=;
79
80
protected
:
84
PlaneOrientationProperty
();
85
90
PlaneOrientationProperty
(
const
IdType &value);
91
96
PlaneOrientationProperty
(
const
std::string &value);
97
102
bool
AddEnum(
const
std::string &name,
const
IdType &
id
)
override
;
103
107
virtual
void
AddDecorationTypes();
108
109
private
:
110
// purposely not implemented
111
PlaneOrientationProperty
&operator=(
const
PlaneOrientationProperty
&);
112
113
itk::LightObject::Pointer InternalClone()
const override
;
114
};
115
116
#ifdef _MSC_VER
117
#pragma warning(pop)
118
#endif
119
120
}
// end of namespace mitk
121
122
#endif
mitk::BaseProperty
Abstract base class for properties.
Definition:
mitkBaseProperty.h:36
mitk::PlaneOrientationProperty
Definition:
mitkPlaneOrientationProperty.h:38
mitk::EnumerationProperty
Definition:
mitkEnumerationProperty.h:43
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:68
mitk::PlaneOrientationProperty::PLANE_DECORATION_POSITIVE_ORIENTATION
@ PLANE_DECORATION_POSITIVE_ORIENTATION
Definition:
mitkPlaneOrientationProperty.h:54
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::EnumerationProperty::IdType
unsigned int IdType
Definition:
mitkEnumerationProperty.h:48
mitkEnumerationProperty.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::PlaneOrientationProperty::PLANE_DECORATION_NONE
@ PLANE_DECORATION_NONE
Definition:
mitkPlaneOrientationProperty.h:53
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkPlaneOrientationProperty.h
Generated on Sat Nov 23 2024 02:13:13 for Medical Imaging Interaction Toolkit by
1.8.17