ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkNrrdImageIO.h>
Public Types | |
typedef SmartPointer< Self > | Pointer |
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 &) |
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.
typedef SmartPointer< Self > itk::NrrdImageIO::Pointer |
Reimplemented from itk::ImageIOBase.
Definition at line 43 of file itkNrrdImageIO.h.
typedef NrrdImageIO itk::NrrdImageIO::Self |
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.
itk::NrrdImageIO::NrrdImageIO | ( | ) | [protected] |
itk::NrrdImageIO::~NrrdImageIO | ( | ) | [protected] |
itk::NrrdImageIO::NrrdImageIO | ( | const Self & | ) | [private] |
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.
int itk::NrrdImageIO::ITKToNrrdComponentType | ( | const ImageIOBase::IOComponentType | ) | const [protected] |
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.
ImageIOBase::IOComponentType itk::NrrdImageIO::NrrdToITKComponentType | ( | const int | ) | const [protected] |
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.