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:
objectCoordinate 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
- 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