This module extracts the data values of a certain position (or a set of positions) in a NodeData Array.
Name | Type | Description | |
in | Mesh_Unif+NodeData | Uniform Mesh and NodeData that contains the information to extract. | |
Name | Type | Description | UI Control |
node_index | int[] | Set of nodes the Data values should be obtained from. | |
offset | int | Order in which the output should be sorted. | slider |
Name | Type | Description | |
out | float[][] | data values of all NodeData entries at the given positions. | |
This module outputs the NodeData values of a given set of indices. The user macro ExtractNodeData provides a user interface that allows the input of coordinates. This makes the selection easier, but it does not use the full functionality of the functional macro ExtractNodeDataFunc, as it only allows to get the Data values of a single point. The ExtractNodeDataUI user interface macro uses the functionality of the IAC CombineCoordinateIndex Module to calculate the index from the given coordinates.
in
MeshUnif + NodeData data that contains the geometries and data values. The Module only uses the dims-value of the Mesh and the NodeData.
node_index
Set of nodes the Data values should be obtained from.
offset
Order in which the output should be sorted. The ouput array starts with the offset-th data value (e.g. if there are 5 NodeData entries, and offset is 3 the output array looks: { value[3], value[4], value[0], value[1], value[2]}).
out
Float array that contains the NodeData values at the given positions.
The ExtractNodeDataFunc functional macro uses the low-level Extract_Node_Data module. The macro takes as input the parameter blocks, ExtractNodeDataParams.
The ExtractNodeDataFunc functional macro and the ExtractNodeDataUI user interface macro are both used by the ExtractNodeData user macro. All of these macros use the ExtractNodeDataParams parameter block to communicate. The ExtractNodeDataUI user interface macro uses the CombineCoordinateIndex module.
The project includes an example application ExtractNodeDataEg that demonstrates the use of the ExtractNodeData macro.
iac_proj/extrnode/exndmods.v contains the V definitions of the Extract_Node_Data module and the ExtractNodeDataParams parameter block.
iac_proj/extrnode/exndmacs.v contains the V definitions of the ExtractNodeDataUI UI macro, the ExtractNodeDataFunc functional macro and the ExtractNodeData user macro.
iac_proj/extrnode/exndapps.v contains the V definitions of the ExtractNodeDataEg example application.
This project requires the following components to be installed correctly. Without them it will not function correctly.
The low-level ExtractNodeDataMods library containing the low-level module Extract_Node_Data does not specify a process. By default the express process will be used.
MA YingLiang Manchester Visualization Centre Tobias Schiebeck International AVS Centre
International AVS Centre Manchester Visualization Centre Manchester Computing University of Manchester Oxford Road Manchester United Kingdom M13 9PL