Skip to main content

Module panels

Module panels 

Source
Expand description

UI panel builders.

Structs§

AppearanceSettings
Appearance settings for UI.
CameraSettings
Camera settings exposed in UI.
GizmoSettings
Gizmo settings for UI.
GroupSettings
Settings for a single group in the UI.
MaterialLoadState
UI state for the material loading panel.
SceneExtents
Scene extents information for UI display.
SelectionInfo
Current selection info for UI.
SlicePlaneSelectionInfo
Selection info for slice plane gizmo manipulation.
SlicePlaneSettings
Settings for a single slice plane in the UI.
ToneMappingSettings
Tone mapping settings for UI.

Enums§

GizmoAction
Actions that can be triggered from the gizmo UI.
GroupsAction
Actions that can be triggered from the groups UI.
MaterialAction
Actions from the material loading UI.
SlicePlaneGizmoAction
Actions specific to slice plane gizmo manipulation.
SlicePlanesAction
Actions that can be triggered from the slice planes UI.
ViewAction
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 MaterialAction if 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.