uvisbox.Modules.ConeGlyphs.cone_glyphs_vis

Module Contents

uvisbox.Modules.ConeGlyphs.cone_glyphs_vis.visualize_cone_glyphs(mesh_3d, point_values=None, show_edges=True, glyph_color='lightblue', cmap='RdBu_r', ax=None)[source]

Render 3D cone glyph mesh with pyvista.

Parameters:
  • mesh_3d (dict) – From cone_glyphs_mesh()

  • point_values (numpy.ndarray, optional) – Override mesh point_values for coloring

  • show_edges (bool) – Show glyph edges (default: True)

  • glyph_color (str) – Solid color when no point_values (default: ‘lightblue’)

  • cmap (str) – Colormap for scalar coloring (default: ‘RdBu_r’)

  • ax (pyvista.Plotter, optional) – Existing plotter to use

Returns:

plotter – The plotter with drawn glyphs

Return type:

pyvista.Plotter