OrientedGlyphs
- class m3sh.vis.OrientedGlyphs(points, vectors, source, src_xform)[source]
Bases:
Prop
,PropertyMixin
,MapperMixin
,GlyphMixin
Glyph base class.
Base class for all simple oriented glyphs. Displays a scaled and oriented source shape at all point locations.
- Parameters:
points (array_like) – Point coordinates.
vectors (array_like) – Orientation defining vectors.
source – Source object.
src_xform (vtkTransform) – Source transformation.
Note
If array_like parameters are of type
ndarray
their data buffer is shared with VTK’s data objects (use copies to decouple storage).Attributes
Actor instance.
Axis aligned bounding box.
Color property.
Prop name.
Opacity property.
Pickable property.
Wrapped VTK instance.
Size property.
Visibility property.
Methods
colorize
(scalars)lookuptable
([range, gradient, logscale, size])Modify lookup table properties.
modified
()Update notification.
scale
(values)Scale glyph geometry.