ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
itk::NrrdImageIO Class Reference

#include <itkNrrdImageIO.h>

+ Inheritance diagram for itk::NrrdImageIO:
+ Collaboration diagram for itk::NrrdImageIO:

List of all members.

Public Types

typedef SmartPointer< SelfPointer
typedef NrrdImageIO Self
typedef ImageIOBase Superclass

Public Member Functions

virtual bool CanReadFile (const char *)
virtual bool CanWriteFile (const char *)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual void Read (void *buffer)
virtual void ReadImageInformation ()
virtual bool SupportsDimension (unsigned long)
virtual void Write (const void *buffer)
virtual void WriteImageInformation ()

Static Public Member Functions

static Pointer New ()

Protected Member Functions

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

Private Member Functions

 NrrdImageIO (const Self &)
void operator= (const Self &)

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 37 of file itkNrrdImageIO.h.


Member Typedef Documentation

Reimplemented from itk::ImageIOBase.

Definition at line 43 of file itkNrrdImageIO.h.

Standard class typedefs.

Reimplemented from itk::ImageIOBase.

Definition at line 41 of file itkNrrdImageIO.h.

Reimplemented from itk::ImageIOBase.

Definition at line 42 of file itkNrrdImageIO.h.


Constructor & Destructor Documentation

itk::NrrdImageIO::NrrdImageIO ( const Self ) [private]

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::itk::LightObject::Pointer itk::NrrdImageIO::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LightProcessObject.

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

Run-time type information (and related methods).

Reimplemented from itk::ImageIOBase.

Utility functions for converting between enumerated data type representations

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

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

void itk::NrrdImageIO::operator= ( const Self ) [private]

This method causes the filter to generate its output.

Reimplemented from itk::ImageIOBase.

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: