ouster.sdk.viz.widgets module
- class ToggleImage(viz, initially_visible=False)[source]
Bases:
ToggleThis class encapsulates properties of an image, such as whether it is visible in the supplied PointViz instance. This makes up for a deficiency in PointViz which requires that API users remember whether a widget has been added or not.
- property hshift
- property position
- class ToggleLabel(viz, initial_text, initial_position, initially_visible=False, align_right=False, align_top=False)[source]
Bases:
ToggleThis class encapsulates properties of a label, such as whether it is visible in the supplied PointViz instance. This makes up for a deficiency in PointViz which requires that API users remember whether a widget has been added or not.
- property text
- property scale
- property position
- property text_height
- property rgba