#include <mitkTIFFReader.h>
Inherits mitkVolumeReader.
Inheritance diagram for mitkTIFFReader:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
void | SetSpacingX (float px) |
void | SetSpacingY (float py) |
void | SetSpacingZ (float pz) |
void | SetSpacings (float s[3]) |
mitkTIFFReader reads a set of TIFF image files to a volume. Because TIFF file doesn't have the spacing information, you must set them using the SetSpacingX, SetSpacingY, SetSpacingZ functions. To use this reader, the code snippet is:
mitkTIFFReader *aReader = new mitkTIFFReader; aReader->SetSpacingX(sx); aReader->SetSpacingY(sy); aReader->SetSpacingZ(sz); aReader->AddFileName(file1); aReader->AddFileName(file2); ... ... ... if (aReader->Run()) { mitkVolume *aVolume = aReader->GetOutput(); Using aVolume }
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkVolumeReader. |
|
Set spacing information in x, y, z axis, the unit is mm.
|
|
Set spacing information in x axis, the unit is mm.
|
|
Set spacing information in y axis, the unit is mm.
|
|
Set spacing information in z axis, the unit is mm.
|