Picking tutorial 3

MeshViz Demonstrates simple picking in an interactive program.

This program shows how to pick cells on a mesh representation and how to highlight and manage the list of picked cells.

A hexahedron mesh is loaded at start-up. An MoMeshOutline instance is used to display the external lines of the mesh. An MoMeshPlaneSlice instance is used to display a cross section of the mesh.

This tutorial allows the selection of the hexahedron cells cut by the picked polygon on the cross section.

Click on the viewer's arrow icon to switch from viewing mode to selection mode.

Move the mouse cursor over the plane slice and click the left mouse button. The picked hexahedron cells are drawn in cyan.

FILES:

SEE ALSO

SoPickedPoint, SoEventCallback, MoMeshOutline, MoMeshPlaneSlice, MoMeshCellShape, MoFaceDetailI, MoMeshDetail, MoDrawStyle, MoMaterial

SCREENSHOT:


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