pset_indiv_asf(3g) — Subroutines
Name
pset_indiv_asf − Sets ASFs for primitive attributes.
Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element
Syntax
void pset_indiv_asf (
Paspect attrid, /∗ (I) Attribute source identifier ∗/
Pasf asf /∗ (I) Attribute source ∗/
)
Data Structures
typedef enum { /∗ start of PHIGS enumerations ∗/
PASPECT_LINETYPE,
PASPECT_LINEWIDTH,
PASPECT_LINE_COLR_IND,
PASPECT_MARKER_TYPE,
PASPECT_MARKER_SIZE,
PASPECT_MARKER_COLR_IND,
PASPECT_TEXT_FONT,
PASPECT_TEXT_PREC,
PASPECT_CHAR_EXPAN,
PASPECT_CHAR_SPACE,
PASPECT_TEXT_COLR_IND,
PASPECT_INT_STYLE,
PASPECT_INT_STYLE_IND,
PASPECT_INT_COLR_IND,
PASPECT_EDGE_FLAG,
PASPECT_EDGETYPE,
PASPECT_EDGEWIDTH,
PASPECT_EDGE_COLR_IND, /∗ end of PHIGS enumerations ∗/
PASPECT_LINE_COLR, /∗ start of PHIGS PLUS enumerations ∗/
PASPECT_MARKER_COLR,
PASPECT_TEXT_COLR,
PASPECT_INT_COLR,
PASPECT_EDGE_COLR,
PASPECT_LINE_SHAD_METHOD,
PASPECT_INT_SHAD_METHOD,
PASPECT_DATA_MAP_METHOD,
PASPECT_REFL_PROPS,
PASPECT_REFL_MODEL,
PASPECT_BACK_INT_STYLE,
PASPECT_BACK_INT_STYLE_IND,
PASPECT_BACK_INT_COLR,
PASPECT_BACK_INT_SHAD_METHOD,
PASPECT_BACK_DATA_MAP_METHOD,
PASPECT_BACK_REFL_PROPS,
PASPECT_BACK_REFL_MODEL,
PASPECT_CURVE_APPROX_CRIT,
PASPECT_SURF_APPROX_CRIT,
PASPECT_PARAM_SURF_CHARS /∗ end of PHIGS PLUS enumerations ∗/
} Paspect;
typedef enum {
PASF_BUNDLED, /∗ bundled attributes ∗/
PASF_INDIV /∗ individual attributes ∗/
} Pasf;
Description
pset_indiv_asf sets ASFs for primitive attributes. If the ASF is INDIVIDUAL, Digital PHIGS uses the value of the corresponding, individually specified attribute of the primitive on the workstation. If the ASF is BUNDLED, Digital PHIGS uses the value of the corresponding component of the workstation-dependent bundle, pointed to by the bundle index.
Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer. The pointer then points to the new set individual ASF element.
During structure traversal, Digital PHIGS sets the ASF of the specified attribute identifier in the PHIGS traversal state list to the specified attribute source value.
If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.
See Also
pset_colr_rep
pset_depth_cue_ind
pset_depth_cue_rep
pset_edge_ind
pset_edge_rep
pset_edge_rep_plus
pe_set_highl_ind
pe_set_highl_rep
pset_int_ind
pset_int_rep
pset_int_rep_plus
pset_line_ind
pset_line_rep
pset_line_rep_plus
pset_marker_ind
pset_marker_rep
pset_marker_rep_plus
pset_text_ind
pset_text_rep
pset_text_rep_plus