VisuNodeValuesCoord

VisuNodeValuesCoord — define a VisuNodeValues object to access node coordinates.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── ToolDbgObj
        ╰── VisuNodeValues
            ╰── VisuNodeValuesFarray
                ╰── VisuNodeValuesCoord

Description

Defines a VisuNodeValues object to be notified about coordinate changes.

Functions

visu_node_values_coord_new ()

VisuNodeValuesCoord *
visu_node_values_coord_new (VisuData *dataObj);

Create a VisuNodeValues object to handle coordinates of nodes.

Parameters

dataObj

a VisuData object.

 

Returns

a newly created VisuNodeValuesCoord object.

[transfer full]

Since: 3.8


visu_node_values_coord_getAt ()

const gfloat *
visu_node_values_coord_getAt (const VisuNodeValuesCoord *vect,
                              const VisuNode *node);

Retrieves the coord hosted on node .

Parameters

vect

a VisuNodeValuesCoord object.

 

node

a VisuNode object.

 

Returns

the coordinates of coord for node .

[array fixed-size=3][transfer none]

Since: 3.8


visu_node_values_coord_setAt ()

gboolean
visu_node_values_coord_setAt (VisuNodeValuesCoord *vect,
                              const VisuNode *node,
                              const gfloat xyz[3]);

Changes the coord hosted at node for one of coordinates defined by xyz .

Parameters

vect

a VisuNodeValuesCoord object.

 

node

a VisuNode object.

 

xyz

coord coordinates.

[array fixed-size=3]

Returns

TRUE if coord for node is indeed changed.

Since: 3.8


visu_node_values_coord_setAtDbl ()

gboolean
visu_node_values_coord_setAtDbl (VisuNodeValuesCoord *vect,
                                 const VisuNode *node,
                                 const double dxyz[3]);

Same as visu_node_values_coord_setAt() but for double values.

Parameters

vect

a VisuNodeValuesCoord object.

 

node

a VisuNode object.

 

dxyz

coord coordinates.

[array fixed-size=3]

Returns

TRUE if coord for node is indeed changed.

Since: 3.8

Types and Values

struct VisuNodeValuesCoord

struct VisuNodeValuesCoord;

Common name to refer to a _VisuNodeValuesCoord.


struct VisuNodeValuesCoordClass

struct VisuNodeValuesCoordClass {
  VisuNodeValuesFarrayClass parent;
};

Common name to refer to a _VisuNodeValuesCoordClass.

Members

VisuNodeValuesFarrayClass parent;

private.