Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef _MITK_DOSE_ISO_LEVEL_VECTOR_PROPERTY_H_
19 #define _MITK_DOSE_ISO_LEVEL_VECTOR_PROPERTY_H_
20 
21 #include "mitkBaseProperty.h"
23 #include "MitkDicomRTExports.h"
24 
25 namespace mitk {
26 
31 {
32 
33 protected:
35 
37 
39 
41 
42 public:
44 
45  itkNewMacro(IsoDoseLevelVectorProperty);
47 
49 
50  virtual ~IsoDoseLevelVectorProperty();
51 
52  const IsoDoseLevelVector * GetIsoDoseLevelVector() const;
53  const IsoDoseLevelVector * GetValue() const;
54  IsoDoseLevelVector * GetIsoDoseLevelVector();
55  IsoDoseLevelVector * GetValue();
56 
57 
58  void SetIsoDoseLevelVector(IsoDoseLevelVector* levelVector);
59  void SetValue(IsoDoseLevelVector* levelVector);
60 
61  virtual std::string GetValueAsString() const override;
62 
63  using BaseProperty::operator=;
64 
65 private:
66 
67  // purposely not implemented
69 
70  itk::LightObject::Pointer InternalClone() const override;
71 
72  virtual bool IsEqual(const BaseProperty& property) const override;
73  virtual bool Assign(const BaseProperty& property) override;
74 
75 };
76 
77 } // namespace mitk
78 
79 
80 
81 #endif /* _MITK_DOSE_ISO_LEVEL_SET_PROPERTY_H_ */
itk::SmartPointer< Self > Pointer
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKDICOMRT_EXPORT
Abstract base class for properties.
Property class for dose iso level vector.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Simple vector that stores dose iso levels.