fw4spl
itk::InrImageIO Class Reference

Class that defines how to read/write in the InrImage file format. More...

#include <itkInrImageIO.hpp>

+ Inheritance diagram for itk::InrImageIO:
+ Collaboration diagram for itk::InrImageIO:

Public Types

typedef InrImageIO Self
 
typedef ImageIOBase SuperClass
 
typedef SmartPointer< SelfPointer
 

Public Member Functions

 itkNewMacro (Self) itkTypeMacro(InrImageIO
 
virtual Superclass bool CanReadFile (const char *FileNameToRead) override
 
virtual void ReadImageInformation () override
 
virtual void Read (void *buffer) override
 
virtual bool CanWriteFile (const char *FileNameToWrite) override
 
virtual void WriteImageInformation () override
 
virtual void Write (const void *buffer) override
 

Protected Member Functions

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

Detailed Description

Class that defines how to read/write in the InrImage file format.

Definition at line 24 of file itkInrImageIO.hpp.

Member Typedef Documentation

Standard typedef's

Definition at line 28 of file itkInrImageIO.hpp.

Member Function Documentation

bool itk::InrImageIO::CanReadFile ( const char *  FileNameToRead)
overridevirtual

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

Parameters
FileNameToReadThe 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.

Definition at line 55 of file itkInrImageIO.cpp.

bool itk::InrImageIO::CanWriteFile ( const char *  FileNameToWrite)
overridevirtual

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

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

Definition at line 568 of file itkInrImageIO.cpp.

itk::InrImageIO::itkNewMacro ( Self  )

Method for creation through the object factory. Run-time type information (and related methods).

void itk::InrImageIO::Read ( void *  buffer)
overridevirtual

Reads the data from disk into the memory buffer provided.

Definition at line 409 of file itkInrImageIO.cpp.

void itk::InrImageIO::ReadImageInformation ( )
overridevirtual

Set the spacing and dimension information for the set filename.

Definition at line 83 of file itkInrImageIO.cpp.

References OSLM_TRACE.

void itk::InrImageIO::Write ( const void *  buffer)
overridevirtual

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

Definition at line 733 of file itkInrImageIO.cpp.

References WriteImageInformation().

+ Here is the call graph for this function:

void itk::InrImageIO::WriteImageInformation ( )
overridevirtual

Set the spacing and dimension information for the set filename.

Definition at line 590 of file itkInrImageIO.cpp.

Referenced by Write().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: