PQPIP(3g) — Subroutines
Name
PQPIP − Returns extended predefined interior style and color information for the interior index.
Operating States: PHOP, ∗, ∗, ∗
PHIGS PLUS function
Old Syntax
DQPIP (WTYPE, II, MSLDR, MTLDR, ERRIND, CLRTYP, FICOLR, FCOLR,
BCLRTP, BICOLR, BCOLR, INTS, BINTS, ISTYLI, BISTLI, RFEQN, BRFEQN, SHDMD,
BSHDMD, AMB, DIFF, SPEC, SPCCT, FSICLR, FSCLR, SPECXP, TRANS, BAMB, BDIFF,
BSPEC, BSPCCT, BSICLR, BSCLR, BSPECX, BTRANS, APRXTP, SLDR, SDR, TRIMTP, TLDR,
TDR)
Argument Data Type Access Description
---------------------------------------------------------------------------
WTYPE Integer Read Workstation type
PII Integer Read Predefined interior index
component specification
MSLDR Integer Read Maximum length of surface
approximation data record
MTLDR Integer Read Maximum length of trimming
curve approximation data record
ERRIND Integer Write Error indicator
CLRTYP Integer Write Front interior color type
FICOLR Integer Write Front interior indexed color
value
FCOLR(3) Array of Write Front interior direct color
reals value
BCLRTP Integer Write Back interior color type
BICOLR Integer Write Back indexed color value
BCOLR(3) Array of Write Back direct color value
reals
INTS Integer Write Front interior style
BINTS Integer Write Back interior style
ISTYLI Integer Write Front interior style index
BISTLI Integer Write Back interior style index
RFEQN Integer Write Front interior reflectance
equation
BRFEQN Integer Write Back interior reflectance
equation
SHDMD Integer Write Front interior shading method
BSHDMD Integer Write Back interior shading method
AMB Real Write Front ambient reflectance
coefficient
DIFF Real Write Front diffuse reflectance
coefficient
SPEC Real Write Front specular reflectance
coefficient
SPCCT Integer Write Front specular color type
FSICLR Integer Write Front specular indexed color
value
FSCLR(3) Array of Write Front specular direct color
reals value
SPECXP Real Write Front specular exponent
TRANS Real Write Front transparency coefficient
BAMB Real Write Back ambient reflectance
coefficient
BDIFF Real Write Back diffuse reflectance
coefficient
BSPEC Real Write Back specular reflectance
coefficient
BSPCCT Integer Write Back specular color type
BSICLR Integer Write Back specular indexed color
reals value
BSCLR(3) Array of Write Back specular direct color
reals value
BSPECX Real Write Back specular exponent
BTRANS Real Write Back transparency coefficient
APRXTP Integer Write Surface approximation criteria
type
SLDR Integer Write Length of surface approximation
data record
SDR(MSLDR) Character ∗80 Write Surface approximation data
record
TRIMTP Integer Write Trimming curve approximation
criteria type
TLDR Integer Write Length of trimming curve
approximation data record
TDR(MTLDR) Character ∗80 Write Trimming curve approximation
data record
---------------------------------------------------------------------------
New Syntax
PQPIP (WTYPE, PII, CCSBSZ, ERRIND, INTS, STYLI,
CTYPE, COLI, NCC, COLR, ISM)
Argument Data Type Access Description
---------------------------------------------------------------------------
WTYPE Integer Read Workstation type
PII Integer Read Predefined interior index
CCSBSZ Integer Read Buffer size of the color
component specification
ERRIND Integer Write Error indicator
INTS Integer Write Interior style
ISTYLI Integer Write Interior style index
CTYPE Integer Write Interior color type
COLI Integer Write Color index
NCC Integer Write Number of color value components
COLR(CCSBSZ) Array of Write Color values
reals
ISM Integer Write Interior shading method
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
INTS PHOLLO Hollow interior.
PSOLID Solid interior.
PPATTR Patterned interior.
PHATCH Hatched interior.
PISEMP Empty interior.
CTYPE PINDIR Indirect (indexed) color.
PRGB Direct specification of red, green, and
blue.
PCIE Direct specification in the format of the
Commission Internationale de l’Eclairage.
PHSV Direct specification of hue, saturation,
and value.
PHLS Direct specification of hue, lightness,
and saturation.
ISM PNOIS No interpolation, constant shading.
PCIS Linear interpolation of color.
PDDIS Interpolation of color based on dot
products.
PDNIS Interpolation of color based on
normals.
---------------------------------------------------------------------------
Description
INQUIRE PREDEFINED INTERIOR REPRESENTATION PLUS returns values for the following:
•Interior style
•Interior style index
•Color index
•Lighting method
•Shading method
See Also
PQIF
PQIFP
PQIR
PQIP
PQPIR
PSII
PSIR
PSIP