#include <mitkCacheVolumeWriter.h>
Inherits mitkVolumeWriter.
Inheritance diagram for mitkCacheVolumeWriter:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
void | SetConfigFileToBinary (bool b=true) |
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();
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkVolumeWriter. |
|
Set the config file to binary file. Binary config file gives a quick and accurate reading.
|