weldx.visualization.k3d_impl.SpatialDataVisualizer#
- class weldx.visualization.k3d_impl.SpatialDataVisualizer(data, name, reference_system, plot=None, color=None, visualization_method='auto', show_wireframe=False)#
Visualizes spatial data.
Create a
SpatialDataVisualizer
instance.- Parameters
data (
Union
[ndarray
,SpatialData
]) – The data that should be visualizedname (
str
) – Name of the datareference_system (
str
) – Name of the data’s reference systemcolor (
Optional
[int
]) – The RGB color of the coordinate system (affects trace and label) as a 24 bit integer value.visualization_method (
str
) – The initial data visualization method. Options arepoint
,mesh
,both``and ``auto
. Ifauto
is selected, a mesh will be drawn if triangle data is available and points if not.show_wireframe (
bool
) – IfTrue
, meshes will be drawn as wireframes
Methods
Set the visualization method.
Set the visibility of the label.
Set wireframe rendering.
Update the model matrices of the k3d objects.
Attributes
Get the name of the reference coordinate system.