VolumeViz Demos

getDataLine

$OIVHOME/src/VolumeViz/examples/getLDMData/getLDMLine.cxx

Demonstrates how to extract and use a line of data out of the volume data.

The line rendered in the second viewer is the line generated using the extracted data.

getDataPlane

$OIVHOME/src/VolumeViz/examples/getLDMData/getLDMPlane.cxx

Demonstrates how to extract and use a plane of data out of the volume data.

The plane rendered in the second viewer is the plane generated using the extracted data. Specifically, an SoTexture2 using the data extracted from the volume is applied to a plane.

MultiData - CPU

$OIVHOME/src/VolumeViz/examples/multiData/CPUDataCompose.cxx

Demonstrates how to combine multiple volumes using the CPU. Volume 1 is a medical image (3D head), volume 2 is computed, containing just zeros and ones, to make a "mask" volume. The data values of the data volumes are multiplied together, causing some portions of volume 1 to become completely transparent.

MultiData - GPU

$OIVHOME/src/VolumeViz/examples/multiData/GPUDataCompose.cxx

Demonstrates how to combine multiple volumes using the GPU. Volume 1 is a medical image (3D head), volume 2 is computed, containing just zeros and ones, to make a "mask" volume. The data values of the data volumes are multiplied together in a fragment shader, causing some portions of volume 1 to become completely transparent.

MultiVolume

$OIVHOME/src/VolumeViz/examples/multiVolumes/multiVolumes.cxx

Demonstrates how to create and use multi volume data. Various attributes of the two volumes can be changed using the dialog interface.

VolRend

$OIVHOME/src/VolumeViz/VolRend/*

The VolRendDemo program is provided as both a demonstration of VolumeViz features and an example of using the VolumeViz toolkit. For more information, see the VolRend Help file in $OIVHOME/src/VolumeViz/DemoDoc/volrenddemo.htm. This file is accessible on Windows from the Start menu.