![]() |
![]() |
![]() |
![]() |
GDpick_data
Synopsis
group+OPort GDpick_data<cxx_name="GDXpick_data"> {
int sx;
int sy;
float vert[3];
float point[3];
int verti;
int conni;
int primi;
float dist;
group &field_id; /* field id */
prim &values_id[]; /* values array id */
group &data_id; /* cell set id */
};Description
GDpick_data defines the Graphics Display Kit pick data.The pick data is part of the pick information returned by the Graphics Display Kit when an object is picked. The pick data is returned for each primitive in the object that is picked. Currently, only the front-most primitive is picked.
Parameters
The x and y coordinates, in screen space, of the point that was picked. Note that the screen space coordinate system has 0,0 in the upper left with positive X to the right and positive Y down. The coordinate system in the view has 0,0 in the center with positive X to the right and positive Y up.
The index into the connectivity array associated with the object of the selected vertex's cell set. Not all renderable data has a connectivity array (e.g, text does not have a connectivity array).
The OM object id of the data that is attached to the object. Typically, this is the OM object id of an AVS/Express field.
The OM object id of the array of coordinates associated with the object. Typically, this is the OM object id of the values array within an AVS/Express field.
The OM object id of the cell set selected in the object. The cell set is found in the AVS/Express field. The cell set contains the connectivity array.
Example
Libraries.Graphics_Display.Objects.DataObject
File
See also related modules
![]() |
![]() |
![]() |
![]() |