00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date: 2009-10-23 11:12:48 +0200 (Fr, 23 Okt 2009) $ 00006 Version: $Revision: 1.12 $ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or http://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 #include "mitkBasePropertyDeserializer.h" 00019 #include "mitkTransferFunctionProperty.h" 00020 00021 #include "SceneSerializationBaseExports.h" 00022 00023 namespace mitk 00024 { 00025 00026 class SceneSerializationBase_EXPORT TransferFunctionPropertyDeserializer : public BasePropertyDeserializer 00027 { 00028 public: 00029 00030 mitkClassMacro( TransferFunctionPropertyDeserializer, BasePropertyDeserializer ); 00031 itkNewMacro(Self); 00032 00033 virtual BaseProperty::Pointer Deserialize(TiXmlElement* element); 00034 static TransferFunction::Pointer DeserializeTransferFunction( const char *filePath ); 00035 00036 00037 protected: 00038 00039 TransferFunctionPropertyDeserializer(); 00040 virtual ~TransferFunctionPropertyDeserializer(); 00041 }; 00042 00043 } // namespace 00044 00045 00046 00047 00048