#include <mitkReader.h>
Inherits mitkSource.
Inherited by mitkDICOMDIRReader, mitkInfoReader, mitkMeshReader, mitkRawDataReader, and mitkVolumeReader.
Inheritance diagram for mitkReader:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
void | AddFileName (const char *inFileName) |
void | SortFileNames () |
mitkReader defines the interface of all of the readers. To use a concrete reader, for example, mitkBMPReader, the code snippet is:
mitkBMPReader *aReader = new mitkBMPReader; aReader->AddFileName(file1); aReader->AddFileName(file2); ... ... ... aReader->Run(); mitkVolume *aVolume = aReader->GetOutput(); Using aVolume
|
Add a file into the internal list for reading these files.
|
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkSource. Reimplemented in mitkAnalyzeImageReader, mitkBMPReader, mitkCacheVolumeReader, mitkDICOMInfoReader, mitkDICOMReader, mitkInfoReader, mitkJPEGReader, mitkMeshReader, mitkMetaImageReader, mitkNetCDFImageReader, mitkPLYReader, mitkRawFilesReader, mitkRawReader, mitkSTLReader, mitkTIFFReader, mitkVolumeReader, mitkRawDataReader, mitkRawFilesReader, and mitkTrackedBscanDataReader. |
|
Sort all the file names alphabetically. |