Get Data Plane

VolumeViz Demonstrates how to extract and use a plane of data out of a SoVolumeData by using SoLDMDataAccess class API.

This program displays a plane (in the second viewer) build with data extracted from the given volume (first viewer). To update the second viewer, move the dragger in the main viewer, the plane will be automatically generated in the second viewer. Specifically, a SoTexture2 using the data extracted from the volume is applied to a plane. 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 a different resolution. This program demonstrates that even with low memory settings, data access can reach full resolution in Direct and Direct and prefetch mode.

FILES:

SEE ALSO

SoVolumeData, SoLDMDataAccess

SCREENSHOT:


Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/