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 #ifndef mitkOrganTypeProperty_h_Included 00019 #define mitkOrganTypeProperty_h_Included 00020 00021 #include "mitkCommon.h" 00022 #include "MitkExtExports.h" 00023 #include "mitkEnumerationProperty.h" 00024 #include <itkObjectFactory.h> 00025 00026 namespace mitk 00027 { 00028 00038 class MitkExt_EXPORT OrganTypeProperty : public EnumerationProperty 00039 { 00040 public: 00041 00042 mitkClassMacro(OrganTypeProperty, EnumerationProperty); 00043 itkNewMacro(OrganTypeProperty); 00044 mitkNewMacro1Param(OrganTypeProperty, const IdType&); 00045 mitkNewMacro1Param(OrganTypeProperty, const std::string&); 00046 00047 protected: 00048 OrganTypeProperty(); 00049 OrganTypeProperty( const IdType& value ); 00050 OrganTypeProperty( const std::string& value ); 00051 00052 virtual ~OrganTypeProperty(); 00053 virtual void AddEnumerationTypes(); 00054 }; 00055 00056 } // namespace 00057 00058 #endif 00059 00060