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

itk::IOCommon Class Reference
[Input and Output Filters]

Centralized funtionality for IO classes. More...

#include <itkIOCommon.h>

List of all members.

Public Types

enum  ValidOrientationFlags
enum  SysConstants { MAX_FILENAMELIST_SIZE = 512 }
enum  AtomicPixelType {
  ITK_UCHAR, ITK_CHAR, ITK_USHORT, ITK_SHORT,
  ITK_UINT, ITK_INT, ITK_ULONG, ITK_LONG,
  ITK_FLOAT, ITK_DOUBLE
}

Static Public Member Functions

std::string AtomicPixelTypeToString (const AtomicPixelType pixelType)
unsigned int ComputeSizeOfAtomicPixelType (const AtomicPixelType pixelType)
char * ExtractFilePath (const char *fileName)
char * ExtractFileExtension (const char *fileName)
char * ExtractFileName (const char *fileName)
bool FileExists (const char *filename)


Detailed Description

Centralized funtionality for IO classes.

This class provides encapsulated functionality to support the IO classes.

Definition at line 39 of file itkIOCommon.h.


Member Enumeration Documentation

enum itk::IOCommon::AtomicPixelType
 

Enumeration values:
ITK_UCHAR 
ITK_CHAR 
ITK_USHORT 
ITK_SHORT 
ITK_UINT 
ITK_INT 
ITK_ULONG 
ITK_LONG 
ITK_FLOAT 
ITK_DOUBLE 
Definition at line 77 of file itkIOCommon.h.

enum itk::IOCommon::SysConstants
 

Enumeration values:
MAX_FILENAMELIST_SIZE  Maximum length of a filename
Definition at line 71 of file itkIOCommon.h.

enum itk::IOCommon::ValidOrientationFlags
 

Valid Orientation values for objects

  • Key Description Origin dims[1] dims[2] dims[3]
  • =================================================================
  • 0 transverse-unflipped IRP R->L P->A I->S
  • 1 coronal-unflipped IRP R->L I->S P->A
  • 2 sagittal-unflipped IRP P->A I->S R->L
  • 3 transverse-flipped IRA R->L A->P I->S
  • 4 coronal-flipped SRP R->L S->I P->A
  • 5 sagittal-flipped ILP P->A I->S L->R
  • Where the Origin disignators are with respect to the patient
  • [(I)nferior|(S)uperior] [(L}eft|(R)ight] [(A)nterior|(P)osterior]
    Note:
    Key's 0-5 correspond to the Analyze v7.5 orientations, and should not be changed.
Definition at line 57 of file itkIOCommon.h.


Member Function Documentation

std::string itk::IOCommon::AtomicPixelTypeToString const AtomicPixelType  pixelType  )  [static]
 

Convert the enumerated type to a string representation.

unsigned int itk::IOCommon::ComputeSizeOfAtomicPixelType const AtomicPixelType  pixelType  )  [static]
 

Calculate the size, in bytes, that the atomic pixel type occupies.

char* itk::IOCommon::ExtractFileExtension const char *  fileName  )  [static]
 

Given a full filename, extracts just the file extension.

char* itk::IOCommon::ExtractFileName const char *  fileName  )  [static]
 

Given a full filename, extracts just the filename.

char* itk::IOCommon::ExtractFilePath const char *  fileName  )  [static]
 

Given a full filename, extracts just the pathname.

bool itk::IOCommon::FileExists const char *  filename  )  [static]
 

Given a filename determine whether it exists and return true if it does.


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 03:02:17 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000