pinq_refl_facs(3g) — Subroutines
Name
pinq_refl_facs − Returns information about reflectance characteristics.
Operating States: PHOP, ∗, ∗, ∗
PHIGS PLUS function
Syntax
void pinq_refl_facs (
Pint wstype, /∗ (I) Workstation type ∗/
Pstore store, /∗ (I) Handle to store the object.
store manages the
memory referenced by ∗models
and ∗refl_props. ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Pint_list ∗∗models, /∗ (O) List of available reflectance
characteristics ∗/
Pint_list ∗∗refl_props, /∗ (O) List of available reflectance
properties ∗/
Pint ∗refl_indices /∗ (O) Total number of predefined
reflectance indexes in the
Digital PHIGS list ∗/
)
Data Structures
typedef void ∗Pstore;
typedef struct {
Pint num_ints; /∗ number of Pints in the list ∗/
Pint ∗ints; /∗ list of integers ∗/
} Pint_list;
Constants
Data Structure Constant Description
Constants
---------------------------------------------------------------------------
Reflectance models PREFL_MODEL_NO_REFL Digital PHIGS pro-
duces no reflec-
tance calculation.
PREFL_MODEL_AMB_REFL Digital PHIGS pro-
duces ambient re-
flectance effects.
PREFL_MODEL_AMB_DIFF_REFL Digital PHIGS pro-
duce ambient and
diffuse reflectance
effects.
PREFL_MODEL_AMB_DIFF_SPEC_ Digital PHIGS pro-
REFL duces ambient, dif-
fuse, and specular
reflectance effects.
Reflectance property PREFL_PROPS_SIMPLE_REFL Simple reflectance.
type
---------------------------------------------------------------------------
Description
pinq_refl_facs queries the workstation description table and returns values for the following:
•List of available reflectance characteristics
•Number of elements returned
•Number of predefined reflectance indexes
Digital PHIGS Version 4.1 does not support this function.
See Also
pinq_pred_refl_rep
pinq_refl_rep
pset_refl_rep