#include <mitkRawWriter.h>
Inherits mitkVolumeWriter.
Inheritance diagram for mitkRawWriter:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
void | SetEndian (bool isBig=false) |
void | SetBigEndian (bool isBig=true) |
void | SetLittleEndian (bool isBig=false) |
void | SetPlanarCfg (bool isColorByPlane) |
void | SetTitleBytes (int n) |
mitkRawWriter writes a volume to a single raw file(no any header information). All the property of volume will lost, including the image width, height, image number, spacing information, etc. You can control the format of output file by setting the endian configuration, planar configuration and header size.
SetTitleBytes To use this writer, the code snippet is:
mitkRawWriter *aWriter = new mitkRawWriter; aWriter->SetInput(aVolume); aWriter->AddFileName(filename); aWriter->Run();
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkVolumeWriter. |
|
Provided for convenience, just the same as SetEndian(). |
|
Set endian if depth per pixel is bigger than 8.
|
|
Provided for convenience, just the same as SetEndian(). |
|
Set planar configuration.
|
|
Set number of bytes in title.
|