GeomToLat

DESCRIPTION

This module accepts geometry input, and processes it to produce a lattice. Its function is specialised, in that it searches the geometry for a cxSoCoordinate3 node, which contains the coordinates of a list of points in 3D space. The coordinates are then used as the coordinates of the output lattice, and the data part of the lattice is determined by applying some function to the coordinates (see below).

This module can be used to generate a lattice from the output of the NAGAdvectSimple module. More broadly, it illustrates the use of Open Inventor functionality within an IRIS Explorer module.

INPUTS

Port: Trace
Type: Geometry
Input geometry. The module searches this for a cxCoordinate3 node. If it doesn't find one, it prints an error message and exits. If it finds more than one, it uses the last one in the scene graph.

WIDGETS

Port: Function
Type: Option Menu
Menu Item: index
Menu Item: x
Menu Item: y
Menu Item: z
Menu Item: separation
Menu Item: distance
Choice for function used to generate data part from coordinate values for each point on the list. The choices are: the integer index of the point, the x, y or z coordinate of the point, the separation between the point and the previous point on the list (the separation for the first point is zero), or the distance along the list of points (i.e. the cumulative separation).

OUTPUTS

Port: Points
Type: Lattice
Constraints: 1-D
Constraints: 1-vector
Constraints: float
Constraints: curvilinear
Output lattice. The coordinates part of the lattice come directly from the coordinates of the points in the cxSoCoordinate3 node. The data part is obtained as some function of the coordinates - see above.

KNOWN PROBLEMS

SEE ALSO

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