| Top |
VisuDataColorizerFragmentVisuDataColorizerFragment — A class defining node colorisation according to VisuNodeValuesFrag. |
This class implements VisuDataColorizer for data coming from
VisuNodeFragment. One can specify colorization according to
fragment label or fragment id, see
visu_data_colorizer_fragment_setType(). This class also implements
VisuNodeMaskerInterface and can be used to toggle the visibility
of VisuNode depending on their fragment label, see
visu_data_colorizer_fragment_setVisibility() and
visu_data_colorizer_fragment_setDefaultVisibility().
VisuDataColorizerFragment * visu_data_colorizer_fragment_new ();
Creates a VisuDataColorizer object to colorize and hide VisuNode based on a VisuNodeValuesFrag model.
Since: 3.8
gboolean visu_data_colorizer_fragment_setNodeModel (VisuDataColorizerFragment *colorizer,VisuNodeValuesFrag *model);
Associate model
to colorizer
.
colorizer |
a VisuDataColorizerFragment object. |
|
model |
a VisuNodeValuesFrag object. |
[transfer none] |
Since: 3.8
gboolean visu_data_colorizer_fragment_setType (VisuDataColorizerFragment *colorizer,VisuDataColorizerFragmentTypes type);
Defines how colorizer
is changing the node colours. See
visu_node_array_renderer_setColorizer() function.
colorizer |
a VisuDataColorizerFragment object. |
|
type |
a VisuDataColorizerFragmentTypes value. |
Since: 3.8
gboolean visu_data_colorizer_fragment_setDefaultVisibility (VisuDataColorizerFragment *frag,gboolean status);
Defines the visibility status
of all VisuNode not belonging to
any VisuNodeFragment.
Since: 3.8
gboolean visu_data_colorizer_fragment_setVisibility (VisuDataColorizerFragment *frag,const gchar *label,gboolean status);
Change the visibility of all VisuNode belonging to a
VisuNodeFragment labelled by label
according to status
. If
label
is NULL, status is changed for every fragments.
Since: 3.8
struct VisuDataColorizerFragment;
Common name to refer to a _VisuDataColorizerFragment.
struct VisuDataColorizerFragmentClass {
VisuDataColorizerClass parent;
};
Interface for class that can represent VisuDataColorizerFragment.
Since: 3.8
“type” property“type” guint
colorization type.
Flags: Read / Write
Allowed values: <= 2
Default value: 1