This module computes a shadow projection of a 3D uniform scalar field onto the three major planes (xy, xz, yz).
Name | Type | Description |
in | Mesh_Unif+Node_Data | input field for which the shadow projection takes place. |
Name | Type | Description | Name |
axis | int | Projection Axis. This axis is perpendicular to the output plane. | Slider |
method | enum | selection of projection methods | RadioBox |
Name | Type | Description |
out | Mesh_Unif+Node_Data | 2D Projection througth the 3D data volume |
obj | DefaultObject | Directly renderable object of the 2D output |
The ProjectNodeData module computes a shadow projection of the node data stored in a 3D uniform scalar field onto the 3 mojor planes (xy, xz, yz).
If the Node_Data contains multiple components, all the components use the same mapping method. The data value of point on the 2D plane is dependent on all the datapoints which are using the same coordinates in the 2 used axis in the 3D volume (i.e. if y is the mapping axis points with identical x and z coordinates will be used for the same point in the 2D field).
The module provides the following mapping methods:
Each point on the plane is allocated the maximum value of all the node data values contibuting.
Each point on the plane is allocated the location of the maximum value of all the node data values contibuting on the mapping axis.
Each point on the plane is allocated the maximum value multiplied by its location on the mapping axis.
Each point on the plane is allocated the average value of all the node data values contibuting.
Each point on the plane is allocated the sum of all the node data values contibuting.
Each point on the plane is allocated the magnitude (square root of values squared) of all the node data values contibuting.
in
Mesh_Unif+Node_Data that contains the 3D mesh to be projected
axis
This slider allows to select the projection axis (perpendicular to the projection plane).
method
This radiobox is used to select the mapping method.
out
This Mesh_Unif+Node_Data contains the 2D projection.
obj
This DataObject is a directly renderable object of the 2D projection.
The example applications show the usage of ProjectNodeData in a 2D and 3D environment. The 3D example uses 3 ProjectNodeData modules to 'build the cube.
iac_proj/projnd/projnd.v
Creates the IAC_PROJ.ProjectNodeData library.
iac_proj/projnd/prndmod.v
Creates the ProjectNodeDataMods library containing the low-level module ProjectNodeDataCore and the parameter group ProjectNodeDataParams.
iac_proj/projnd/prndmac.v
Creates the ProjectNodeDataMacs library containing the high-level macros ProjectNodeDataFunc, ProjectNodeDataUI and ProjectNodeData.
iac_proj/projnd/prndapp.v
Creates the ProjectNodeDataApps library containing the examle applications ProjectNodeData2DEg and ProjectNodeData3DEg.
Tobias Schiebeck Manchester Visualization Centre
International AVS Centre Manchester Visualization Centre Kilburn Building University of Manchester Oxford Road Manchester United Kingdom M13 9PL