Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pe_cube(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pe_cube(3g)  —  Subroutines

Name

pe_cube − Generates a cube. 

Operating States: PHOP, ∗, STOP, ∗
Digital PHIGS extension function
Creates a structure element

Syntax

void pe_cube (
  const Ppoint3     ∗center,    /∗ (I) Center point of the cube ∗/
  Pfloat             size       /∗ (I) Length of a side ∗/
)

Data Structures


typedef struct {
    Pfloat     x;    /∗ x coordinate ∗/
    Pfloat     y;    /∗ y coordinate ∗/
    Pfloat     z;    /∗ z coordinate ∗/
} Ppoint3;

Description

pe_cube generates a cube.  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 cube element. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

Digital PHIGS Version 4.1 does not support this function.

See Also

padd_names_set
pfill_area3
pfill_area_set
pfill_area_set3_data
pinq_int_facs
premove_names_set
pset_back_int_colr
pset_back_int_shad_method
pset_back_int_style
pset_back_int_style_ind
pset_back_refl_model
pset_back_refl_props
pset_depth_cue_ind
pset_facet_cull_mode
pset_facet_disting_mode
pset_global_tran
pset_hlhsr_id
pset_indiv_asf
pset_int_colr
pset_int_colr_ind
pset_int_ind
pset_int_shad_method
pset_int_style
pset_int_style_ind
pset_light_source_st
pset_local_tran
pset_pick_id
pset_refl_model
pset_refl_props
pset_view_ind

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026