Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
Polyhedron example

MeshViz polyhedron example.

This program shows how to visualize dataset values inside a polyhedron.

A grid plane slice is applied on a polyhedron to display the dataset values inside the cell.

Click on the arrow icon to enable keyboard events.

Hit the u/d key to increase/decrease the grid density. The grid can be manipulated in 3D using the associated dragger.

The skin of this cell is also added to the scene.

Hit 1 to 3 to switch between various types of polyhedron.

Hit the m key to toggle the cell visibility.

Hit the s key to toggle the slice visibility.

FILES:

    • MeshVizXLM/mapping/Polyhedron/polyhedron.cxx

SEE ALSO

MoMesh MoScalarSetI MoMeshSkin MoMeshGridPlaneSlice MoPredefinedColorMapping MoMaterial MoDrawStyle

SCREENSHOT: