<<<<<<<<<<<<<<<<<

visage_vector_field(visage)Scientific Visualizationvisage_vector_field(visage)

NAME

visage_vector_field - VISAGE display for representing vector data

DESCRIPTION

Visage_vector_field draws vector data as oriented lines. Each vector can be colored by scalar data, and is sized according to the magnitude of the vector data times the vector scale factor.

Since visage_vector_field is a display, it is associated with a visage_data_set. The data set contains the scalar, vector, and geometry data.

SUPERCLASS

visage_computed_feature

INSTANCE VARIABLES

extent A vector of length six containing the three (min,max) coordinate pairs for the appropriate geometric coordinate system. For example, for a structured grid, the extent is (imin,imax,jmin,jmax,kmin,kmax), i.e., the extent in the topological i-j-k space. For an unstructured grid, the extent is (xmin,xmax,ymin,ymax,zmin,zmax), i.e., the x-y-z box.

For each point of the geometry in the extent given, a vector is drawn.

MESSAGES

extent= (x1min,x1max, x2min.x2max, x3min,x3max) sets the (min,max) extent in the x1, x2, and x3 coordinates. All six values need not be specified.

extent? returns the extent

EXAMPLE

A partial code fragment follows. For a complete example, see visage_data_group.

/* * Create a visage vector field with given extent. Provide it as a * display to a visage data set. */ visage_vector_field new: v extent=(1,10,5,5,1,30) ;

visage_data_set new: data_set geometry=grid scalar_data=density

vector_data=velocity displays=v ;

SEE ALSO

visage_data_group visage_data_set visage_computed_feature visage_display


Please send comments and suggestions to
consult@rpi.edu