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 visualizedcoordinate_systems (List[str]) – The names of the coordinate systems that should be visualized. If ´None´ is provided, all systems are plotted
data_sets (List[str]) – The names of data sets that should be visualized. If ´None´ is provided, all data is plotted
colors (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 (str) – Name of the initial reference system. If
None
is provided, the root system of theweldx.transformations.CoordinateSystemManager
instance will be usedtitle (str) – The title of the plot
limits (List[Tuple[float, float]]) – The limits of the plotted volume
time (pandas.DatetimeIndex, pandas.TimedeltaIndex, List[pandas.Timestamp], or weldx.transformations.LocalCoordinateSystem) – The time steps that should be plotted initially
time_ref (pandas.Timestamp) – A reference timestamp that can be provided if the
time
parameter is apandas.TimedeltaIndex
show_data_labels (bool) – If
True
, the data labels will be shown initiallyshow_labels (bool) – If
True
, the coordinate system labels will be shown initiallyshow_origins (bool) – If
True
, the coordinate systems’ origins will be shown initiallyshow_traces (bool) – If
True
, the coordinate systems’ traces will be shown initiallyshow_vectors (bool) – If
True
, the coordinate systems’ axis vectors will be shown initiallyshow_wireframe (bool) – If
True
, spatial data containing mesh data will be drawn as wireframe
Methods
Set the data visualization method.
Set the visibility of data labels.
Set the visibility of the coordinate systems’ labels.
Set the visibility of the coordinate systems’ origins.
Set the visibility of coordinate systems’ traces.
Set the visibility of the coordinate axis vectors.
Set if meshes should be drawn in wireframe mode.
Update the reference system of the plot.
Update the plotted time by index.