PolyMesh
- class m3sh.vis.PolyMesh(mesh)[source]
Bases:
PolyData
Polygonal mesh shape.
Wrapper class managing the visual properties of a mesh. Instances of this class are typically generated using the
mesh()
function.Note
The generated
PolyMesh
instance and mesh share their vertex coordinate data buffers.Attributes
Actor instance.
Axis aligned bounding box.
Color property.
Mesh access.
Prop name.
Vertex normals.
Opacity property.
Pickable property.
Point coordinate array access.
Wrapped VTK instance.
Visibility property.
Methods
colorize
(scalars, items[, interpolate_scalars])Colorize polygonal data.
edges
([style, width, color])Edge display.
lookuptable
([range, gradient, logscale, size])Modify lookup table properties.
modified
()Update notification.
verts
([style, size, color])Vertex display.