Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
mitkPlanarFigureControlPointStyleProperty.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 mitkPlanarFigureControlPointStyleProperty_h
14
#define mitkPlanarFigureControlPointStyleProperty_h
15
16
#include "
mitkEnumerationProperty.h
"
17
18
#include <
MitkPlanarFigureExports.h
>
19
20
namespace
mitk
21
{
34
class
MITKPLANARFIGURE_EXPORT
PlanarFigureControlPointStyleProperty
:
public
EnumerationProperty
35
{
36
public
:
37
mitkClassMacro
(
PlanarFigureControlPointStyleProperty
,
EnumerationProperty
);
38
39
itkFactorylessNewMacro(
Self
);
40
41
itkCloneMacro(
Self
);
42
43
mitkNewMacro1Param
(
PlanarFigureControlPointStyleProperty
,
const
IdType
&);
44
45
mitkNewMacro1Param
(
PlanarFigureControlPointStyleProperty
,
const
std::string &);
46
47
typedef
enum
{
Square
, Circle } Shape;
48
49
virtual
Shape GetShape();
50
51
virtual
void
SetShape(Shape);
52
53
protected
:
54
PlanarFigureControlPointStyleProperty
();
55
56
PlanarFigureControlPointStyleProperty
(
const
IdType &value);
57
62
PlanarFigureControlPointStyleProperty
(
const
std::string &value);
63
68
bool
AddEnum(
const
std::string &name,
const
IdType &
id
)
override
;
69
73
virtual
void
AddEnumTypes();
74
75
private
:
76
// purposely not implemented
77
PlanarFigureControlPointStyleProperty
&operator=(
const
PlanarFigureControlPointStyleProperty
&);
78
79
itk::LightObject::Pointer InternalClone()
const override
;
80
};
81
82
}
// end of namespace mitk
83
84
#endif
mitk::BaseProperty
Abstract base class for properties.
Definition:
mitkBaseProperty.h:36
MitkPlanarFigureExports.h
mitk::EnumerationProperty
Definition:
mitkEnumerationProperty.h:43
mitk::PlanarFigureControlPointStyleProperty::Square
@ Square
Definition:
mitkPlanarFigureControlPointStyleProperty.h:47
mitk::PlanarFigureControlPointStyleProperty
Defines the rendering style of control points for PlanarFigure objects.
Definition:
mitkPlanarFigureControlPointStyleProperty.h:34
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:68
MITKPLANARFIGURE_EXPORT
#define MITKPLANARFIGURE_EXPORT
Definition:
MitkPlanarFigureExports.h:15
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
src
MITK
Modules
PlanarFigure
include
mitkPlanarFigureControlPointStyleProperty.h
Generated on Mon Jun 17 2024 12:43:28 for Medical Imaging Interaction Toolkit by
1.8.17