Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
Volume Clipping with CSG operation

VolumeViz Demonstate SoVolumeClippingGroup and SoCSGShape usage.

User draw lines directly on screen using available tools (ellipse, lasso or polygon). Lines are then extruded to create shapes that are combined using boolean operations (union, intersection or subtraction) so that complexe shapes can be easyly defined. Finally, the resulting shape is used to clip the 3DHEAD model thanks to a VolumeClippingGroup.

FILES:

    • VolumeViz/CSGClippingGroup/CSGClippingGroup.cxx
    • VolumeViz/CSGClippingGroup/utils.h
    • VolumeViz/CSGClippingGroup/utils.cxx
    • VolumeViz/CSGClippingGroup/interface.iv
    • VolumeViz/CSGClippingGroup/simpleScene.iv
    • VolumeViz/CSGClippingGroup/volumeDataScene.iv

SEE ALSO

SoVolumeRender SoVolumeClippingGroup SoCSGShape SbExtrusionGenerator SoLassoScreenDrawer SoEllipseScreenDrawer SoPolygonScreenDrawer

SCREENSHOT: