00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkImageIOCommon_h
00018 #define __itkImageIOCommon_h
00019
00020 #include "itkIntTypes.h"
00021 #include "itkProcessObject.h"
00022 #include "itkObjectFactory.h"
00023 #include <string>
00024 #include "itkIndent.h"
00025 #include <deque>
00026 #include <ctype.h>
00027
00028 namespace itk
00029 {
00030
00031 typedef enum
00032 {
00033 ITK_UCHAR,
00034 ITK_CHAR,
00035 ITK_USHORT,
00036 ITK_SHORT,
00037 ITK_UINT,
00038 ITK_INT,
00039 ITK_ULONG,
00040 ITK_LONG,
00041 ITK_FLOAT,
00042 ITK_DOUBLE
00043 } AtomicPixelType;
00044
00045 const unsigned int ITK_MAX_DIMENSIONS = 10;
00046
00048 std::string AtomicPixelTypeToString(const AtomicPixelType pixelType);
00049
00051 unsigned int ComputeSizeOfAtomicPixelType(const AtomicPixelType pixelType);
00052
00056 int Strucmp(const char *s1, const char *s2);
00057
00059 char* ExtractFilePath (const char* fileName);
00060
00062 char* ExtractFileExtension (const char* fileName);
00063
00065 char* ExtractFileName (const char* fileName);
00066
00067 }
00068
00069 #endif // __itkImageIOCommon_h