Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
Interactive volume editing with picking.

VolumeViz Demonstate editing features

This demo use SoPolygonScreenDrawer and gpuPicking to draw a polygon in volumeData. The polygon is then written to dataSet using the first clicked voxel color. Use the selection miode (arrow), and draw a polygon on the volume. You must click on the visible part of the volume. To finalize polygon, double-click or hit enter key. Hit escape to cancel.

FILES:

    • VolumeViz/editing/editingPicking/editingPicking.cxx
    • VolumeViz/editing/editingPicking/utils.h
    • VolumeViz/editing/editingPicking/interface.iv
    • VolumeViz/editing/editingPicking/scene.iv

SEE ALSO

SoDataSet SoRayPickAction SoPolygonScreenDrawer

SCREENSHOT: