Previous Next Up Title Contents Index Functions Index Top Library

1.6. CREATING STRUCTURES WITH PHIGURE


A user wishing to build a structure in a PHIGURE program has the choice of :

- creating it via PHIGS, by calling the popen_struct and pclose_struct functions before and after any structure element insertion function

- creating it by calling a single PHIGURE function which produces a structure representing a 2D or 3D object

PHIGURE includes the following structure-building functions

generalized 2D or 3D primitives

linear, logarithmic, calendar, and any other axes

pie charts, histograms

processing 2D grids

processing 3D grids

isolines, isosurfaces

isovalue legend

cutting planes on 3D grids

Structures produced by PHIGS or PHIGURE are easily displayed if they are included in the list of structures in a scene.

PHIGURE functions defining the CSS may be divided into 3 types :

functions for creating a complete structure

e.g. the tcube function which builds a structure representing a parallelepiped

functions for inserting or modifying PHIGS attributes in an existing structure

e.g. : the tset_line_colr_ind function modifies the polyline color attribute

specific PHIGURE attribute modification functions

e.g. tset_axis_label function

The first parameter of all these functions is a structure identifier. These are managed by the application. Any problems due to recursive CSS are not dealt with by PHIGURE.


Previous Next Up Title Contents Index Functions Index Top Library