Demonstrates how to extract and use a subvolume of data out of a SoVolumeData by using the SoLDMDataAccess class API in a multi-threaded application.
This program displays, in the second viewer, a volume built from data extracted out of the volume shown in the first viewer. To update the second viewer, simply enter picking mode and press U. The volume taken in account to generate the box is defined by the ROI in the main viewer. Changing the 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 indicates that even with low memory settings, data access can reach full resolution in Direct and Direct and prefetch mode.