weldx.visualization.k3d_impl.CoordinateSystemManagerVisualizerK3D

class weldx.visualization.k3d_impl.CoordinateSystemManagerVisualizerK3D(csm, coordinate_systems=None, data_sets=None, colors=None, reference_system=None, title=None, limits=None, time=None, time_ref=None, show_data_labels=True, show_labels=True, show_origins=True, show_traces=True, show_vectors=True, show_wireframe=True)

Visualizes a weldx.transformations.CoordinateSystemManager using k3d.

Create a CoordinateSystemManagerVisualizerK3D.

Parameters
  • csm (weldx.transformations.CoordinateSystemManager) – The weldx.transformations.CoordinateSystemManager instance that should be visualized

  • coordinate_systems (Optional[List[str]]) – The names of the coordinate systems that should be visualized. If ´None´ is provided, all systems are plotted

  • data_sets (Optional[List[str]]) – The names of data sets that should be visualized. If ´None´ is provided, all data is plotted

  • colors (Optional[Dict[str, int]]) – A mapping between a coordinate system name or a data set name and a color. The colors must be provided as 24 bit integer values that are divided into three 8 bit sections for the rgb values. For example 0xFF0000 for pure red. Each coordinate system or data set that does not have a mapping in this dictionary will get a default color assigned to it.

  • reference_system (Optional[str]) – Name of the initial reference system. If None is provided, the root system of the weldx.transformations.CoordinateSystemManager instance will be used

  • title (Optional[str]) – The title of the plot

  • limits (Union[List[Tuple[float, float]], Tuple[float, float], None]) – The limits of the plotted volume

  • time (Union[DatetimeIndex, TimedeltaIndex, List[Timestamp], None]) – The time steps that should be plotted initially

  • time_ref (Optional[Timestamp]) – A reference timestamp that can be provided if the time parameter is a pandas.TimedeltaIndex

  • show_data_labels (bool) – If True, the data labels will be shown initially

  • show_labels (bool) – If True, the coordinate system labels will be shown initially

  • show_origins (bool) – If True, the coordinate systems’ origins will be shown initially

  • show_traces (bool) – If True, the coordinate systems’ traces will be shown initially

  • show_vectors (bool) – If True, the coordinate systems’ axis vectors will be shown initially

  • show_wireframe (bool) – If True, spatial data containing mesh data will be drawn as wireframe

Methods

set_data_visualization_method

Set the data visualization method.

show_data_labels

Set the visibility of data labels.

show_labels

Set the visibility of the coordinate systems’ labels.

show_origins

Set the visibility of the coordinate systems’ origins.

show_traces

Set the visibility of coordinate systems’ traces.

show_vectors

Set the visibility of the coordinate axis vectors.

show_wireframes

Set if meshes should be drawn in wireframe mode.

update_reference_system

Update the reference system of the plot.

update_time_index

Update the plotted time by index.