set the transformation of a field
group DVset_xform {
Mesh+IPort2 ∈
group+IPort2 &in_xfm {
GDxform_templ &xform;
};
group set_xform {
GDxform_templ &xform=>in_xfm.xform;
};
Mesh+OPort2 &out => merge( set_xform, in);
};
DVset_xform sets the transformation of a field's mesh to be equal to an input transformation. It is used when you want to "synch up" the transformation of one field with another.
The input is a reference to a field with any mesh. This is the field to be transformed.
A transformation of type GDxform_templ. &in's transformation will be set to this transformation.
The output is a reference to a merged object that contains the original input, plus the new xform.
Libraries.Main.Filters.set_xform
Libraries.Main.Filters.reset_xform