Vectors

DESCRIPTION

This module displays a 3D vector field for a 1 to 3D, 1 to 3-vector Lattice with arbitrary coordinates. Vectors are located at the lattice coordinate locations and point in the direction of the data vector field.

The location of the vectors is 3D at most; missing coordinate dimensions will be padded with zero. The direction of the vectors is also 3D at most; missing data variables will be padded with zero. For example, a 1D uniform lattice with 2 data variables would have all the vector endpoints on the X axis (because the Y and Z coordinates will be padded with zero), and all the vectors will lie in the XY plane (because there are only two data variables).

Vector magnitudes are the product of data vector field lengths and a scaling factor.

This module generates a vector plot from a vector field input. Optionally the vectors may be colored from a scalar field of the same dimensionality and size. To color the vectors, the optional scalar field and colormap both must be supplied. Cylinder/cone geometry can also be generated.

INPUTS

Port: Vector Field
Type: Lattice
Constraints: 1..3-D
Constraints: float
Input data Lattice

Port: Scalar Field
Type: Lattice
Optional: This port is optional.
Constraints: 1..3-D
Constraints: 1-vector
Constraints: float
Input colormap only used when a scalar field is also specified.

Port: Colormap
Type: Lattice
Optional: This port is optional.
Constraints: 1-D
Constraints: 4-vector
Constraints: float
Constraints: uniform
Scalar field used for coloring.

WIDGETS

Port: Scale Factor
Type: Slider
Multiplier for the scale of the geometry produced.

Port: Draw type
Type: Radio Box
Menu Item: Vectors
Menu Item: Tubes
Menu Item: Arrows
Determines whether vectors or solids are displayed

Port: resolution
Type: Dial

Port: Thickness
Type: Dial

OUTPUTS

Port: vectors
Type: Geometry
The output vectors

KNOWN PROBLEMS

SEE ALSO


[Documentation Home]
© The Numerical Algorithms Group Ltd, Oxford UK. 2000