Previous Next Up Title Contents Index Functions Index Top Library

INITIALIZE LOCATOR

PINIT_LOC


CALL SEQUENCE

void pinit_loc(
)

TYPES

typedef struct {
	Pfloat 	x;	/* x coordinate	*/
	Pfloat 	y;	/* y coordinate	*/
} Ppoint;

typedef struct {
	Pfloat	x_min;	/* minimum x 	*/
	Pfloat	x_max;	/* maximum x 	*/
	Pfloat	y_min;	/* minimum y 	*/
	Pfloat	y_max;	/* maximum y 	*/
} Plimit;

typedef struct {
	union Ploc_pets {
		struct Ploc_pet_r1 {
			int	impl_dep;
		} pet_r1;
		struct Ploc_pet_r2 {
			int	impl_dep;
		} pet_r2;
		struct Ploc_pet_r3 {
			int	impl_dep;
		} pet_r3;
		struct Ploc_pet_r4 {
			Pline_attrs	line_attrs;	/* polyline attributes	*/
		} pet_r4;
		struct Ploc_pet_r5 {
			Pline_fill_ctrl_flag line_fill_ctrl_flag;	/* control flag	*/
			union	Ploc_attrs {
				Pline_attrs	line_attrs;	/* polyline attributes	*/
				Pint_attrs	int_attrs;	/* interior attributes	*/
				struct Ploc_fill_set {
					Pint_attrs	int_attrs;	/* interior attributes	*/
					Pedge_attrs	edge_attrs;	/* edge attributes	*/
				} fill_set;
			} attrs;
		} pet_r5;
		struct	Ploc_pet_r6 {
			int	impl_dep;
		} pet_r6;
	} pets;
} Ploc_data;

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Restricts the 3D initialize locator function to 2D. This function initializes the locator input device (designation of a point on a plane) number loc_dev for workstation ws_id .

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
251
Ignoring function, the function requires the input device to be in REQUEST mode
254
Ignoring function, invalid echo area volume: XMIN>>=XMAX, YMIN>>=YMAX or ZMIN>>ZMAX
255
Ignoring function, one of the echo area volume boundary points is outside the range of the device
253
Ignoring function, the specified prompt echo type is not available on the specified workstation
260
Ignoring function, one of the fields within the input device data record is in error
261
Ignoring function, initial value is invalid
114
Ignoring function, the view index value is less than zero

SEE ALSO

initialize locator 3, set locator mode, request locator, sample locator, get locator, inquire locator device state, inquire default locator device state, inquire number of available logical input devices


Previous Next Up Title Contents Index Functions Index Top Library