Previous Next Up Title Contents Index Functions Index Top Library

1.3.4. ASSOCIATED ATTRIBUTES

Any of these primitives may associated with certain attributes such as color, width, etc. Each attribute is specified by a PHIGS function inserting a "primitive attribute" structure element. Attributes may be specific to certain types of primitives, to several types of primitives, or general attributes used for all types. Attributes which are specific to one type of primitive have no effect on a primitive of another type : e.g. the polyline color attribute does not affect a fill area primitive

The following is a list of the main types of primitives, with their specific attributes in the right-hand column.

polyline ppolyline pset_line_colr_ind polyline color index

pset_linetype polyline line type

pset_linewidth polyline line width

polymarker ppolymarker pset_marker_colr_ind polymarker color index

pset_marker_type marker type

pset_marker_size marker size

fill area pfill_area pset_int_colr_ind interior color index

pset_int_style fill-area type

pset_int_style_ind interior fill-area style

fill area set pfill_area_set pset_int_colr_ind interior color index

pset_int_style fill-area type

pset_int_style_ind interior fill-area style

pset_edge_flag external contour visibility flag

pset_edge_colr_ind contour color index

pset_edgetype contour line type

pset_edgewidth contour line width

text ptext pset_text_colr_ind text color index

pset_text_font font

pset_text_prec text precision

pset_char_expan character expansion factor

pset_char_space character spacing

pset_char_ht character height

pset_char_up_vec text vector

pset_text_path writing direction

pset_text_align alignment

annotated text panno_text_rel pset_text_colr_ind text color index

pset_text_font font

pset_text_prec text precision

pset_char_expan character expansion factor

pset_char_space character spacing

pset_anno_char_ht character height

pset_anno_char_up_vec posting vector

pset_anno_path writing direction

pset_anno_align alignment

pset_anno_style type of joint with the annotated point annotated

3D primitives have the same attributes as 2D primitives.

The following is a list of general attributes applicable to all primitives

pset_view_ind view index

pset_hlhsr_id type of elimination of hidden lines and hidden surfaces

padd_names_set set name management (add)

premove_names_set set name management (remove)

pset_pick_id pick identifier

pset_model_clip_ind clipping indicator

pset_model_clip_vol define clipping volume

prestore_model_clip_vol restore clipping volume

pset_local_tran local transformation set

pset_global_tran global transformation set


Previous Next Up Title Contents Index Functions Index Top Library