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

mitkBMPWriter Class Reference

mitkBMPWriter - a concrete writer for writing a volume to BMP image files More...

#include <mitkBMPWriter.h>

Inherits mitkVolumeWriter.

Inheritance diagram for mitkBMPWriter:

Inheritance graph
[legend]
Collaboration diagram for mitkBMPWriter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)

Detailed Description

mitkBMPWriter - a concrete writer for writing a volume to BMP image files

mitkBMPWriter writes a volume to a set of BMP 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:

    mitkBMPWriter *aWriter = new mitkBMPWriter; 
    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 mitkBMPWriter::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:01:08 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3