Visualizer¶
The Visualizer class is the core of pytanga.viz: it owns the WebSocket
server, the scene graph, the camera, animation, and the low-level
pointer-interaction API. (VisualizerApp builds on top of it — see the
Visualizer App section.)
Topics¶
| Guide | What you will learn |
|---|---|
| Visualizer | Creating a visualizer, add()/new()/viz(...), scenes, styles, labels |
| Multi-Scene | Named scenes, viz.scene()/VizSceneHandle, navigation, browser targeting |
| Scene Graph & Transforms | VizGroup/VizObjectRef hierarchy, transforms, compound animation |
| Matrices & Coordinate Frames | Matrix, MatrixProvider, CoordinateFrame/OpenCVFrame axis conventions |
| Composing Scene Subtrees | Build a detached VizGroup tree, then insert it in one step |
| Camera & Controls | CameraConfig2d/CameraConfig3d, View2DConfig/View3dConfig |
| Camera Calibration | CameraCalibration, OpenCV-style calibration + image/3D overlay |
| Animation | Frame-by-frame animate() and keyframe animate_to()/Timeline |
The viewer's UI chrome (split views, controls, menus, dialogs, banners, themes) lives in the UI & Controls section; pointer interaction on scene entities is in Object Interaction.