Medical Imaging Interaction Toolkit  2018.4.99-b20efe7f
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 _MITK_DOSE_ISO_LEVEL_VECTOR_PROPERTY_H_
15 #define _MITK_DOSE_ISO_LEVEL_VECTOR_PROPERTY_H_
16 
17 #include "mitkBaseProperty.h"
19 #include "MitkRTExports.h"
20 
21 namespace mitk {
22 
27 {
28 
29 protected:
30  IsoDoseLevelVector::Pointer m_IsoLevelVector;
31 
33 
35 
36  explicit IsoDoseLevelVectorProperty(IsoDoseLevelVector* levelVector);
37 
38 public:
40 
41  itkNewMacro(IsoDoseLevelVectorProperty);
43 
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  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 
74 #endif /* _MITK_DOSE_ISO_LEVEL_SET_PROPERTY_H_ */
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.
Property class for dose iso level vector.
#define MITKRT_EXPORT
Definition: MitkRTExports.h:15
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Simple vector that stores dose iso levels.