void pinq_view_rep(
Pint ws_id, /* workstation identifier */ Pint view_index, /* view index */ Pint *error_ind, /* (out) error indicator */ Pupd_st *update_state, /* (out) transformation update state */ Pview_rep3 *cur_rep, /* (out) current view representation */ Pview_rep3 *req_rep /* (out) requested view representation */
)
typedef enum {
PUPD_NOT_PEND,
PUPD_PEND
} Pupd_st ;
typedef struct {
Pmatrix3 ori_matrix; /* orientation matrix */
Pmatrix3 map_matrix; /* mapping matrix */
Plimit3 clip_limit; /* clipping limits */
Pclip_ind xy_clip; /* X-Y clipping indicator */
Pclip_ind back_clip; /* back clipping indicator */
Pclip_ind front_clip; /* front clipping indicator */
} Pview_rep3;
typedef Pfloat Pmatrix3[4][4];
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 enum {
PIND_NO_CLIP,
PIND_CLIP
} Pclip_ind;
Returns the components contained in the specified view representation of the view table in workstation ws_id's workstation state list. If the inquired information is available, the error indicator is returned as 0 and values are returned in the output parameters.
UPDATE_STATE is pending if a view modification request has been made but not yet updated.
If the inquired information is not available, the values returned in the output parameters are implementation dependent and the error indicator is set to one of the following error numbers to indicate the reason for non-
availability.