/***********************************************************************/ /* Open Visualization Data Explorer */ /* (C) Copyright IBM Corp. 1989,1999 */ /* ALL RIGHTS RESERVED */ /* This code licensed under the */ /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */ /***********************************************************************/ #include /* * $Header: /home/gda/dxcvs/dx/src/exec/dxmods/unpart.h,v 1.3 1999/05/10 15:45:32 gda Exp $ */ #ifndef __UNPART_H #define __UNPART_H #include #ifndef MAXDIMS #define MAXDIMS 32 #endif #ifndef TRUE #define TRUE 1 #define FALSE 0 #endif typedef enum { DEP_OTHER, DEP_CONNECTIONS, DEP_POSITIONS } DataDep; typedef struct { Object obj; /* the object itself */ Class class; /* FIELD/COMPOSITEFIELD */ int members; /* if CF # of members */ Type type; /* Data type */ Category cat; /* Data category */ int epi; /* elements per item */ Array data; /* components */ Array con; Array pos; int ndims; /* dims in conn space */ DataDep dep; /* data dep on */ int origin[MAXDIMS]; /* offset from origin */ int counts[MAXDIMS]; /* count in each dim */ } FieldInfo; Error _dxfGetFieldInformation (FieldInfo *info); Error _dxfCoalesceFieldElement (FieldInfo *src, FieldInfo *dst, int element, int me, int total); Error _dxfExtractFieldElement (FieldInfo *src, FieldInfo *dst, int element, int me, int total); #endif /* __UNPART_H */