Medical Imaging Interaction Toolkit  2025.12.02
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 
35 
37 
38 public:
40 
43 
45 
47 
49  const IsoDoseLevelSet * GetValue() const;
52 
53 
55  void SetValue(IsoDoseLevelSet* levelSet);
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 #endif
#define MITKRT_EXPORT
Definition: MitkRTExports.h:15
Abstract base class for properties.
Property class for dose iso level sets.
bool ToJSON(nlohmann::json &j) const override
Serialize property value(s) to JSON.
IsoDoseLevelSetProperty(const IsoDoseLevelSetProperty &other)
void SetIsoDoseLevelSet(IsoDoseLevelSet *levelSet)
mitkNewMacro1Param(IsoDoseLevelSetProperty, IsoDoseLevelSet *)
std::string GetValueAsString() const override
const IsoDoseLevelSet * GetValue() const
IsoDoseLevelSetProperty(IsoDoseLevelSet *levelSet)
bool FromJSON(const nlohmann::json &j) override
Deserialize property value(s) from JSON.
IsoDoseLevelSet * GetIsoDoseLevelSet()
const IsoDoseLevelSet * GetIsoDoseLevelSet() const
mitkClassMacro(IsoDoseLevelSetProperty, BaseProperty)
IsoDoseLevelSet * GetValue()
void SetValue(IsoDoseLevelSet *levelSet)
Stores values needed for the representation/visualization of dose iso levels.
nlohmann::json json
Find image slices visible on a given plane.