Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
Fence slice 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 keys

Press o or p to move the polyline. Press k or l to move the direction. Press x to display the fences along the x-axis. Press y to display the fences along the y-axis. Press z to display the fences along the z-axis. Press e to toggle edges visibility on the fences. Press v to toggle vector visibility.

FILES:

    • MeshVizXLM/mapping//FenceSlice/Main.cxx
    • MeshVizXLM/mapping//FenceSlice/DemoFenceSlice.h
    • MeshVizXLM/mapping//FenceSlice/DemoFenceSlice.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 MoMeshVector

SCREENSHOT: