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

mitkReader Class Reference

mitkReader - an abstract class represents a reader More...

#include <mitkReader.h>

Inherits mitkSource.

Inherited by mitkDICOMDIRReader, mitkInfoReader, mitkMeshReader, mitkRawDataReader, and mitkVolumeReader.

Inheritance diagram for mitkReader:

Inheritance graph
[legend]
Collaboration diagram for mitkReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
void AddFileName (const char *inFileName)
void SortFileNames ()

Detailed Description

mitkReader - an abstract class represents a reader

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 


Member Function Documentation

void mitkReader::AddFileName const char *  inFileName  ) 
 

Add a file into the internal list for reading these files.

Parameters:
inFileName C string for the file name.

virtual void mitkReader::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 mitkSource.

Reimplemented in mitkAnalyzeImageReader, mitkBMPReader, mitkCacheVolumeReader, mitkDICOMInfoReader, mitkDICOMReader, mitkInfoReader, mitkJPEGReader, mitkMeshReader, mitkMetaImageReader, mitkNetCDFImageReader, mitkPLYReader, mitkRawFilesReader, mitkRawReader, mitkSTLReader, mitkTIFFReader, mitkVolumeReader, mitkRawDataReader, mitkRawFilesReader, and mitkTrackedBscanDataReader.

void mitkReader::SortFileNames  ) 
 

Sort all the file names alphabetically.


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:05:31 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3