Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
Picking tutorial 4

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. Similar to tutorial 2 but removes the selected cells from the skin using a cell filter.

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. Picked cells are drawn "shrunken" (smaller size) in cyan.

FILES:

    • MeshVizXLM/mapping/Tutorial/Picking4/Main.cxx
    • MeshVizXLM/mapping/Tutorial/Picking4/TutorialPicking4.h
    • MeshVizXLM/mapping/Tutorial/Picking4/TutorialPicking4.cxx
    • MeshVizXLM/mapping/Tutorial/Demo.h
    • MeshVizXLM/mapping/Tutorial/Demo.cxx

SEE ALSO

SoPickedPoint SoEventCallback MoMesh MoMeshSkin MoMeshCellShape MoCellFilter MiCellFilterI MoFaceDetailI MoMeshDetail MoDrawStyle MoMaterial

SCREENSHOT: