Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
mitkVtkRepresentationProperty.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 mitkVtkRepresentationProperty_h
14
#define mitkVtkRepresentationProperty_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
31
class
MITKCORE_EXPORT
VtkRepresentationProperty
:
public
EnumerationProperty
32
{
33
public
:
34
mitkClassMacro
(
VtkRepresentationProperty
,
EnumerationProperty
);
35
36
itkFactorylessNewMacro(
Self
);
37
38
itkCloneMacro(
Self
);
39
40
mitkNewMacro1Param
(
VtkRepresentationProperty
,
const
IdType
&);
41
42
mitkNewMacro1Param
(
VtkRepresentationProperty
,
const
std::string &);
43
48
virtual
int
GetVtkRepresentation();
49
53
virtual
void
SetRepresentationToPoints();
54
58
virtual
void
SetRepresentationToWireframe();
59
63
virtual
void
SetRepresentationToSurface();
64
65
using
BaseProperty::operator=;
66
67
protected
:
71
VtkRepresentationProperty
();
72
78
VtkRepresentationProperty
(
const
IdType
&value);
79
85
VtkRepresentationProperty
(
const
std::string &value);
86
91
bool
AddEnum(
const
std::string &name,
const
IdType
&
id
)
override
;
92
97
virtual
void
AddRepresentationTypes();
98
99
private
:
100
// purposely not implemented
101
VtkRepresentationProperty
&operator=(
const
VtkRepresentationProperty
&);
102
103
itk::LightObject::Pointer InternalClone()
const override
;
104
};
105
106
#ifdef _MSC_VER
107
#pragma warning(pop)
108
#endif
109
110
}
// end of namespace mitk
111
#endif
mitk::BaseProperty
Abstract base class for properties.
Definition:
mitkBaseProperty.h:36
mitk::VtkRepresentationProperty
Definition:
mitkVtkRepresentationProperty.h:31
mitk::EnumerationProperty
Definition:
mitkEnumerationProperty.h:43
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:68
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
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkVtkRepresentationProperty.h
Generated on Mon Jun 17 2024 12:43:30 for Medical Imaging Interaction Toolkit by
1.8.17