Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkIsoDoseLevelSetProperty.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 mitkIsoDoseLevelSetProperty_h
15 #define mitkIsoDoseLevelSetProperty_h
16 
17 #include "mitkBaseProperty.h"
19 #include "MitkRTExports.h"
20 
21 namespace mitk {
22 
27 {
28 
29 protected:
30  IsoDoseLevelSet::Pointer m_IsoLevelSet;
31 
33 
34  explicit IsoDoseLevelSetProperty(const IsoDoseLevelSetProperty& other);
35 
36  explicit IsoDoseLevelSetProperty(IsoDoseLevelSet* levelSet);
37 
38 public:
40 
41  itkNewMacro(IsoDoseLevelSetProperty);
43 
45 
46  ~IsoDoseLevelSetProperty() override;
47 
48  const IsoDoseLevelSet * GetIsoDoseLevelSet() const;
49  const IsoDoseLevelSet * GetValue() const;
50  IsoDoseLevelSet * GetIsoDoseLevelSet();
51  IsoDoseLevelSet * GetValue();
52 
53 
54  void SetIsoDoseLevelSet(IsoDoseLevelSet* levelSet);
55  void SetValue(IsoDoseLevelSet* levelSet);
56 
57  std::string GetValueAsString() const override;
58 
59  using BaseProperty::operator=;
60 
61 private:
62 
63  itk::LightObject::Pointer InternalClone() const override;
64 
65  bool IsEqual(const BaseProperty& property) const override;
66  bool Assign(const BaseProperty& property) override;
67 
68 };
69 
70 } // namespace mitk
71 
72 
73 #endif
mitk::BaseProperty
Abstract base class for properties.
Definition: mitkBaseProperty.h:35
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
MITKRT_EXPORT
#define MITKRT_EXPORT
Definition: MitkRTExports.h:15
mitkIsoDoseLevelCollections.h
mitk::IsoDoseLevelSetProperty::ValueType
IsoDoseLevelSet ValueType
Definition: mitkIsoDoseLevelSetProperty.h:44
mitk::IsoDoseLevelSet
Stores values needed for the representation/visualization of dose iso levels.
Definition: mitkIsoDoseLevelCollections.h:41
mitk::IsoDoseLevelSetProperty::m_IsoLevelSet
IsoDoseLevelSet::Pointer m_IsoLevelSet
Definition: mitkIsoDoseLevelSetProperty.h:30
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitkBaseProperty.h
mitk::IsoDoseLevelSetProperty
Property class for dose iso level sets.
Definition: mitkIsoDoseLevelSetProperty.h:26
MitkRTExports.h