Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
mitkIsoDoseLevelVectorProperty.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 mitkIsoDoseLevelVectorProperty_h
15
#define mitkIsoDoseLevelVectorProperty_h
16
17
#include "
mitkBaseProperty.h
"
18
#include "
mitkIsoDoseLevelCollections.h
"
19
#include "
MitkRTExports.h
"
20
21
namespace
mitk
{
22
26
class
MITKRT_EXPORT
IsoDoseLevelVectorProperty
:
public
BaseProperty
27
{
28
29
protected
:
30
IsoDoseLevelVector::Pointer
m_IsoLevelVector
;
31
32
IsoDoseLevelVectorProperty
();
33
34
explicit
IsoDoseLevelVectorProperty
(
const
IsoDoseLevelVectorProperty
& other);
35
36
explicit
IsoDoseLevelVectorProperty
(
IsoDoseLevelVector
* levelVector);
37
38
public
:
39
mitkClassMacro
(
IsoDoseLevelVectorProperty
,
BaseProperty
);
40
41
itkNewMacro(
IsoDoseLevelVectorProperty
);
42
mitkNewMacro1Param
(
IsoDoseLevelVectorProperty
,
IsoDoseLevelVector
*);
43
44
typedef
IsoDoseLevelVector
ValueType
;
45
46
~
IsoDoseLevelVectorProperty
()
override
;
47
48
const
IsoDoseLevelVector
* GetIsoDoseLevelVector()
const
;
49
const
IsoDoseLevelVector
* GetValue()
const
;
50
IsoDoseLevelVector
* GetIsoDoseLevelVector();
51
IsoDoseLevelVector
* GetValue();
52
53
54
void
SetIsoDoseLevelVector(
IsoDoseLevelVector
* levelVector);
55
void
SetValue(
IsoDoseLevelVector
* levelVector);
56
57
std::string GetValueAsString()
const override
;
58
59
bool
ToJSON(
nlohmann::json
& j)
const override
;
60
bool
FromJSON(
const
nlohmann::json
& j)
override
;
61
62
using
BaseProperty::operator=;
63
64
private
:
65
66
itk::LightObject::Pointer InternalClone()
const override
;
67
68
bool
IsEqual(
const
BaseProperty
& property)
const override
;
69
bool
Assign(
const
BaseProperty
& property)
override
;
70
71
};
72
73
}
// namespace mitk
74
75
76
77
#endif
mitk::IsoDoseLevelVectorProperty::m_IsoLevelVector
IsoDoseLevelVector::Pointer m_IsoLevelVector
Definition:
mitkIsoDoseLevelVectorProperty.h:30
mitk::BaseProperty
Abstract base class for properties.
Definition:
mitkBaseProperty.h:36
IsoDoseLevelVector
Simple vector that stores dose iso levels.
mitk::IsoDoseLevelVectorProperty::ValueType
IsoDoseLevelVector ValueType
Definition:
mitkIsoDoseLevelVectorProperty.h:44
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:68
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
MITKRT_EXPORT
#define MITKRT_EXPORT
Definition:
MitkRTExports.h:15
mitkIsoDoseLevelCollections.h
mitk::IsoDoseLevelVectorProperty
Property class for dose iso level vector.
Definition:
mitkIsoDoseLevelVectorProperty.h:26
json
nlohmann::json json
Definition:
mitkModelTestFixture.h:29
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitkBaseProperty.h
MitkRTExports.h
src
MITK
Modules
RT
include
mitkIsoDoseLevelVectorProperty.h
Generated on Thu Nov 30 2023 15:58:53 for Medical Imaging Interaction Toolkit by
1.8.17