GetPoints

DESCRIPTION

This module takes a 2D lattice and a location in 3D space (as a pick data) and creates and manipulates a list of these locations. Options in manipulation include adding, deleting and moving locations, and also deleting all the locations on the list. Each location has a data value associates with it (under user control). The list of locations and data is output as a 1D curvilinear lattice.

INPUTS

Port: Pick
Type: Pick
The location in 3D space.

Port: Lattice
Type: Lattice
Constraints: 2-D.
1-vector.
The data lattice. It can be of any primitive type, and any coordinate type.

WIDGETS

Port: Points edit mode
Type: Option Menu
Menu Item: Add
Menu Item: Delete
Menu Item: Move
Switch to change edit mode for manipulating the locations list. In adding mode, a new location is added at the point where the left mouse button is pressed. In deleting mode, the location that's closest to the point where the left mouse button is pressed is deleted from the list. In moving mode, the location that's closest to the point where the left mouse button is pressed is moved to a new location, determined as the point where the left mouse button is released (a click, drag and release mechanism).

Port: Delete all
Type: Button
Deletes all locations from the list.

Port: Data
Type: Dial
Current data value, to be associated with the next point to be put on the list.

OUTPUTS

Port: Locations
Type: Lattice
Constraints: 1-D.
float.
curvilinear.
3-cD.
Output locations. The coordinates of each location are contained in the coordinates part of the lattice. Here, the x and y coordinates are obtained from the x and y location of the picked point, while the z coordinate is obtained from the interpolated value of the lattice at that picked point. Thus, if the data part of the 2D lattice is height values, the coordinates of the output locations are the coordinates in 3D space. The data part of the lattice contains the data value associated with each location.

PROBLEMS

SEE ALSO

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