Skip to main content

Module viz_api

Module viz_api 

Source
Expand description

Visualization API for Python interop.

Provides Python-friendly types for rendering, camera control, scene management, stress visualization, streamline tracing, and debug overlays.

Structs§

BloomParams
Bloom post-processing parameters.
PyCamera
3D camera with orbit, pan, zoom controls.
PyColormap
A colormap that maps scalar values in [0, 1] to RGBA colors.
PyDebugOverlay
Debug overlay manager for visualizing physics primitives.
PyLight
A light source in the scene.
PyMaterial
Surface material properties for mesh rendering.
PyMeshRenderer
GPU-ready mesh data with material and optional per-vertex scalar field.
PyParticleRenderer
Renderer for particle systems using billboard or instanced geometry.
PyPostProcessor
Post-processing pipeline configuration.
PySceneGraph
Hierarchical scene graph managing nodes, meshes, particles and lights.
PySceneNode
A transform node in the scene hierarchy.
PyStreamlineTracer
Streamline tracer using RK4 integration through a 3D velocity field.
PyStressVisualizer
Stress field visualizer providing principal direction glyphs and Mohr circle data.
PyTransferFunction
Transfer function mapping scalar densities to RGBA for volume rendering.
PyVolumeRenderer
Volume renderer for 3D scalar fields.
RayMarchSettings
Settings for ray-marching volume rendering.
SsaoParams
Screen-space ambient occlusion parameters.
Streamline
Result of streamline tracing.
StressTensor
A 3×3 symmetric stress tensor stored as [s11, s22, s33, s12, s13, s23].
StressVisOutput
Output from the stress visualizer for a single tensor.
TransferPoint
A control point in a transfer function (scalar → RGBA).

Enums§

ColormapKind
Named colormap for scalar field visualization.
DebugPrimitive
A single debug primitive drawn as an overlay.
ToneMapping
Tone mapping operator selection.

Functions§

compute_normals_from_mesh
Compute smooth normals from a triangle mesh.
generate_box_mesh
Generate a box (cuboid) mesh centered at the origin.
generate_sphere_mesh
Generate a UV sphere mesh.
hsv_to_rgb
Convert HSV color to RGB.