Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
Sphere, cylinder and plane slice example

MeshViz Sphere, cylinder and plane slice example.

Demonstrates how to visualize a sphere, a cylinder and plane slice on a volume mesh.

This program displays the skin of a cube made of hexahedrons and a cylinder slice applied on it. A color data set is mapped on both representations.

Click on the arrow icon to enable keyboard events.

Hit 2 to display a sphere slice and 3 to display a plane slice.

The sphere, cylinder and plane slices can be manipulated in 3D using the associated dragger.

FILES:

    • MeshVizXLM/mapping/SphereCylinderPlaneSlices/SphereCylinderPlaneSlices.cxx

SEE ALSO

MoMesh MoScalarSetI MoMeshSkin MoMeshSphereSlice MoMeshCylinderSlice MoMeshPlaneSlice MoPredefinedColorMapping MoDrawStyle MoMaterial

SCREENSHOT: