Demonstrates how to use an undefined voxel value in a
SoVolumeData
DESCRIPTION:
In this demo, a volume data of 100x100x100 voxels is generated. 2 regions are defined using 2 different voxel values. One of these regions becomes invisible when its voxel value is set as undefined.
FILES:
-
VolumeViz/multiData/AmplitudeVelocity/src/UndefinedVoxel.cxx
SEE ALSO
SoVolumeData, SoOrthoSlice, SoOrthoSliceDragger, SoVolumeRenderingQuality, SoVolumeRender, SoTransferFunction
SCREENSHOT: