Rendering meshes in VTK

Introduction


Solution to run VTK code

To simplify and unify solutions used in our tutorials, we use Album, a tool for capturing and sharing specific software use cases in dedicated virtual environments.

Click the solution box next to this text and follow the displayed usage instructions to run the solution either from command line or graphical interface.

No catalogs found in .Site.Data.catalogs.


Dependencies


Setting the scene


Loading and Adding Meshes


Loading and Adding Voxel Volumes

Numpy to VTK Conversion


Loading and Adding Voxel Volumes

Color and Opacity Transfer Functions


Loading and Adding Voxel Volumes

Creating a Volume Node


Creating the Render Window


Result

Meshes and volume in one view.

Meshes and volume in one view.