| Top |
VisuDataDiffVisuDataDiff — a VisuNodeValues object to store displacements between to VisuData objects. |
GObject ╰── ToolDbgObj ╰── VisuNodeValues ╰── VisuNodeValuesFarray ╰── VisuNodeValuesVector ╰── VisuDataDiff
VisuDataDiff * visu_data_diff_new (const VisuData *dataRef,VisuData *data,gboolean reorder,const gchar *label);
Compute the node per node position differences between dataRef
and
data
. If reorder
is TRUE, the node in data
are reordered to
minimize the distance with dataRef
. If dataRef
and data
are
incompatible, the returned object will be empty, see visu_data_diff_isEmpty().
Since: 3.8
gboolean
visu_data_diff_isEmpty (const VisuDataDiff *self);
When creating a VisuDataDiff, if the reference and the data don't have the same number of types or atoms, the difference cannot be computed and the created object is empty.
Since: 3.8
gchar *
visu_data_diff_export (const VisuDataDiff *self);
Create a string with differences of coordinates stored in self
in
cartesian coordinates.
Since: 3.6
void visu_data_diff_applyWithFinder (const VisuDataDiff *geodiff,VisuNodeFinder *finder,gfloat tol);
For each node displacement of geodiff
, if a matching node in
finder
is found within the tolerance tol
, then the displacement
is applied.
geodiff |
a VisuDataDiff object with a displacement field. |
|
finder |
a VisuNodeFinder to apply the displacement on. |
|
tol |
a tolerance. |
Since: 3.8
struct VisuDataDiffClass {
VisuNodeValuesVectorClass parent;
};
Common name to refer to a VisuDataDiffClass.
#define VISU_DATA_DIFF_DEFAULT_ID "geometry_diff"
A default label that is used to store a VisuDataDiff in a VisuData.
Since: 3.8