ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkPNGImageIO.h>
Public Types | |
typedef SmartPointer< Self > | Pointer |
typedef PNGImageIO | 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 | ReadVolume (void *buffer) |
virtual void | Write (const void *buffer) |
virtual void | WriteImageInformation () |
virtual void | SetCompressionLevel (int _arg) |
virtual int | GetCompressionLevel () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
PNGImageIO () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | WriteSlice (const std::string &fileName, const void *buffer) |
~PNGImageIO () | |
int | m_CompressionLevel |
PNGImageIO (const Self &) | |
void | operator= (const Self &) |
ImageIO object for reading and writing PNG images.
Definition at line 34 of file itkPNGImageIO.h.
typedef SmartPointer< Self > itk::PNGImageIO::Pointer |
Reimplemented from itk::ImageIOBase.
Definition at line 40 of file itkPNGImageIO.h.
typedef PNGImageIO itk::PNGImageIO::Self |
Standard class typedefs.
Reimplemented from itk::ImageIOBase.
Definition at line 38 of file itkPNGImageIO.h.
Reimplemented from itk::ImageIOBase.
Definition at line 39 of file itkPNGImageIO.h.
itk::PNGImageIO::PNGImageIO | ( | ) | [protected] |
itk::PNGImageIO::~PNGImageIO | ( | ) | [protected] |
itk::PNGImageIO::PNGImageIO | ( | const Self & | ) | [private] |
Determines the level of compression for written files. Range 0-9; 0 = none, 9 = maximum , default = 4
virtual bool itk::PNGImageIO::CanReadFile | ( | const char * | ) | [virtual] |
Determine the file type. Returns true if this ImageIO can read the file specified.
Implements itk::ImageIOBase.
virtual bool itk::PNGImageIO::CanWriteFile | ( | const char * | ) | [virtual] |
Determine the file type. Returns true if this ImageIO can write the file specified.
Implements itk::ImageIOBase.
virtual::itk::LightObject::Pointer itk::PNGImageIO::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 int itk::PNGImageIO::GetCompressionLevel | ( | ) | const [virtual] |
Set/Get the level of compression for the output images. 0-9; 0 = none, 9 = maximum.
virtual const char* itk::PNGImageIO::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageIOBase.
static Pointer itk::PNGImageIO::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::LightProcessObject.
void itk::PNGImageIO::operator= | ( | const Self & | ) | [private] |
Determines the level of compression for written files. Range 0-9; 0 = none, 9 = maximum , default = 4
Reimplemented from itk::ImageIOBase.
void itk::PNGImageIO::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::PNGImageIO::Read | ( | void * | buffer | ) | [virtual] |
Reads the data from disk into the memory buffer provided.
Implements itk::ImageIOBase.
virtual void itk::PNGImageIO::ReadImageInformation | ( | ) | [virtual] |
Set the spacing and dimension information for the set filename.
Implements itk::ImageIOBase.
virtual void itk::PNGImageIO::ReadVolume | ( | void * | buffer | ) | [virtual] |
Reads 3D data from multiple files assuming one slice per file.
virtual void itk::PNGImageIO::SetCompressionLevel | ( | int | _arg | ) | [virtual] |
Set/Get the level of compression for the output images. 0-9; 0 = none, 9 = maximum.
virtual void itk::PNGImageIO::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::PNGImageIO::WriteImageInformation | ( | ) | [virtual] |
Writes the spacing and dimentions of the image. Assumes SetFileName has been called with a valid file name.
Implements itk::ImageIOBase.
void itk::PNGImageIO::WriteSlice | ( | const std::string & | fileName, |
const void * | buffer | ||
) | [protected] |
int itk::PNGImageIO::m_CompressionLevel [protected] |
Determines the level of compression for written files. Range 0-9; 0 = none, 9 = maximum , default = 4
Definition at line 92 of file itkPNGImageIO.h.