| Top |
VisuElementSpinVisuElementSpin — a class implementing rendering for VisuDataSpin method. |
| gfloat | a-axis | Read / Write |
| gfloat | b-axis | Read / Write |
| gfloat | hat-length | Read / Write |
| gfloat | hat-radius | Read / Write |
| gboolean | hat-spin-colored | Read / Write |
| gboolean | spin-colored | Read / Write |
| guint | spin-shape | Read / Write |
| gfloat | tail-length | Read / Write |
| gfloat | tail-radius | Read / Write |
| gboolean | tail-spin-colored | Read / Write |
GObject ╰── ToolDbgObj ╰── VisuElementRenderer ╰── VisuElementAtomic ╰── VisuElementSpin
This class implements the virtual method of VisuElementRenderer class to display nodes as 1D objects at a given point in a given direction. The specific shape is defined by VisuElementSpinShapeId enumeration. The size and orientation of the 1D object is given per node by a VisuNodeValuesVector property.
visu_element_spin_getFromPool() is a specific function to
associate a unique VisuElementSpin to a given VisuElement.
VisuElementSpin *
visu_element_spin_new (VisuElement *element);
Creates a new VisuElementSpin object to draw element
.
Since: 3.8
VisuElementSpin *
visu_element_spin_getFromPool (VisuElement *element);
Retrieve a VisuElementSpin representing element
. This
VisuElementSpin is unique and its parent properties are bound to
the unique VisuElementAtomic for element
.
Since: 3.8
void
visu_element_spin_bindToPool (VisuElementSpin *spin);
Bind all properties of spin
to the properties of the
VisuElementSpin object from the pool used for the same VisuElement.
Since: 3.8
VisuElementSpinShapeId
visu_element_spin_getShape (const VisuElementSpin *self);
Retrieves the shape of self
.
Since: 3.8
const gchar **
visu_element_spin_getShapeNames (gboolean asLabel);
Get the string defining VisuElementSpinShapeId. If asLabel
is
TRUE, then the string are translated and stored in UTF8.
Since: 3.8
void
visu_element_spin_pool_finalize (void);
Destroy the internal list of known VisuElementSpin objects, see
visu_element_spin_getFromPool().
[skip]
Since: 3.8
“a-axis” property“a-axis” gfloat
A axis length.
Flags: Read / Write
Allowed values: >= 0
Default value: 1.5
“b-axis” property“b-axis” gfloat
B axis length.
Flags: Read / Write
Allowed values: >= 0
Default value: 0.6
“hat-length” property“hat-length” gfloat
hat length.
Flags: Read / Write
Allowed values: >= 0
Default value: 2
“hat-radius” property“hat-radius” gfloat
hat radius.
Flags: Read / Write
Allowed values: >= 0
Default value: 0.8
“hat-spin-colored” property“hat-spin-colored” gboolean
hat is colored by spin.
Flags: Read / Write
Default value: FALSE
“spin-colored” property“spin-colored” gboolean
shape is colored by spin.
Flags: Read / Write
Default value: FALSE
“spin-shape” property“spin-shape” guint
spin shape.
Flags: Read / Write
Allowed values: <= 3
Default value: 0
“tail-length” property“tail-length” gfloat
tail length.
Flags: Read / Write
Allowed values: >= 0
Default value: 0.8
“tail-radius” property“tail-radius” gfloat
tail radius.
Flags: Read / Write
Allowed values: >= 0
Default value: 0.33
“tail-spin-colored” property“tail-spin-colored” gboolean
tail is colored by spin.
Flags: Read / Write
Default value: FALSE