Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkTIFFWriter Class Reference

mitkTIFFWriter - a concrete writer for writing a volume to TIFF image files More...

#include <mitkTIFFWriter.h>

Inherits mitkVolumeWriter.

Inheritance diagram for mitkTIFFWriter:

Inheritance graph
[legend]
Collaboration diagram for mitkTIFFWriter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)

Detailed Description

mitkTIFFWriter - a concrete writer for writing a volume to TIFF image files

mitkTIFFWriter writes a volume to a set of TIFF image files. Because the volume is a 3D dataset, it may contain many slices. So the file names must be generated and passed to writer properly. To use this writer, the code snippet is:

    mitkTIFFWriter *aWriter = new mitkTIFFWriter; 
    aWriter->SetInput(aVolume); 
    int imageNum = aVolume->GetImageNum(); 
    Gerenate file names into files[imageNum]; 
    for(int i = 0; i < imageNum; i++) 
        aWriter->AddFileName(files[i]); 
    aWriter->Run(); 


Member Function Documentation

virtual void mitkTIFFWriter::PrintSelf ostream &  os  )  [virtual]
 

Print the necessary information about this object for the debugging purpose.

Parameters:
os The specified ostream to output information.

Reimplemented from mitkVolumeWriter.


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:06:45 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3