TextureViewer3D - This example loads and displays a volume dataset.
SYNOPSIS:
TextureViewer3D [datafile]
DESCRIPTION:
TextureViewer3D loads and displays a volume dataset (a sequence of image slices). It will load the specified file or load a default one if no arguments are passed.
USAGE:
The following command line option is allowed:
[datafile] | The volume dataset to load. |
Commands: in selection mode, the following commands apply:
T | Toggle between display of slice and volume. |
V | Volume display. |
S | Slice display. |
R | Restore original slice plane. |
X | X axis slice. |
Y | Y axis slice. |
Z | Z axis slice. |
C | (Un)compensate unregular (non cubic) data. |
EXAMPLES
To load a volume dataset:
TextureViewer3D volumeDataSet.vol
To load the default volume data set:
SEE ALSO
SoTextureCoordinate3, SoTextureCoordinateBinding, SoTexture3, SoTexture3Transform
SCREENSHOT:
FILES:
-
Inventor/examples/Features/3DTexture/TextureViewer3D.cxx
-
Inventor/examples/Features/3DTexture/Vol_io.cxx
-
Inventor/examples/Features/3DTexture/defines.h