Vector_Arrow
Author
KGT (Kubota Graphics Technologies) Inc.
Makefile.osf1 for DEC Alpha/osf1
Makefile.sun2 for SUN Solaris2.3
vector.c source file
AllocArea.c
CrConeObj.c
CrLibObj.c
CrVecObj.c
HsvToRgb.c
SetConeDt.c
SetNumDiv.c
SetVectors.c
cone.c
l_vector.h
vector.net sample network
vector2.net sample network
vector.txt Module Reference
Name
Vector Arrow --- show vectors from 3-vector field
Summary
Name Vector Arrow
Name mapper
Inputs
field 3-vector real irregular 3-space
field scalar real irregular 3-space(optional)
colormap(optional)
Outputs
geom
Parameters
Name Type Default Min/Max
scale float 1.0 unbound
vector type choice bar bar/high/cone
/middlecone/low/cone
cross section choice 3D 3D,x-y,x-z,y-z
cone min float 0.0 unbound
cone max float 1.0 unbound
Description
The "Vector Arrow" module inputs a 3-vector field (1D,2D,3D) and
creates arrows. This module looks like the "hedgehogs" module.
The optional port(field scalar/colormap) can be used to generate colored
arrows. The color at each point on the arrow (vector field) indicates
the value of another attributes(pressure,temperature...)(Show Example2).
The vector type parameter controls the type of arrow.
The defaults is bar(line).
The cross section parameter specifies what component is used.
For example, if you select the x_y button, the first and second
component is used to create arrows.
Parameters
scale The lengths of the line segments output by this
module are proportional to this value.
vector type Selects the type of arrow.
cross section Specifies the vector component.
cone min Sets the minimum value of arrow heads.
cone max Sets the maximum value of arrow heads.
Example
The following network reads a sample data
($AVS_PATH/data/field/bluntfin.fld).
read_field
|
+---------+-----------+
| |
extract vector |
| |
orthgonal slicer volume bounds
| |
Vector Arrow |
| |
+----------+----------+
|
geometry viewer
Example2
|
orthgonal slicer
|
+--------+--------+
| |
extract scalar extract vector
| |
generate colormap +---------+ +----+
| | |
+--------------+ | |
| | |
Vector Arrow
|
Notice to change the lower/upper parameter of the
"generate colormap" module.