produce scaled, colored glyphs at single component node locations
module DVglyph { /* produces scaled, colored glyphs
at nodal locations */
Mesh+Node_Data_Opt+Iparam &in { /* input field */
nnodes+req;
nspace+req;
coordinates+req;
coordinates.values+req;
};
Mesh+read+IPort2 &glyph; /* glyph geometry */
int+Iparam vector; /* toggle to transform glyph
by vector data */
int+Iparam glyph_comp; /* glyph data component */
int+Iparam map_comp; /* color glyph by data */
int+Iparam scale_comp; /* scale glyph by data */
float+Iparam scale; /* scale factor applied to glyph */
int+Iparam scale_x; /* do scale in x */
int+Iparam scale_y; /* do scale in y */
int+Iparam scale_z; /* do scale in z */
int+Iparam normalize; /* toggle to normalize glyphs */
Mesh+Node_Data+Oparam out { /* output field */
xform+nowrite;
};
method+notify_val+notify_inst glyph_mod_update<status=1>
= "DVglyph_update";
};
DVglyph places a geometrical object at each node of an input field so that node locations can be easily identified. The glyph can be sized and colored according to the selected data component at each node.When combined with other base modules such as DVinterp_data, and vector base modules such as DVstream, DVglyph acts like a "hedgehog" function.
Libraries.Main.Mappers.glyph Libraries.Main.Mappers.probe Libraries.Main.Mappers.advector
modules/glyph.c Utility DVM macros DVMglyph_param