Demonstrates how to extract and use a polyline of data out of a
SoVolumeData by using
SoLDMDataAccess class API.
DESCRIPTION:
This program displays several segment build from data extracted from the given volume. to update the second viewer, move the dragger plane in the main viewer. Lines are automatically updated in the second viewer. Changing data access mode (Direct, Direct and prefecth, Cache) will change the amount of memory allowed to LDM. As a result, the main volume will show different resolution. This has been done to show that, even with low memory settings, data access can reach full resoution in Direct and Direct and prefetch mode.
FILES:
-
VolumeViz/getLDMData/getDataPolyLine.cxx
SEE ALSO
SoLineSet, SoVertexProperty, SoVolumeData, SoLDMDataAccess
SCREENSHOT: