PolyData
- class m3sh.vis.PolyData(data, *, verts=None, lines=None, polys=None)[source]
Bases:
Prop,PropertyMixin,MapperMixinPolygonal 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
ndarrayinstance. The created array is then accessible via thepointsattribute.- Parameters:
Note
The verts, lines, and polys arguments are ignored when data is a
vtkPolyDatainstance.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.