vispy.visuals.isoline.
IsolineVisual
Bases: vispy.visuals.line.line.LineVisual
vispy.visuals.line.line.LineVisual
Isocurves of a tri mesh with data at vertices at different levels.
Vertex coordinates.
Indices into the vertex array.
scalar at vertices
The levels at which the isocurve is constructed from “data”.
The color to use when drawing the line. If an array is given, it must be of shape (Nlev, 4) and provide one rgba color by level.
Keyword arguments to pass to LineVisual.
color
data
The mesh data
levels
The threshold at which the isocurves are constructed from the data.
set_color
Set the color
The color to use.
set_data
Set the data
iso_mesh_line
Generate an isocurve from vertex data in a surface mesh.
Indices of triangular element into the vertices array.
data at vertex.
Levels at which to generate an isocurve
Vertex coordinates for lines points
Indices of line element into the vertex array.
level for vertex in lines
Notes
Uses a marching squares algorithm to generate the isolines.