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

itk::AnalyzeImageIO Class Reference

Class that defines how to read Analyze file format. More...

#include <itkAnalyzeImageIO.h>

Inheritance diagram for itk::AnalyzeImageIO:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef AnalyzeImageIO Self
typedef ImageIOBase Superclass
typedef SmartPointer< SelfPointer

Public Methods

virtual const char * GetClassName () const
virtual bool CanReadFile (const char *FileNameToRead)
virtual void ReadImageInformation ()
virtual const std::type_info & GetPixelType () const
virtual void Read (void *buffer)
virtual unsigned int GetComponentSize () const
virtual bool CanWriteFile (const char *FileNameToWrite)
virtual void WriteImageInformation ()
virtual void Write (const void *buffer)

Static Public Methods

Pointer New ()

Protected Methods

 AnalyzeImageIO ()
 ~AnalyzeImageIO ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

Class that defines how to read Analyze file format.

Author:
Hans J. Johnson

Definition at line 68 of file itkAnalyzeImageIO.h.


Member Typedef Documentation

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

Reimplemented from itk::ImageIOBase.

Definition at line 75 of file itkAnalyzeImageIO.h.

typedef AnalyzeImageIO itk::AnalyzeImageIO::Self
 

Standard class typedefs.

Reimplemented from itk::ImageIOBase.

Definition at line 73 of file itkAnalyzeImageIO.h.

typedef ImageIOBase itk::AnalyzeImageIO::Superclass
 

Reimplemented from itk::ImageIOBase.

Definition at line 74 of file itkAnalyzeImageIO.h.


Constructor & Destructor Documentation

itk::AnalyzeImageIO::AnalyzeImageIO   [protected]
 

itk::AnalyzeImageIO::~AnalyzeImageIO   [protected]
 


Member Function Documentation

virtual bool itk::AnalyzeImageIO::CanReadFile const char *    FileNameToRead [virtual]
 

Determine if the file can be read with this ImageIO implementation.

Author:
Hans J Johnson
Parameters:
FileNameToRead  The name of the file to test for reading.
Postcondition:
Sets classes ImageIOBase::m_FileName variable to be FileNameToWrite
Returns:
Returns true if this ImageIO can read the file specified.

Implements itk::ImageIOBase.

virtual bool itk::AnalyzeImageIO::CanWriteFile const char *    FileNameToWrite [virtual]
 

Determine if the file can be written with this ImageIO implementation.

Parameters:
FileNameToWrite  The name of the file to test for writing.
Author:
Hans J. Johnson
Postcondition:
Sets classes ImageIOBase::m_FileName variable to be FileNameToWrite
Returns:
Returns true if this ImageIO can write the file specified.

Implements itk::ImageIOBase.

virtual const char* itk::AnalyzeImageIO::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageIOBase.

virtual unsigned int itk::AnalyzeImageIO::GetComponentSize   const [virtual]
 

Compute the size (in bytes) of the components of a pixel. For example, and RGB pixel of unsigned char would have a component size of 1 byte.

Reimplemented from itk::ImageIOBase.

virtual const std::type_info& itk::AnalyzeImageIO::GetPixelType   const [virtual]
 

Get the type of the pixel.

Reimplemented from itk::ImageIOBase.

Pointer itk::AnalyzeImageIO::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

void itk::AnalyzeImageIO::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::AnalyzeImageIO::Read void *    buffer [virtual]
 

Reads the data from disk into the memory buffer provided.

Implements itk::ImageIOBase.

virtual void itk::AnalyzeImageIO::ReadImageInformation   [virtual]
 

Set the spacing and dimension information for the set filename.

Implements itk::ImageIOBase.

virtual void itk::AnalyzeImageIO::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::AnalyzeImageIO::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 Fri May 21 01:18:06 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000