00001 /*========================================================================= 00002 00003 Program: F.R.E.E. - flexible registration evaluation engine 00004 Version: v.1.0.0 00005 Date: $Date: 2006/09/01 12:00:00 $ 00006 Module: $RCSfile: freComponentID.h,v $ 00007 Language: C++ 00008 00009 00010 00011 Copyright (c) 2007 Ralf o Floca (Department of Medical Informatics, 00012 Institute for Medical Biometry and Informatics, University of Heidelberg, 00013 Germany). All rights reserved. 00014 See FREECopyright.txt or http://www.mi.med.uni-hd.de/free/copyright.htm 00015 for details. 00016 00017 This software is distributed WITHOUT ANY WARRANTY; without even 00018 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00019 PURPOSE. See the above copyright notices for more information. 00020 00021 =========================================================================*/ 00022 #ifndef __freComponentID_h 00023 #define __freComponentID_h 00024 00025 #include <string> 00026 00027 namespace FREE 00028 { 00029 00030 /* Type which represents the ID for components of RegistrationProcessors, 00031 * as used in CompetenceID */ 00032 typedef std::string ComponentID; 00033 00034 //Macro for generation of the external declaration of a component ID and its description 00035 #define ComponentExternMacro( CompID ) \ 00036 extern const char* const cComp_##CompID; \ 00037 extern const char* const cCompDsc_##CompID; 00038 00039 //Macro for generation of a component ID and its description 00040 #define ComponentMacro( CompID, sCompInfo ) \ 00041 const char* const cComp_##CompID = #CompID; \ 00042 const char* const cCompDsc_##CompID = sCompInfo; 00043 00044 // Defining general ComponentIDs used within F.R.E.E. 00045 ComponentExternMacro( NotDefined ); 00046 ComponentExternMacro( Section ); 00047 ComponentExternMacro( ROI ); 00048 ComponentExternMacro( MainInterpolator ); 00049 ComponentExternMacro( MainMetric ); 00050 ComponentExternMacro( MainTransform ); 00051 ComponentExternMacro( MainOptimizer ); 00052 00053 ComponentExternMacro( MediaFinal ); 00054 ComponentExternMacro( MediaFixed ); 00055 ComponentExternMacro( MediaMoving ); 00056 ComponentExternMacro( MediaInterim ); 00057 00058 } //end of namespace FREE 00059 00060 #endif
1.5.3 written by Dimitri van Heesch,
© 1997-2000