TriMeshViewer¶
- class menpo.visualize.base.TriMeshViewer(figure_id, new_figure, points, trilist)[source]¶
Bases: object
Base TriMesh viewer that abstracts away dimensionality.
Parameters: figure_id : object
A figure id. Could be any valid object that identifies a figure in a given framework (string, int, etc)
new_figure : bool
Whether the rendering engine should create a new figure.
points : (N, D) ndarray
The points to render.
trilist : (M, 3) ndarray
The triangulation for the points.