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

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

Read and write the "Nearly Raw Raster Data" (Nrrd) image format. The Nrrd format was developed as part of the Teem package (teem.sourceforge.net). More...

#include <itkNrrdImageIO.h>

Inheritance diagram for itk::NrrdImageIO:

Inheritance graph
[legend]
Collaboration diagram for itk::NrrdImageIO:

Collaboration graph
[legend]
List of all members.

Public Types

typedef NrrdImageIO Self
typedef ImageIOBase Superclass
typedef SmartPointer< SelfPointer

Public Member Functions

virtual const char * GetNameOfClass () const
virtual bool SupportsDimension (unsigned long)
virtual bool CanReadFile (const char *)
virtual void ReadImageInformation ()
virtual void Read (void *buffer)
virtual bool CanWriteFile (const char *)
virtual void WriteImageInformation ()
virtual void Write (const void *buffer)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 NrrdImageIO ()
 ~NrrdImageIO ()
void PrintSelf (std::ostream &os, Indent indent) const
int ITKToNrrdComponentType (const ImageIOBase::IOComponentType) const
ImageIOBase::IOComponentType NrrdToITKComponentType (const int) const

Detailed Description

Read and write the "Nearly Raw Raster Data" (Nrrd) image format. The Nrrd format was developed as part of the Teem package (teem.sourceforge.net).

Definition at line 39 of file itkNrrdImageIO.h.


Member Typedef Documentation

typedef SmartPointer<Self> itk::NrrdImageIO::Pointer
 

Reimplemented from itk::ImageIOBase.

Definition at line 45 of file itkNrrdImageIO.h.

typedef NrrdImageIO itk::NrrdImageIO::Self
 

Standard class typedefs.

Reimplemented from itk::ImageIOBase.

Definition at line 43 of file itkNrrdImageIO.h.

typedef ImageIOBase itk::NrrdImageIO::Superclass
 

Reimplemented from itk::ImageIOBase.

Definition at line 44 of file itkNrrdImageIO.h.


Constructor & Destructor Documentation

itk::NrrdImageIO::NrrdImageIO  )  [inline, protected]
 

Definition at line 82 of file itkNrrdImageIO.h.

itk::NrrdImageIO::~NrrdImageIO  )  [inline, protected]
 

Definition at line 83 of file itkNrrdImageIO.h.


Member Function Documentation

virtual bool itk::NrrdImageIO::CanReadFile const char *   )  [virtual]
 

Determine the file type. Returns true if this ImageIO can read the file specified.

Implements itk::ImageIOBase.

virtual bool itk::NrrdImageIO::CanWriteFile const char *   )  [virtual]
 

Determine the file type. Returns true if this ImageIO can write the file specified.

Implements itk::ImageIOBase.

virtual const char* itk::NrrdImageIO::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageIOBase.

int itk::NrrdImageIO::ITKToNrrdComponentType const ImageIOBase::IOComponentType   )  const [protected]
 

Utility functions for converting between enumerated data type representations

Pointer itk::NrrdImageIO::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

ImageIOBase::IOComponentType itk::NrrdImageIO::NrrdToITKComponentType const  int  )  const [protected]
 

Utility functions for converting between enumerated data type representations

void itk::NrrdImageIO::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ImageIOBase.

virtual void itk::NrrdImageIO::Read void *  buffer  )  [virtual]
 

Reads the data from disk into the memory buffer provided.

Implements itk::ImageIOBase.

virtual void itk::NrrdImageIO::ReadImageInformation  )  [virtual]
 

Set the spacing and dimension information for the set filename.

Implements itk::ImageIOBase.

virtual bool itk::NrrdImageIO::SupportsDimension unsigned  long  )  [virtual]
 

The different types of ImageIO's can support data of varying dimensionality. For example, some file formats are strictly 2D while others can support 2D, 3D, or even n-D. This method returns true/false as to whether the ImageIO can support the dimension indicated.

Reimplemented from itk::ImageIOBase.

virtual void itk::NrrdImageIO::Write const void *  buffer  )  [virtual]
 

Writes the data to disk from the memory buffer provided. Make sure that the IORegions has been set properly.

Implements itk::ImageIOBase.

virtual void itk::NrrdImageIO::WriteImageInformation  )  [virtual]
 

Set the spacing and dimension information for the set filename.

Implements itk::ImageIOBase.


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:58:43 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000