void pinq_depth_cue_rep(
Pint ws_id, /* workstation identifier */ Pint index, /* depth cue index */ Pinq_type type, /* type of returned values */ Pint *error_ind, /* (out) error indicator */ Pdepth_cue_rep *rep /* (out) depth cue representation */
)
typedef enum {
PINQ_SET,
PINQ_REALIZED
} Pinq_type ;
typedef struct{
Pdepth_cue_mode mode; /* depth cue mode */
Pfloat ref_planes[2]; /* reference planes */
Pfloat scale[2]; /* scale factors */
Pgcolr colr; /* colour */
} Pdepth_cue_rep;
If the inquired information is available, the error indicator is returned as 0 and values are returned in the output parameters.
If the specified depth cue index is not present in the depth cue table, and the specified type of returned value is REALIZED, the representation for depth cue index 1 is returned.
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: