Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkTransferFunctionProperty.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 #ifndef mitkTransferFunctionProperty_h
13 #define mitkTransferFunctionProperty_h
14 
15 #include "mitkBaseProperty.h"
16 #include "mitkTransferFunction.h"
17 
18 namespace mitk
19 {
20 #ifdef _MSC_VER
21 #pragma warning(push)
22 #pragma warning(disable : 4522)
23 #endif
24 
37  {
38  public:
40 
42 
43  itkFactorylessNewMacro(Self);
44 
45  itkCloneMacro(Self)
47 
48  itkSetMacro(Value, mitk::TransferFunction::Pointer);
49  itkGetConstMacro(Value, mitk::TransferFunction::Pointer);
50 
51  std::string GetValueAsString() const override;
52 
53  using BaseProperty::operator=;
54 
55  protected:
57 
60 
62 
63  private:
64  // purposely not implemented
66 
67  itk::LightObject::Pointer InternalClone() const override;
68 
69  bool IsEqual(const BaseProperty &property) const override;
70  bool Assign(const BaseProperty &property) override;
71  };
72 
73 #ifdef _MSC_VER
74 #pragma warning(pop)
75 #endif
76 
77 } // namespace mitk
78 
79 #endif
mitk::BaseProperty
Abstract base class for properties.
Definition: mitkBaseProperty.h:35
mitkTransferFunction.h
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
itk::SmartPointer< Self >
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::TransferFunctionProperty
The TransferFunctionProperty class Property class for the mitk::TransferFunction.
Definition: mitkTransferFunctionProperty.h:36
mitk::TransferFunctionProperty::ValueType
mitk::TransferFunction::Pointer ValueType
Definition: mitkTransferFunctionProperty.h:39
itk
SET FUNCTIONS.
Definition: itkIntelligentBinaryClosingFilter.h:30
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::TransferFunction
The TransferFunction class A wrapper class for VTK scalar opacity, gradient opacity,...
Definition: mitkTransferFunction.h:55
mitkBaseProperty.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15