Previous Next Up Title Contents Index Functions Index Top Library

GET PICK

pget_pick


CALL SEQUENCE

void pget_pick (depth, status, pick)

INPUT PARAMETERS

Pint	depth,

OUTPUT PARAMETERS

Pin_status	*status,
Ppick_path	*pick

ARGUMENTS

depth,
Max depth of returned path
status,
Pick status
pick
Pick path

TYPES

typedef enum {
	PIN_STATUS_NONE, 
	PIN_STATUS_OK, 
	PIN_STATUS_NO_IN
} Pin_status;

typedef struct {
	Pint	depth;		/* pick path depth */
	Ppick_path_elem	*path_list;	/* pick path list */
} Ppick_path;

typedef struct {
	Pint	struct_id;	/* structure identifier */
	Pint	pick_id;	/* pick identifier */
	Pint	elem_pos;	/* element position */
} Ppick_path_elem;

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Reads a pick event. The pick input logical value is read in the current event report in the PHIGS state list. It contains the path describing the validated structure element and the event status.

Example:

/* Event pick */
	Pint depth;
	Pin_status status;
	Ppick_path_elem elem[5] ;
	Ppick_path pick_path;
	.....
	depth = 5;
	pick_path.path_list = elem;
	pget_pick(depth,&status,&pick_path);
	......

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
259
Ignoring function, the input device class of the current input report does not match the class

SEE ALSO

set pick mode, initialize pick , request pick , sample pick , await event, flush device events, inquire pick device state, inquire default pick device state, pick without interaction (ext)


Previous Next Up Title Contents Index Functions Index Top Library