Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkGlobalRegistrationFramework.h

00001 /*=========================================================================
00002 
00003   Program:   3DMed
00004   Date:      $Date: 2014-02-25 18:30:00 +0800 $
00005   Version:   $Version: 4.6.0 $
00006   Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences
00007 
00008 =========================================================================*/
00009 
00010 
00011 #ifndef __mitkGlobalRegistrationFramework_h
00012 #define __mitkGlobalRegistrationFramework_h
00013 
00014 #include "mitkRegistrationIncludes.h"
00015 #include "mitkGlobal.h"
00016 
00017 #include "mitk_nl/mitk_nl_matrix.h"
00018 #include "mitkMatrixD.h"
00019 
00022 
00023 // Basic data types for mitk registration framework
00024 typedef double                  mitkMatrixScalarType;
00025 typedef mitkMatrixD             mitkMatrixType;
00026 
00027 typedef mitk_nl_matrix<double>  MatrixType;
00028 typedef mitk_nl_vector<double>  ArrayType;
00029 
00030 
00031 // Handle MSVC compiler warning messages
00032 #if defined(MITK_CC_MSVC)
00033     #pragma warning(disable:4251)
00034 #endif
00035 
00036 // Preprocessor definition for OoC Registration framework
00037 #define MITK_REGISTRATION_VER_OOC
00038 
00039 // Preprocessor definition for debug info output during image registration
00040 // #define MITK_REGISTRATION_VERBOSE
00041 
00042 // Preprocessor definition for using kd-tree point set structure to accelerate points indexing speed
00043 #define MITK_REGISTRATION_USE_KDTREE
00044 
00045 // Preprocessor definition for using histogram in image metric class
00046 // #define MITK_REGISTRATION_USE_HISTOGRAM
00047 
00048 // Global functions for MITK Registration Framework
00049 namespace MITK_REG_GLOBAL
00050 {
00051 
00052 static void RegMessage(const char *msgBuf)
00053 {
00054 
00055 #if defined(MITK_OS_WIN32)
00056     MessageBox(NULL, (LPCTSTR)msgBuf, (LPCTSTR)"MITK Registration Message", MB_ICONINFORMATION | MB_OK);
00057 #else
00058     printf("%s", msgBuf);
00059 #endif
00060 }
00061 
00062 } // End namespace MITK_REG_GLOBAL
00063 
00064 
00065 
00066 #endif
00067 

Generated on Tue Feb 25 15:00:37 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3