00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision$ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 00019 #ifndef MITKLookupTablePROPERTY_H_HEADER_INCLUDED_C10EEAA8 00020 #define MITKLookupTablePROPERTY_H_HEADER_INCLUDED_C10EEAA8 00021 00022 #include "mitkCommon.h" 00023 #include "mitkBaseProperty.h" 00024 #include "mitkLookupTable.h" 00025 00026 namespace mitk { 00027 00028 //##Documentation 00029 //## @brief Property for LookupTable data 00030 //## 00031 //## @ingroup DataManagement 00032 class MITK_CORE_EXPORT LookupTableProperty : public BaseProperty 00033 { 00034 00035 protected: 00036 LookupTable::Pointer m_LookupTable; 00037 00038 LookupTableProperty(); 00039 00040 LookupTableProperty(const mitk::LookupTable::Pointer lut); 00041 00042 // LookupTableProperty(const mitk::LookupTable& aLookupTable); 00043 00044 public: 00045 mitkClassMacro(LookupTableProperty, BaseProperty); 00046 00047 itkNewMacro(LookupTableProperty); 00048 mitkNewMacro1Param(LookupTableProperty, const mitk::LookupTable::Pointer); 00049 00050 virtual ~LookupTableProperty(); 00051 00052 virtual bool operator==(const BaseProperty& property) const; 00053 00054 itkGetObjectMacro(LookupTable, LookupTable ); 00055 00056 void SetLookupTable(const mitk::LookupTable::Pointer aLookupTable); 00057 00058 }; 00059 00060 } // namespace mitk 00061 00062 00063 00064 #endif /* MITKLookupTablePROPERTY_H_HEADER_INCLUDED_C10EEAA8 */