ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
itk::GiplImageIO Class Reference

Read GiplImage file format. More...

#include <itkGiplImageIO.h>

Inheritance diagram for itk::GiplImageIO:
Collaboration diagram for itk::GiplImageIO:

List of all members.

Public Types

typedef SmartPointer< SelfPointer
typedef GiplImageIO 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
 GiplImageIO ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void Read (void *buffer)
virtual void ReadImageInformation ()
virtual void Write (const void *buffer)
virtual void WriteImageInformation ()
 ~GiplImageIO ()

Static Public Member Functions

static Pointer New ()

Private Member Functions

bool CheckExtension (const char *)
 GiplImageIO (const Self &)
void operator= (const Self &)
void SwapBytesIfNecessary (void *buffer, SizeValueType numberOfPixels)

Private Attributes

std::ifstream m_Ifstream
GiplImageIOInternals * m_Internal
bool m_IsCompressed
std::ofstream m_Ofstream

Detailed Description

Read GiplImage file format.

Definition at line 38 of file itkGiplImageIO.h.


Member Typedef Documentation

Reimplemented from itk::ImageIOBase.

Definition at line 44 of file itkGiplImageIO.h.

Standard class typedefs.

Reimplemented from itk::ImageIOBase.

Definition at line 42 of file itkGiplImageIO.h.

Reimplemented from itk::ImageIOBase.

Definition at line 43 of file itkGiplImageIO.h.


Constructor & Destructor Documentation

itk::GiplImageIO::GiplImageIO ( )
itk::GiplImageIO::~GiplImageIO ( )
itk::GiplImageIO::GiplImageIO ( const Self ) [private]

Member Function Documentation

virtual bool itk::GiplImageIO::CanReadFile ( const char *  ) [virtual]

Determine the file type. Returns true if this ImageIO can read the file specified.

Implements itk::ImageIOBase.

virtual bool itk::GiplImageIO::CanWriteFile ( const char *  ) [virtual]

Determine the file type. Returns true if this ImageIO can write the file specified.

Implements itk::ImageIOBase.

bool itk::GiplImageIO::CheckExtension ( const char *  ) [private]
virtual::itk::LightObject::Pointer itk::GiplImageIO::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::GiplImageIO::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageIOBase.

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

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

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

This method causes the filter to generate its output.

Reimplemented from itk::ImageIOBase.

void itk::GiplImageIO::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [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::GiplImageIO::Read ( void *  buffer) [virtual]

Reads the data from disk into the memory buffer provided.

Implements itk::ImageIOBase.

virtual void itk::GiplImageIO::ReadImageInformation ( ) [virtual]

Set the spacing and dimension information for the set filename.

Implements itk::ImageIOBase.

void itk::GiplImageIO::SwapBytesIfNecessary ( void *  buffer,
SizeValueType  numberOfPixels 
) [private]
virtual void itk::GiplImageIO::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::GiplImageIO::WriteImageInformation ( ) [virtual]

Set the spacing and dimension information for the set filename.

Implements itk::ImageIOBase.


Member Data Documentation

std::ifstream itk::GiplImageIO::m_Ifstream [private]

Definition at line 89 of file itkGiplImageIO.h.

GiplImageIOInternals* itk::GiplImageIO::m_Internal [private]

Definition at line 93 of file itkGiplImageIO.h.

Definition at line 91 of file itkGiplImageIO.h.

std::ofstream itk::GiplImageIO::m_Ofstream [private]

Definition at line 90 of file itkGiplImageIO.h.


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