Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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,
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 mitkPlanarFigureControlPointStyleProperty_h
18
#define mitkPlanarFigureControlPointStyleProperty_h
19
20
#include "
mitkEnumerationProperty.h
"
21
22
#include <
MitkPlanarFigureExports.h
>
23
24
namespace
mitk
25
{
38
class
MITKPLANARFIGURE_EXPORT
PlanarFigureControlPointStyleProperty
:
public
EnumerationProperty
39
{
40
public
:
41
mitkClassMacro
(
PlanarFigureControlPointStyleProperty
,
EnumerationProperty
);
42
43
itkFactorylessNewMacro(
Self
) itkCloneMacro(
Self
)
44
45
mitkNewMacro1Param
(
PlanarFigureControlPointStyleProperty
,
const
IdType
&);
46
47
mitkNewMacro1Param
(
PlanarFigureControlPointStyleProperty
,
const
std::string &);
48
49
typedef
enum
{
Square
, Circle } Shape;
50
51
virtual
Shape GetShape();
52
53
virtual
void
SetShape(Shape);
54
55
protected
:
56
PlanarFigureControlPointStyleProperty
();
57
58
PlanarFigureControlPointStyleProperty
(
const
IdType &value);
59
64
PlanarFigureControlPointStyleProperty
(
const
std::string &value);
65
70
virtual
bool
AddEnum(
const
std::string &name,
const
IdType &
id
)
override
;
71
75
virtual
void
AddEnumTypes();
76
77
private
:
78
// purposely not implemented
79
PlanarFigureControlPointStyleProperty
&operator=(
const
PlanarFigureControlPointStyleProperty
&);
80
81
virtual
itk::LightObject::Pointer
InternalClone()
const override
;
82
};
83
84
}
// end of namespace mitk
85
86
#endif
MitkPlanarFigureExports.h
mitk::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkRenderingManager.h:389
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:76
mitk::EnumerationProperty::IdType
unsigned int IdType
Definition:
mitkEnumerationProperty.h:62
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::PlanarFigureControlPointStyleProperty
Defines the rendering style of control points for PlanarFigure objects.
Definition:
mitkPlanarFigureControlPointStyleProperty.h:38
mitk::BaseProperty
Abstract base class for properties.
Definition:
mitkBaseProperty.h:39
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:44
MITKPLANARFIGURE_EXPORT
#define MITKPLANARFIGURE_EXPORT
Definition:
MitkPlanarFigureExports.h:15
mitk::EnumerationProperty
Definition:
mitkEnumerationProperty.h:52
mitkEnumerationProperty.h
mitk::PlanarFigureControlPointStyleProperty::Square
Definition:
mitkPlanarFigureControlPointStyleProperty.h:49
git
MITK
Modules
PlanarFigure
include
mitkPlanarFigureControlPointStyleProperty.h
Generated on Fri Feb 3 2017 20:52:05 for Medical Imaging Interaction Toolkit by
1.8.9.1