cloudViewer.visualization.gui#

Core Classes

Application

Global application singleton.

Window

Application window.

WindowBase

Application window

Dialog

SceneWidget

Displays 3D content

Widget

Base widget class

Layout Classes

Horiz

Horizontal layout

Vert

Vertical layout

CollapsableVert

Vertical layout with title, whose contents are collapsable

ScrollableVert

Scrollable vertical layout

StackedWidget

Like a TabControl but without the tabs

LayoutContext

Context passed to Window's on_layout callback

Margins

Margins for layouts

Input Widgets

Button

Checkbox

Combobox

Exclusive selection from a pull-down menu

ColorEdit

Color picker

NumberEdit

Allows the user to enter a number.

RadioButton

Exclusive selection from radio button list

Slider

A slider widget for visually selecting numbers

TextEdit

Allows the user to enter or modify text

ToggleSwitch

VectorEdit

Allows the user to edit a 3-space vector

Display Widgets

Label

Displays text

Label3D

Displays text in a 3D scene

ImageWidget

Displays a bitmap

ListView

Displays a list of text

ProgressBar

Displays a progress bar

TabControl

Tab control

TreeView

Hierarchical list

CheckableTextTreeCell

TreeView cell with a checkbox and text

ColormapTreeCell

TreeView cell with a number edit and color edit

LUTTreeCell

TreeView cell with checkbox, text, and color edit

Other Classes

FileDialog

File picker dialog

Menu

A menu, possibly a menu tree

Theme

Theme parameters such as colors used for drawing widgets (read-only)

Color

Stores color for gui classes

FontDescription

Class to describe a custom font

FontStyle(value)

Font style

KeyEvent

Object that stores mouse events

KeyModifier(value)

Key modifier identifiers.

KeyName(value)

Names of keys.

Layout1D

Layout base class

MouseButton(value)

Mouse button identifiers.

MouseEvent

Object that stores mouse events

Size

Size object

Rect

Represents a widget frame

UIImage

A bitmap suitable for displaying with ImageWidget

VGrid

Grid layout

WidgetProxy

Widget container to delegate any widget dynamically.

WidgetStack

A widget stack saves all widgets pushed into by push_widget and always shows the top one.