Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
Picking tutorial 1

MeshViz Demonstrates simple picking in an interactive program.

This program shows how to pick cells on a mesh representation.

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

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

Move the mouse cursor over the mesh skin and click the left mouse button. The cell id of the selected cell is displayed in the console.

FILES:

    • MeshVizXLM/mapping/Tutorial/Picking1/Main.cxx
    • MeshVizXLM/mapping/Tutorial/Picking1/TutorialPicking1.h
    • MeshVizXLM/mapping/Tutorial/Picking1/TutorialPicking1.cxx
    • MeshVizXLM/mapping/Tutorial/Picking1/Main.cxx
    • MeshVizXLM/mapping/Tutorial/Demo.h
    • MeshVizXLM/mapping/Tutorial/Demo.cxx

SEE ALSO

SoPickedPoint SoEventCallback MoMesh MoMeshSkin MoFaceDetailI MoMeshDetail MoDrawStyle MoMaterial