Cell shape connected example

MeshViz Demonstrates cellshape feature connected from a skin feature in an interactive program.

This program shows how to connect a cellshape from a skin from various types of meshes.

A hexahedron mesh is loaded at start-up. The full mesh skin with edge drawstyle is added to the scene.

A cellshape is then connected to the skin to perform cell redution. To do so, a MoMesh node is inserted in the scenegraph before the cellshape node. But instead of using the MoMesh::setMesh method, the MoMesh::connectFrom method defines the input mesh through the MoMeshSkin node.

Move the mouse cursor over the mesh to display the cell id, the dataset name and the value at the picked point.

FILES:

SEE ALSO

MoMesh, MoDrawStyle, MoMaterial, MoMeshCellShape, SoDepthOffset

SCREENSHOT:


Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/