Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
Fence slice with interactive selection example

MeshViz Demonstrates the fence slice feature in an interactive program.

This program shows how to display fence slice 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 fence slice going through a polyline can be modified by pressing left mouse button.

Press left mouse button to add a new point to the fence polyline. Double click to clear the existing fence and start a new one. Press k or l to move the direction. Press e to toggle edges visibility on the fences.

FILES:

    • MeshVizXLM/mapping/FenceSliceSelection/Main.cxx
    • MeshVizXLM/mapping/FenceSliceSelection/DemoFenceSliceSelection.h
    • MeshVizXLM/mapping/FenceSliceSelection/DemoFenceSliceSelection.cxx
    • MeshVizXLM/mapping/DemoTemplate/Demo.h
    • MeshVizXLM/mapping/DemoTemplate/Demo.cxx
    • MeshVizXLM/mapping/DemoTemplate/Data.h
    • MeshVizXLM/mapping/DemoTemplate/Data.cxx
    • MeshVizXLM/mapping/DemoTemplate/MeshSceneEditor.h
    • MeshVizXLM/mapping/DemoTemplate/MeshSceneEditor.cxx
    • MeshVizXLM/mapping/DemoTemplate/TextSceneEditor.h
    • MeshVizXLM/mapping/DemoTemplate/TextSceneEditor.cxx

SEE ALSO

MoMesh MoDrawStyle MoMaterial MoMeshFenceSlice MoFaceDetail

SCREENSHOT: