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

itk::Brains2MaskImageIO Class Reference

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

#include <itkBrains2MaskImageIO.h>

Inheritance diagram for itk::Brains2MaskImageIO:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef Brains2MaskImageIO Self
typedef ImageIOBase Superclass
typedef SmartPointer< SelfPointer

Public Member Functions

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 Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

Class that defines how to read Brains2Mask file format.

Author:
Hans J. Johnson

Definition at line 58 of file itkBrains2MaskImageIO.h.


Member Typedef Documentation

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

Reimplemented from itk::ImageIOBase.

Definition at line 65 of file itkBrains2MaskImageIO.h.

typedef Brains2MaskImageIO itk::Brains2MaskImageIO::Self
 

Standard class typedefs.

Reimplemented from itk::ImageIOBase.

Definition at line 63 of file itkBrains2MaskImageIO.h.

typedef ImageIOBase itk::Brains2MaskImageIO::Superclass
 

Reimplemented from itk::ImageIOBase.

Definition at line 64 of file itkBrains2MaskImageIO.h.


Constructor & Destructor Documentation

itk::Brains2MaskImageIO::Brains2MaskImageIO  )  [protected]
 

itk::Brains2MaskImageIO::~Brains2MaskImageIO  )  [protected]
 


Member Function Documentation

virtual bool itk::Brains2MaskImageIO::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::Brains2MaskImageIO::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::Brains2MaskImageIO::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageIOBase.

virtual unsigned int itk::Brains2MaskImageIO::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::Brains2MaskImageIO::GetPixelType  )  const [virtual]
 

Get the type of the pixel.

Reimplemented from itk::ImageIOBase.

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

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

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

Reads the data from disk into the memory buffer provided.

Implements itk::ImageIOBase.

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

Set the spacing and dimension information for the set filename.

Implements itk::ImageIOBase.

virtual void itk::Brains2MaskImageIO::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::Brains2MaskImageIO::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 Sun Apr 1 03:14:39 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000