VisuGlExtPlanes

VisuGlExtPlanes — Draw a list of VisuPlane.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── ToolDbgObj
        ╰── VisuGlExt
            ╰── VisuGlExtPlanes

Description

This extension draws a list of VisuPlane. Planes are outlined with a black line and also the intersections of planes.

Functions

visu_gl_ext_planes_new ()

VisuGlExtPlanes *
visu_gl_ext_planes_new (const gchar *name);

Creates a new VisuGlExt to draw a list of planes.

Parameters

name

the name to give to the extension (default is VISU_GL_EXT_PLANES_ID).

[allow-none]

Returns

a pointer to the VisuGlExt it created or NULL otherwise.

Since: 3.7


visu_gl_ext_planes_setBox ()

gboolean
visu_gl_ext_planes_setBox (VisuGlExtPlanes *ext,
                           VisuBox *box);

Apply box on every plane rendered by ext .

Parameters

ext

a VisuGlExtPlanes object.

 

box

a VisuBox object.

 

Returns

TRUE if the box is actually changed.

Since: 3.8

Types and Values

VISU_GL_EXT_PLANES_ID

#define VISU_GL_EXT_PLANES_ID "Planes"

The id used to identify this extension, see visu_gl_ext_rebuild() for instance.