Top | ![]() |
![]() |
![]() |
![]() |
VisuBoxedVisuBoxed — Defines a common interface for objects with a VisuBox. |
VisuBoxed is implemented by VisuBox, VisuData, VisuDataAtomic, VisuDataSpin, VisuGlNodeScene, VisuGlView, VisuPlane, VisuPlaneSet, VisuScalarField, VisuScalarFieldBinaryOp, VisuScalarFieldData and VisuSurface.
VisuBox *
visu_boxed_getBox (VisuBoxed *self
);
Retrieves the VisuBox of self
.
Since: 3.7
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.
Since: 3.7
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.
Since: 3.7
“auto-adjust”
property“auto-adjust” gboolean
Adjust internals when box is set.
Flags: Read / Write
Default value: FALSE
“setBox”
signalvoid user_function (VisuBoxed *boxed, VisuBox *box, gpointer user_data)
Gets emitted when the bounding box is changed.
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