irtkImageToFile Class Reference

#include <irtkImageToFile.h>

Inheritance diagram for irtkImageToFile:

Inheritance graph
Collaboration diagram for irtkImageToFile:

Collaboration graph

List of all members.

Detailed Description

Abstract base class for any general image to file filter.

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 ()
virtual ~irtkImageToFile ()
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 irtkImageToFileNew (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.

Member Function Documentation

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.

Member Data Documentation

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.

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