VisuBoxed

VisuBoxed — Defines a common interface for objects with a VisuBox.

Functions

Properties

gboolean auto-adjust Read / Write
VisuBox * box Read / Write

Signals

Types and Values

Object Hierarchy

    GInterface
    ╰── VisuBoxed

Prerequisites

VisuBoxed requires GObject.

Known Derived Interfaces

VisuBoxed is required by VisuPointset.

Known Implementations

VisuBoxed is implemented by VisuBox, VisuData, VisuDataAtomic, VisuDataSpin, VisuGlNodeScene, VisuGlView, VisuPlane, VisuPlaneSet, VisuScalarField, VisuScalarFieldBinaryOp, VisuScalarFieldData and VisuSurface.

Description

Functions

visu_boxed_getBox ()

VisuBox *
visu_boxed_getBox (VisuBoxed *self);

Retrieves the VisuBox of self .

Parameters

self

a VisuBoxed object.

 

Returns

the VisuBox of self .

[transfer none]

Since: 3.7


visu_boxed_setBox ()

gboolean
visu_boxed_setBox (VisuBoxed *self,
                   VisuBoxed *box);

Attach the VisuBox of box to boxed . If update is TRUE, coordinates inside boxed are updated to fit into the new VisuBox. A reference is taken on the VisuBox of box . This routine emits “setBox” signal if the self has changed its VisuBox.

Parameters

self

a VisuBoxed object.

 

box

a VisuBoxed object.

[transfer none]

Returns

FALSE boxed was already boxed with the VisuBox of box .

Since: 3.7

Types and Values

struct VisuBoxedInterface

struct VisuBoxedInterface {
  GTypeInterface parent;

  VisuBox* (*get_box) (VisuBoxed *self);
  gboolean (*set_box) (VisuBoxed *self, VisuBox *box);
};

The different routines common to objects implementing a VisuBoxed interface.

Members

GTypeInterface parent;

yet, its parent.

 

get_box ()

a routine to get a pointer on the VisuBox.

 

set_box ()

a routine to set a VisuBox to a VisuBoxed object.

 

Since: 3.7


VisuBoxed

typedef struct _VisuBoxed VisuBoxed;

Interface for objects with VisuBox.

Property Details

The “auto-adjust” property

  “auto-adjust”              gboolean

Adjust internals when box is set.

Flags: Read / Write

Default value: FALSE


The “box” property

  “box”                      VisuBox *

Box.

Flags: Read / Write

Signal Details

The “setBox” signal

void
user_function (VisuBoxed *boxed,
               VisuBox   *box,
               gpointer   user_data)

Gets emitted when the bounding box is changed.

Parameters

boxed

the object which received the signal.

 

box

the new box.

 

user_data

user data set when the signal handler was connected.

 

Flags: No Hooks

Since: 3.7

See Also

VisuBox, VisuData, VisuPlane, VisuSurface, VisuScalarField and VisuGlView