Top | ![]() |
![]() |
![]() |
![]() |
VisuGlExtNodes * visu_gl_ext_nodes_new ();
Creates a new VisuGlExt to draw a set of nodes. It can be used
also for picking, see visu_gl_ext_nodes_getSelection()
.
Since: 3.7
gboolean visu_gl_ext_nodes_setMaterialEffect (VisuGlExtNodes *nodes
,VisuElementRendererEffects effect
);
Changes the effect applied on the color used to render VisuElement.
Since: 3.7
GArray * visu_gl_ext_nodes_getSelectionByRegion (VisuGlExtNodes *ext
,int x1
,int y1
,int x2
,int y2
);
Get the VisuNode ids in the picked region defined by (x1, y1) - (x2, y2).
ext |
a VisuGlExtNodes object; |
|
x1 |
a window coordinate; |
|
y1 |
a window coordinate; |
|
x2 |
a window coordinate; |
|
y2 |
a window coordinate. |
an empty list if no node found, or a newly created list of ids if any.
[transfer full][element-type guint]
Since: 3.7
int visu_gl_ext_nodes_getSelection (VisuGlExtNodes *ext
,int x
,int y
);
Get the id of a VisuNode on top of the z-buffer.
Since: 3.7
struct VisuGlExtNodesClass { VisuGlExtClass parent; };
A short way to identify _VisuGlExtNodesClass structure.
Since: 3.7