![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#define VISU_GL_EXT_PATHS_ID struct VisuGlExtPaths; struct VisuGlExtPathsClass; void visu_gl_ext_paths_draw (VisuGlExtPaths *paths
); VisuGlExtPaths * visu_gl_ext_paths_new (const gchar *name
); gboolean visu_gl_ext_paths_set (VisuGlExtPaths *paths
,VisuPaths *obj
); void visu_gl_ext_paths_setDirty (VisuGlExtPaths *paths
);
#define VISU_GL_EXT_PATHS_ID "Paths"
The id used to identify this extension, see
visu_gl_ext_rebuild()
for instance.
struct VisuGlExtPathsClass { VisuGlExtClass parent; };
A short way to identify _VisuGlExtPathsClass structure.
VisuGlExtClass |
the parent class; |
Since 3.7
void visu_gl_ext_paths_draw (VisuGlExtPaths *paths
);
This method creates a compiled list that draws paths.
|
the VisuBox object to build paths for. |
VisuGlExtPaths * visu_gl_ext_paths_new (const gchar *name
);
Creates a new VisuGlExt to draw paths.
|
the name to give to the extension (default is VISU_GL_EXT_PATHS_ID). [allow-none] |
Returns : |
a pointer to the VisuGlExt it created or NULL otherwise. |
Since 3.7
gboolean visu_gl_ext_paths_set (VisuGlExtPaths *paths
,VisuPaths *obj
);
Set the VisuPaths to be drawn.
|
the VisuGlExtPaths object to modify. |
|
a VisuPaths object. [allow-none] |
Returns : |
TRUE if visu_gl_ext_paths_draw() should be called and then 'OpenGLAskForReDraw'
signal be emitted. |
Since 3.7
void visu_gl_ext_paths_setDirty (VisuGlExtPaths *paths
);
Currently, VisuPath are not objects, so paths
cannot react to a
change on them. Callers have to set by hand that paths
should be
redrawn with this routine.
|
a VisuGlExtPaths object. |
Since 3.7