Next: , Previous: or, Up: GCL Reference


7.2.89 pick

(pick COORDSYS GEOMID G V E F P VI EI FI)
The pick command is executed internally in response to pick events (right mouse double click).
COORDSYS
= coordinate system in which coordinates of the following arguments are specified. This can be:
world
world coord sys
self
coord sys of the picked geom (GEOMID)
primitive
coord sys of the actual primitive within the picked geom where the pick occurred.

GEOMID
= id of picked geom
G
= picked point (actual intersection of pick ray with object)
V
= picked vertex, if any
E
= picked edge, if any
F
= picked face
P
= path to picked primitive [0 or more]
VI
= index of picked vertex in primitive
EI
= list of indices of endpoints of picked edge, if any
FI
= index of picked face

External modules can find out about pick events by registering interest in calls to pick via the interest command.