#include <mitkWriter.h>
Inherits mitkTarget.
Inherited by mitkMeshWriter, mitkRawDataWriter, and mitkVolumeWriter.
Inheritance diagram for mitkWriter:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
void | AddFileName (const char *inFileName) |
void | SortFileNames () |
mitkWriter defines the interface of all of the 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();
|
Add a file into the internal list for writing these files.
|
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkTarget. Reimplemented in mitkAnalyzeImageWriter, mitkBMPWriter, mitkCacheVolumeWriter, mitkDICOMWriter, mitkJPEGWriter, mitkMeshWriter, mitkMetaImageWriter, mitkNetCDFImageWriter, mitkPLYASCIIWriter, mitkPLYBinaryWriter, mitkRawFilesWriter, mitkRawWriter, mitkSTLASCIIWriter, mitkSTLBinaryWriter, mitkTIFFWriter, mitkVolumeWriter, mitkRawDataWriter, and mitkTrackedBscanDataWriter. |
|
Sort all the file names alphabetically. |