Previous Next Up Title Contents Index Functions Index Top Library

GET LOCATOR 3

PGET_LOC3


CALL SEQUENCE

void pget_loc3(
)

TYPES

typedef struct {
	Pfloat 	x;	/* x coordinate	*/
	Pfloat 	y;	/* y coordinate	*/
	Pfloat 	z;	/* z coordinate	*/
} Ppoint3;

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Reads a 3D LOCATOR event. The LOCATOR input logical value is read in the current event report in the PHIGS state list. It is composed of a point in WC and of the view index used to convert these points from NPC to WC when the event is placed in the queue.

Example:

/* Event locator */
	Pint view_index;
	Ppoint 3 loc_pos;
	.....
	pget_loc3(&view_index,&loc_pos);
	......

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

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


Previous Next Up Title Contents Index Functions Index Top Library