get_pyvista_glyphs#

VectorData.get_pyvista_glyphs(*, mesh, culling_factor=1, scaling_factor=1.0, **kwargs)#

Get a pyvista glyph object from the vector data.

Parameters:
  • mesh (MeshData) – The mesh to which the data is associated.

  • culling_factor (int) – If set to a value other than 1, add only every n-th data point to the PyVista object. This is useful especially for vector data, where the arrows can be too dense.

  • scaling_factor (float) – Factor to scale the length of the arrows.

  • kwargs (Any) – Keyword arguments passed to the PyVista object constructor.

Return type:

PolyData