Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
Interpolated logical slice example

MeshViz Demonstrates the interpolated logical slice features.

This program shows how to visualize an interpolated logical slice on a mesh Ijk.

A regular mesh is loaded at start-up and an interpolated logical slice is applied on it. Interpolated logical slices along the three axis can be viewed sperately by pressing the I, J, K keys to switch from one to an other. The position of the current slice can be changed using the U and D keys.

The full mesh skin is also added to the scene.

An hexahedron Ijk mesh can be loaded by pressing key 2, thus applying the interpolated logical slice on it.

Click on the arrow icon to enable keyboard events.

Hit the V key to vizualize vectors connected to the interpolated logical slice.

FILES:

    • MeshVizXLM/mapping/InterpolatedLogicalSlice/InterpolatedLogicalSlice.cxx

SEE ALSO

MoMesh MoScalarSetI MoScalarSetIjk MoVec3SetI MoVec3SetIjk MoDataBinding MoMeshSkin MoCellFilter MoMeshInterpolatedLogicalSlice MoMeshVector MoPredefinedColorMapping

SCREENSHOT: