Inputs an array of Grids (and Xforms) and merges all of the coordinates into one composite grid object. This allows multiple probes (glyphs) to be merged and used as a single input to modules such as streamlines and advect.
Name | Type | Description | |
&in[] | Grid+Xform | Input array of Grids containing coordinates | |
Name | Type | Description | |
out | Mesh (Cell_Set+Point) | Output mesh containing all input coordinates and a Point mesh | |
Inputs an array of Grids (and Xforms) and merges all of the coordinates into one composite grid object. This allows multiple probes (glyphs) to be merged and used as a single input to modules such as streamlines and advect.
For each grid in the input array of grids, each transformation matrix is applied to the corresponding set of coordinates, to map all the coordinates into a unified coordinate space.
The output is a grid containing all of the input coordinates, and a Point mesh, so that the positions of each coordinate can be viewed. Connectivity of coordinates is not copied across to the output.
The multi_probe data object has its transformation mode set to Parent, so that the coordinates cannot diverge from the original probe positions. Turn this back to Normal to move the multi-probe as a whole.
&in
Input array of Grids (coordinates) and a corresponding Xform.
out
Output field containing all the coordinates and a Point Mesh.
The low-level MultiProbeMerge module is used in this User Macro multi_probe.
An example application MultiProbeEg is provided, which shows a Sphere and a Box glyph combined to form a single probe into the Bluntfin example dataset, to generate streamlines. The white objects show the original input glyphs, which may be picked and transformed, and the red points show the combined coordinates of the multi_probe object.
iac_proj/mprobe/mprbmacs.v contains the multi_probe User Macro and the example application MultiProbeEg V definitions.
The MultiProbeMacs library inherits its process. As this library contains no procedural code, the process is not important. The low-level MultiProbeMarge module, executes under the process specified in its library, not the process defined in the high-level library.
Paul G. Lever International AVS Centre
International AVS Centre Manchester Visualization Centre Manchester Computing University of Manchester Oxford Road Manchester United Kingdom M13 9PL