#include <irtkImageToFile.h>
This is the abstract base class which defines a common interface for all filters which take an image as input and produce an image file as output. Each derived class has to implement all of the abstract member functions.
Definition at line 27 of file irtkImageToFile.h.
Public Member Functions | |
irtkImageToFile () | |
Constructor. | |
virtual | ~irtkImageToFile () |
Destructor. | |
virtual void | SetInput (irtkImage *) |
Set input. | |
virtual void | SetOutput (const char *) |
Set output. | |
virtual void | Run () |
Write entire image. | |
virtual const char * | NameOfClass ()=0 |
Returns the name of the class. | |
Static Public Member Functions | |
static irtkImageToFile * | New (const char *) |
Static constructor. | |
Protected Member Functions | |
virtual void | Initialize () |
Initialize filter. | |
virtual void | Finalize () |
Finalize filter. | |
Protected Attributes | |
irtkImage * | _input |
Pointer to image for input. | |
char * | _output |
int | _start |
Start address of the data in the image file. | |
int | _reflectX |
Flag whether to reflect X axis. | |
int | _reflectY |
Flag whether to reflect Y axis. | |
int | _reflectZ |
Flag whether to reflect Z axis. |
static irtkImageToFile* irtkImageToFile::New | ( | const char * | ) | [static] |
Static constructor.
This constructor allocates a derived class which can be used to read the image file. This involves checking the file format of the file and dynamically allocating the corresonding derived class.
int irtkImageToFile::_start [protected] |
Start address of the data in the image file.
Should be initialized by calling Initialize().
Definition at line 41 of file irtkImageToFile.h.