ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Member Functions | List of all members
itk::IOCommon Class Reference

#include <itkIOCommon.h>

Detailed Description

Centralized funtionality for IO classes.

This class provides encapsulated functionality to support the IO classes.

Definition at line 37 of file itkIOCommon.h.

Public Types

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

Static Public Member Functions

static std::string AtomicPixelTypeToString (const AtomicPixelType pixelType)
 
static unsigned int ComputeSizeOfAtomicPixelType (const AtomicPixelType pixelType)
 

Member Enumeration Documentation

Enumerator
ITK_UCHAR 
ITK_CHAR 
ITK_USHORT 
ITK_SHORT 
ITK_UINT 
ITK_INT 
ITK_ULONG 
ITK_LONG 
ITK_FLOAT 
ITK_DOUBLE 

Definition at line 44 of file itkIOCommon.h.

Enumerator
MAX_FILENAMELIST_SIZE 

Maximum length of a filename

Definition at line 40 of file itkIOCommon.h.

Member Function Documentation

static std::string itk::IOCommon::AtomicPixelTypeToString ( const AtomicPixelType  pixelType)
static

Convert the enumerated type to a string representation.

static unsigned int itk::IOCommon::ComputeSizeOfAtomicPixelType ( const AtomicPixelType  pixelType)
static

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


The documentation for this class was generated from the following file: