| Top |
| VisuLine * | visu_line_newFromTriangles () |
| VisuLine * | visu_line_ref () |
| void | visu_line_unref () |
| void | visu_line_free () |
| void | visu_line_draw () |
| float * | visu_line_project () |
| double | visu_line_getValue () |
VisuLine * visu_line_newFromTriangles (float **data,guint nTriangles,double isoValue);
Create on the fly an isoline from a given set of triangles. If the
lines are created, isoline
will be allocated and should be freed
with visu_line_free() after use.
data |
the lines to be computed ; |
|
nTriangles |
the surface to compute isoline from ; |
|
isoValue |
the value of the computed isoline. |
Since: 3.6
void
visu_line_unref (VisuLine *line);
Decrease the ref counter, free all memory if counter reachs zero.
Since: 3.7
void visu_line_draw (VisuLine *line,float rgb[3]);
Call the OpenGL routine that will draw this line.
Since: 3.4
float * visu_line_project (VisuLine *line,VisuPlane *plane,guint *nSeg);
Calculate the projection of each line
vertex on plane
.
a newly allocated array of line segments. The size of this
array is 4 * nSeg
, holding the two plane coordiantes of the two
vertices of a line.
Since: 3.6