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

mitkCacheVolumeWriter Class Reference

mitkCacheVolumeWriter - a volume writer for reusing out-of-core volume cache files More...

#include <mitkCacheVolumeWriter.h>

Inherits mitkVolumeWriter.

Inheritance diagram for mitkCacheVolumeWriter:

Inheritance graph
[legend]
Collaboration diagram for mitkCacheVolumeWriter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

mitkCacheVolumeWriter - a volume writer for reusing out-of-core volume cache files

mitkCacheVolumeWriter is a volume writer for reusing out-of-core volume cache files. It will generate a config file which contains the volume parameters and the out-of-core settings. It also tell the input volume to keep the cache files. This file can be read and resolved by mitkCacheVolumeReader. To use this writer, the code snippet is:

    mitkCacheVolumeWriter *aWriter = new mitkCacheVolumeWriter; 
    aWriter->SetInput(aVolume); 
    aWriter->AddFileName(filename); 
    aWriter->SetConfigFileToBinary(isBin);
    aWriter->Run(); 


Member Function Documentation

virtual void mitkCacheVolumeWriter::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 mitkVolumeWriter.

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

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

Parameters:
b whether or not to set the config file to binary


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