Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkImageIOCommon.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkImageIOCommon.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/01/15 18:56:46 $
00007   Version:   $Revision: 1.7 $
00008 
00009   Copyright (c) 2002 Insight Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm 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 #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,              // aka uint8_t
00034   ITK_CHAR,
00035   ITK_USHORT,             // aka uint16_t
00036   ITK_SHORT,
00037   ITK_UINT,               // aka uint32_t
00038   ITK_INT,
00039   ITK_ULONG,              // aka uint64_t
00040   ITK_LONG,
00041   ITK_FLOAT,
00042   ITK_DOUBLE
00043 } AtomicPixelType;        // enumerated constants for the different data types
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 } // end namespace itk
00068 
00069 #endif // __itkImageIOCommon_h

Generated at Wed Mar 12 01:13:00 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000