ouster.sdk.viz.util module

class AxisWithLabel(point_viz, *, pose=array([[1., 0., 0., 0.], [0., 1., 0., 0.], [0., 0., 1., 0.], [0., 0., 0., 1.]]), label='', length=1.0, thickness=3, label_scale=1.0, axis_n=100, enabled=True)[source]

Bases: object

Coordinate axis with a text label.

Parameters:
  • point_viz (PointViz)

  • pose (ndarray)

  • label (str)

  • length (float)

  • thickness (int)

  • label_scale (float)

  • axis_n (int)

  • enabled (bool)

property enabled: bool

True if label is added to the viz

enable()[source]

Enable the label and make it added to the viz :rtype: None

Return type:

None

disable()[source]

Disable the label and remove it from the viz :rtype: None

Return type:

None

toggle()[source]

Toggle the label visibility (i.e. presence in the viz) :rtype: bool

Return type:

bool

property pose: ndarray

Label pose, 4x4 matrix

property label: str

Label text, 4x4 matrix

update()[source]

Update label component viz states. :rtype: None

Return type:

None