#include <mitkVolumeWriter.h>
Inherits mitkWriter.
Inherited by mitkAnalyzeImageWriter, mitkBMPWriter, mitkCacheVolumeWriter, mitkDICOMWriter, mitkIM0Writer, mitkJPEGWriter, mitkMetaImageWriter, mitkNetCDFImageWriter, mitkRawFilesWriter, mitkRawWriter, and mitkTIFFWriter.
Inheritance diagram for mitkVolumeWriter:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
void | SetInput (mitkVolume *inData) |
mitkVolume * | GetInput () |
mitkVolumeWriter defines the interface of all of the volume writers. To use a concrete writer, for example, mitkBMPWriter, 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();
|
Get input volume.
|
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkWriter. Reimplemented in mitkAnalyzeImageWriter, mitkBMPWriter, mitkCacheVolumeWriter, mitkDICOMWriter, mitkJPEGWriter, mitkMetaImageWriter, mitkNetCDFImageWriter, mitkRawFilesWriter, mitkRawWriter, and mitkTIFFWriter. |
|
Set input volume to write to disk file.
|