Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkRegVisColorStyleProperty.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
14
#ifndef mitkRegVisColorStyleProperty_h
15
#define mitkRegVisColorStyleProperty_h
16
17
// MITK
18
#include <
mitkEnumerationProperty.h
>
19
20
// MITK
21
#include "
MitkMatchPointRegistrationExports.h
"
22
23
namespace
mitk
24
{
25
26
#ifdef _MSC_VER
27
# pragma warning(push)
28
# pragma warning(disable: 4522)
29
#endif
30
36
class
MITKMATCHPOINTREGISTRATION_EXPORT
RegVisColorStyleProperty
:
public
EnumerationProperty
37
{
38
public
:
39
40
mitkClassMacro
(
RegVisColorStyleProperty
,
EnumerationProperty
);
41
42
itkNewMacro(
RegVisColorStyleProperty
);
43
44
mitkNewMacro1Param
(
RegVisColorStyleProperty
,
const
IdType
&);
45
46
mitkNewMacro1Param
(
RegVisColorStyleProperty
,
const
std::string&);
47
48
49
using
BaseProperty::operator=;
50
51
protected
:
52
56
RegVisColorStyleProperty
( );
57
62
RegVisColorStyleProperty
(
const
IdType
& value );
63
68
RegVisColorStyleProperty
(
const
std::string& value );
69
74
bool
AddEnum(
const
std::string& name,
const
IdType
&
id
)
override
;
75
79
void
AddTypes();
80
81
private
:
82
83
// purposely not implemented
84
RegVisColorStyleProperty
(
const
RegVisColorStyleProperty
&);
85
RegVisColorStyleProperty
& operator=(
const
RegVisColorStyleProperty
&);
86
};
87
88
#ifdef _MSC_VER
89
# pragma warning(pop)
90
#endif
91
92
}
// end of namespace mitk
93
94
#endif
mitk::EnumerationProperty
Definition:
mitkEnumerationProperty.h:43
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:68
MitkMatchPointRegistrationExports.h
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
mitk::RegVisColorStyleProperty
Definition:
mitkRegVisColorStyleProperty.h:36
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
MITKMATCHPOINTREGISTRATION_EXPORT
#define MITKMATCHPOINTREGISTRATION_EXPORT
Definition:
MitkMatchPointRegistrationExports.h:15
src
MITK
Modules
MatchPointRegistration
include
mitkRegVisColorStyleProperty.h
Generated on Mon Dec 23 2024 02:13:21 for Medical Imaging Interaction Toolkit by
1.8.17