#include <mitkBMPWriter.h>
Inherits mitkVolumeWriter.
Inheritance diagram for mitkBMPWriter:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
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();
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkVolumeWriter. |