Expand description
UI panel builders.
Structs§
- Appearance
Settings - Appearance settings for UI.
- Camera
Settings - Camera settings exposed in UI.
- Gizmo
Settings - Gizmo settings for UI.
- Group
Settings - Settings for a single group in the UI.
- Material
Load State - UI state for the material loading panel.
- Scene
Extents - Scene extents information for UI display.
- Selection
Info - Current selection info for UI.
- Slice
Plane Selection Info - Selection info for slice plane gizmo manipulation.
- Slice
Plane Settings - Settings for a single slice plane in the UI.
- Tone
Mapping Settings - Tone mapping settings for UI.
Enums§
- Gizmo
Action - Actions that can be triggered from the gizmo UI.
- Groups
Action - Actions that can be triggered from the groups UI.
- Material
Action - Actions from the material loading UI.
- Slice
Plane Gizmo Action - Actions specific to slice plane gizmo manipulation.
- Slice
Planes Action - Actions that can be triggered from the slice planes UI.
- View
Action - Actions that can be triggered from the view/controls UI.
Functions§
- build_
appearance_ section - Builds the appearance settings section. Returns true if any setting changed.
- build_
camera_ settings_ section - Builds the camera settings section. Returns true if any setting changed.
- build_
controls_ section - Builds the polyscope controls section. Returns an action if any button was clicked.
- build_
gizmo_ section - Builds the gizmo/transform section. Returns an action if one was triggered.
- build_
ground_ plane_ section - Builds the ground plane settings section.
- build_
groups_ section - Builds the groups section. Only shown when groups exist (groups are created programmatically via the API). Each group is shown with a checkbox to toggle visibility. Child groups are indented under their parent. Toggling a parent cascades the enabled state to all descendant groups. Returns an action if one was triggered.
- build_
left_ panel - Builds the main left panel. Returns the actual panel width in logical pixels (for dynamic pointer checks).
- build_
material_ section - Builds the material loading section in the left panel.
Returns a
MaterialActionif the user requested loading. - build_
scene_ extents_ section - Builds the scene extents section. Returns true if any setting changed (auto-compute toggle or manual edits).
- build_
slice_ planes_ section - Builds the slice planes section. Returns an action if one was triggered (add, remove, or modify).
- build_
structure_ tree - Builds the structure tree section.
- build_
structure_ tree_ with_ ui - Builds the structure tree section with per-structure UI support.
- build_
tone_ mapping_ section - Builds the tone mapping settings section. Returns true if any setting changed.