Rendering (rendering/)

VTK-backed 3D scene and helpers for orthogonal texture planes, surfaces, and tractography. Presentation owns the Qt widgets; this package owns actors, cameras, and GPU-ish paths.

Modules

Module

Role

renderer_3d.py

Main VTK scene (planes, actors, interaction hooks)

simple_3d_planes.py

Orthogonal texture planes

gpu_slice_planes.py

Higher-throughput plane path when available

surface_lod.py / surface_cache.py

Level-of-detail and caches for meshes

surface_actors.py / surface_build.py

Build and register surface actors

scene_rig.py / scene_space.py

Camera rig and space conventions

tract_vtk.py

Tractography rendering

ssao_pass.py

Optional ambient occlusion pass

volume.py

Volume rendering helpers

Critical path: refresh after a layer change

Viewer / presentation
      │  layer add / opacity / colormap
      ▼
renderer_3D / planes
      │  update textures / actors
      ▼
VTK render window ──► Qt viewport

Surfaces go through LOD/cache before becoming actors so large meshes stay interactive; 2D slice views prefer full-resolution data from Infrastructure: I/O & BIDS (volume proxy).

See also