ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBioRadImageIO.h>
Public Types | |
typedef SmartPointer< Self > | Pointer |
typedef BioRadImageIO | 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 void | Write (const void *buffer) |
virtual void | WriteImageInformation () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
BioRadImageIO () | |
void | InternalReadImageInformation (std::ifstream &file) |
bool | OpenBioRadFileForReading (std::ifstream &os, const char *filename) |
bool | OpenBioRadFileForWriting (std::ofstream &os, const char *filename) |
void | PrintSelf (std::ostream &os, Indent indent) const |
~BioRadImageIO () | |
Private Member Functions | |
BioRadImageIO (const Self &) | |
void | operator= (const Self &) |
ImageIO class for reading Bio-Rad images. Bio-Rad file format are used by confocal micropscopes like MRC 1024, MRC 600 http://www.bio-rad.com/.
The reader/writer was based on a scanned copy of the MRC-600 documentation http://forums.ni.com/attachments/ni/200/7567/1/file%20format.pdf
Definition at line 49 of file itkBioRadImageIO.h.
typedef SmartPointer< Self > itk::BioRadImageIO::Pointer |
Reimplemented from itk::ImageIOBase.
Definition at line 55 of file itkBioRadImageIO.h.
Standard class typedefs.
Reimplemented from itk::ImageIOBase.
Definition at line 53 of file itkBioRadImageIO.h.
Reimplemented from itk::ImageIOBase.
Definition at line 54 of file itkBioRadImageIO.h.
itk::BioRadImageIO::BioRadImageIO | ( | ) | [protected] |
itk::BioRadImageIO::~BioRadImageIO | ( | ) | [protected] |
itk::BioRadImageIO::BioRadImageIO | ( | const Self & | ) | [private] |
virtual bool itk::BioRadImageIO::CanReadFile | ( | const char * | ) | [virtual] |
Determine the file type. Returns true if this ImageIO can read the file specified.
Implements itk::ImageIOBase.
virtual bool itk::BioRadImageIO::CanWriteFile | ( | const char * | ) | [virtual] |
Determine the file type. Returns true if this ImageIO can read the file specified.
Implements itk::ImageIOBase.
virtual::itk::LightObject::Pointer itk::BioRadImageIO::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::BioRadImageIO::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageIOBase.
void itk::BioRadImageIO::InternalReadImageInformation | ( | std::ifstream & | file | ) | [protected] |
static Pointer itk::BioRadImageIO::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::LightProcessObject.
bool itk::BioRadImageIO::OpenBioRadFileForReading | ( | std::ifstream & | os, |
const char * | filename | ||
) | [protected] |
bool itk::BioRadImageIO::OpenBioRadFileForWriting | ( | std::ofstream & | os, |
const char * | filename | ||
) | [protected] |
void itk::BioRadImageIO::operator= | ( | const Self & | ) | [private] |
This method causes the filter to generate its output.
Reimplemented from itk::ImageIOBase.
void itk::BioRadImageIO::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::BioRadImageIO::Read | ( | void * | buffer | ) | [virtual] |
Reads the data from disk into the memory buffer provided.
Implements itk::ImageIOBase.
virtual void itk::BioRadImageIO::ReadImageInformation | ( | ) | [virtual] |
Set the spacing and dimesion information for the current filename.
Implements itk::ImageIOBase.
virtual void itk::BioRadImageIO::Write | ( | const void * | buffer | ) | [virtual] |
Writes the data to disk from the memory buffer provided. Make sure that the IORegion has been set properly.
Implements itk::ImageIOBase.
virtual void itk::BioRadImageIO::WriteImageInformation | ( | void | ) | [inline, virtual] |
Writes the spacing and dimentions of the image. Assumes SetFileName has been called with a valid file name.
Implements itk::ImageIOBase.
Definition at line 83 of file itkBioRadImageIO.h.