NAME

Geometry - file header IRIS Explorer geometry creation and manipulation routines
include <cx/Geometry.h>
Geometry.h defines application programming interface routines for creating and editing scene graph descriptions stored in the IRIS Explorer cxGeometry data type. Routines are provided for initialization and access, defining primitives, defining primitive attributes, transforming and grouping, and transcription control. Initialization
void cxGeoInit(void); void cxGeoRoot(void); void cxGeoFocus(cxGeo); void cxGeoDelete(void);

Primitive Definition
typedef enum { CX_GEO_SPLAT_POINT, CX_GEO_SPLAT_CONSTANT, CX_GEO_SPLAT_LINEAR, CX_GEO_SPLAT_GAUSSIAN } cxGeoSplatType;

cxGeo cxGeoPolysDefine(int,float*,int,long*); cxGeo cxGeoLinesDefine(int,float*,int,int*); cxGeo cxGeoPointsDefine(int,float*); cxGeo cxGeoTrisDefine(int,float*,int,int*); cxGeo cxGeoSpheresDefine(int,float*,float*); cxGeo cxGeoCylindersDefine(int,float*,float*,float*); cxGeo cxGeoVolumeDefine(int,long*,int,float*,float*, float,float,float,float,float,float, cxGeoSplatType,float,int,int); cxGeo cxGeoGridDefine(int,int,float*); cxGeo cxGeoTextDefine(char*,char*);


Primitive Attribute Definition
typedef enum { CX_GEO_PER_DEFAULT, CX_GEO_PER_OBJECT, CX_GEO_PER_PART, CX_GEO_PER_FACE, CX_GEO_PER_FACE_INDEXED, CX_GEO_PER_VERTEX, CX_GEO_PER_VERTEX_INDEXED } cxGeoBindingLevel;

void cxGeoColorAdd(int,float*,cxGeoBindingLevel); void cxGeoNormalAdd(int,float*,cxGeoBindingLevel); void cxGeoTransparencyAdd(int,float*,cxGeoBindingLevel); void cxGeoComplexityAdd(float);


Transformations and Grouping
cxGeo cxGeoXformPush(void); void cxGeoXformPop(void); void cxGeoTranslate(float,float,float); void cxGeoRotate(float,float,float,float,float,float,float); void cxGeoScale(float,float,float,float,float,float); void cxGeoMatrixCat(float matrix[4][4]);

Transcription Control
void cxGeoBufferSelect(cxGeometry *); void cxGeoBufferClose(cxGeometry *); cxGeoTranslation cxGeoTranslationNew(cxGeo); void cxGeoReceive(cxGeometry *,cxGeoTranslation);

Each routine listed here is fully documented in its own section 3 manual page. Refer to that manual page for more detail on each routine.

DataAccess(4E), cxGeoBufferClose(3E), cxGeoBufferSelect(3E), cxGeoColorAdd(3E), cxGeoComplexityAdd(3E), cxGeoCylindersDefine(3E), cxGeoDelete(3E), cxGeoFocus(3E), cxGeoGridDefine(3E), cxGeoInit(3E), cxGeoLinesDefine(3E), cxGeoMatrixCat(3E), cxGeoNormalAdd(3E), cxGeoPointsDefine(3E), cxGeoPolysDefine(3E), cxGeoReceive(3E), cxGeoRoot(3E), cxGeoRotate(3E), cxGeoScale(3E), cxGeoSpheresDefine(3E), cxGeoTextDefine(3E), cxGeoTranslate(3E), cxGeoTransparencyAdd(3E), cxGeoTrisDefine(3E), cxGeoXformPop(3E), cxGeoXformPush(3E)
Last modified: May 24 16:26 1999
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1999