weldx.visualization.k3d_impl.CoordinateSystemVisualizerK3D#

class weldx.visualization.k3d_impl.CoordinateSystemVisualizerK3D(lcs, plot=None, name=None, color=0, show_origin=True, show_trace=True, show_vectors=True, vector_scale=2.5)#

Visualizes a weldx.transformations.LocalCoordinateSystem using k3d.

Create a CoordinateSystemVisualizerK3D.

Parameters
  • lcs (LocalCoordinateSystem) – Coordinate system that should be visualized

  • plot (Optional[Plot]) – A k3d plotting widget.

  • name (Optional[str]) – Name of the coordinate system

  • color (int) – The RGB color of the coordinate system (affects trace and label) as a 24 bit integer value.

  • show_origin – If True, the origin of the coordinate system will be highlighted in the color passed as another parameter

  • show_trace – If True, the trace of a time dependent coordinate system will be visualized in the color passed as another parameter

  • show_vectors – If True, the the coordinate axes of the coordinate system are visualized

Methods

limits

show_label

Set the visibility of the label.

show_origin

Set the visibility of the coordinate systems' origin.

show_trace

Set the visibility of coordinate systems' trace.

show_vectors

Set the visibility of the coordinate axis vectors.

update_lcs

Pass a new coordinate system to the visualizer.

update_time_index

Update the plotted time step.