Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE DEFAULT PICK DEVICE DATA 3

PINQ_DEF_PICK_DATA3


CALL SEQUENCE

void pinq_def_pick_data3(
)

TYPES

typedef void * Pstore;

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

typedef struct {
	Pint		num_ints;	/* number of Pints in list 	*/
	Pint		*ints;	/* list of integers	*/
} Pint_list;

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 Ppick3_pets {
		struct Ppick3_pet_r1 {
			Pint	impl_dep;
		} pet_r1;
		Pint	impl_dep;
	} pets;
} Ppick_data3;

PHIGS STATE

(PHOP, *, *, *).

EFFECT

Returns the predefined 3D values associated with PICK input device number device. If the data is available, error indicator is returned as 0.

The data is read from the workstation description table of type ws_type.

The memory referenced by *pick_data_rec is managed by store.

ERRORS

002
Function ignored, system state must be (PHOP, *,*,*).
052
Function ignored, workstation type not recognized by GPHIGS
051
Function ignored, this data is not available for this type of workstation.
061
Function ignored, specified workstation neither in INPUT category, nor OUTIN category.
250
Function ignored, specified device not available on this workstation.

SEE ALSO

initialize pick 3, set pick mode, inquire pick device state, create store.


Previous Next Up Title Contents Index Functions Index Top Library