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

mitkCacheVolumeReader Class Reference

mitkCacheVolumeReader - a volume reader for reading out-of-core volume cache files More...

#include <mitkCacheVolumeReader.h>

Inherits mitkVolumeReader.

Inheritance diagram for mitkCacheVolumeReader:

Inheritance graph
Collaboration diagram for mitkCacheVolumeReader:

Collaboration graph
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
void SetConfigFileToBinary (bool b=true)

Detailed Description

mitkCacheVolumeReader - a volume reader for reading out-of-core volume cache files

mitkCacheVolumeReader is a volume reader to read out-of-core volume cache files. It directly reuses the existed cache files of an out-of-core volume and makes the reading process fast. To use this reader, the code snippet is:

    mitkCacheVolumeReader *aReader = new mitkCacheVolumeReader; 
    aReader->AddFileName(file); // a config file contains the volume parameters
    if (aReader->Run())
        mitkVolume *aVolume = aReader->GetOutput(); 
        Using aVolume
Use mitkCacheVolumeWriter to generate the config file which contains the volume parameters and tell the mitkOoCVolume keep the cache files.

Member Function Documentation

virtual void mitkCacheVolumeReader::PrintSelf ostream &  os  )  [virtual]

Print the necessary information about this object for the debugging purpose.

os The specified ostream to output information.

Reimplemented from mitkVolumeReader.

void mitkCacheVolumeReader::SetConfigFileToBinary bool  b = true  )  [inline]

Set if the config file is a binary file. Binary config file gives a quick and accurate reading.

b whether the config file is binary

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