Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE LOCATOR DEVICE STATE 3

PINQ_LOC_ST3


CALL SEQUENCE

void pinq_loc_st3(
)

TYPES

typedef enum {
	PINQ_SET, 
	PINQ_REALIZED
} Pinq_type ;

typedef void * Pstore;

typedef enum {
	POP_REQ,
	POP_SAMPLE,
	POP_EVENT
} Pop_mode;

typedef enum {
	PSWITCH_NO_ECHO, 
	PSWITCH_ECHO
} Pecho_switch;

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


typedef struct {
	Pfloat	x_min;	/* minimum x 	*/
	Pfloat	x_max;	/* maximum x 	*/
	Pfloat	y_min;	/* minimum y 	*/
	Pfloat	y_max;	/* maximum y 	*/
	Pfloat	z_min;	/* minimum z 	*/
	Pfloat	z_max;	/* maximum z 	*/
} Plimit3;
typedef struct {
	union Ploc3_pets {
		struct Ploc3_pet_r1 {
			Pint	impl_dep;
		} pet_r1;
		struct Ploc3_pet_r2 {
			Pint	impl_dep;
		} pet_r2;
		struct Ploc3_pet_r3 {
			Pint	impl_dep;
		} pet_r3;
		struct Ploc3_pet_r4 {
			Pline_attrs	line_attrs;	/* polyline attributes	*/
		} pet_r4;
		struct Ploc3_pet_r5 {
			Pline_fill_ctrl_flag	line_fill_ctrl_flag;	/* control flag	*/
			union Ploc3_attrs {
				Pline_attrs	line_attrs;	/* polyline attributes	*/
				Pint_attrs	int_attrs;	/* interior attributes	*/
				struct Ploc3_fill_set {
					Pint_attrs	int_attrs;	/* interior attributes	*/
					Pedge_attrs	edge_attrs;	/* edge attributes	*/
				} fill_set;
			} attrs;
		} pet_r5;
		struct Ploc3_pet_r6 {
			Pint	impl_dep;
		} pet_r6;
		Pint	impl_dep;
	} pets;
} Ploc_data3;

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Returns the parameters associated with the 3D LOCATOR input device number loc_dev. If the data is available, error indicator is returned as 0.

The data is read from the workstation state list.

The memory referenced by *loc_data_rec is managed by store.

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
61
Ignoring function, specified workstation is neither of category INPUT nor of category OUTIN
250
Ignoring function, the specified device is not available on the specified workstation

SEE ALSO

initialize locator, set locator mode, inquire default locator device data.


Previous Next Up Title Contents Index Functions Index Top Library