PolyData
- class m3sh.vis.PolyData(data, *, verts=None, lines=None, polys=None)[source]
Bases:
Prop
,PropertyMixin
,MapperMixin
Polygonal shape wrapper.
Manages visual properties of a polygonal shape. If data is an array_like representation of a point set, it is converted to an equivalent
ndarray
instance. The created array is then accessible via thepoints
attribute.- Parameters:
Note
The verts, lines, and polys arguments are ignored when data is a
vtkPolyData
instance.Attributes
Actor instance.
Axis aligned bounding box.
Color property.
Prop name.
Opacity property.
Pickable property.
Point coordinate array access.
Wrapped VTK instance.
Visibility property.
Methods
colorize
(scalars, items[, interpolate_scalars])Colorize polygonal data.
lookuptable
([range, gradient, logscale, size])Modify lookup table properties.
modified
()Update notification.