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 (
Optional
[list
[str
]]) – The names of the coordinate systems that should be visualized. If ´None´ is provided, all systems are plotteddata_sets (
Optional
[list
[str
]]) – The names of data sets that should be visualized. If ´None´ is provided, all data is plottedcolors (
Optional
[dict
[str
,Union
[int
,tuple
[int
,int
,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 example0xFF0000
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. IfNone
is provided, the root system of theweldx.transformations.CoordinateSystemManager
instance will be usedlimits (
Union
[List
[Tuple
[float
,float
]],Tuple
[float
,float
],None
]) – The limits of the plotted volumetime (
Union
[DatetimeIndex
,TimedeltaIndex
,List
[Timestamp
],None
]) – The time steps that should be plotted initiallytime_ref (
Optional
[Timestamp
]) – A reference timestamp that can be provided if thetime
parameter is apandas.TimedeltaIndex
show_data_labels (
bool
) – IfTrue
, the data labels will be shown initiallyshow_labels (
bool
) – IfTrue
, the coordinate system labels will be shown initiallyshow_origins (
bool
) – IfTrue
, the coordinate systems’ origins will be shown initiallyshow_traces (
bool
) – IfTrue
, the coordinate systems’ traces will be shown initiallyshow_vectors (
bool
) – IfTrue
, the coordinate systems’ axis vectors will be shown initiallyshow_wireframe (
bool
) – IfTrue
, 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.
Attributes
Return the plot grid bounding box in (x0, y0, z0, x1, y1, z1) format.