• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files

GLOBAL.h

Go to the documentation of this file.
00001 /* CORE SOURCE CODE REMOVED */
00002 
00003 /*
00004 ******************************************************************
00005 ******************************************************************
00006 *******                                                   ********
00007 ******  (C) 1988-2008 Tecplot, Inc.                        *******
00008 *******                                                   ********
00009 ******************************************************************
00010 ******************************************************************
00011 */
00012 
00013 #ifndef _GLOBAL_H
00014 
00015 #if defined EXTERN
00016 #undef EXTERN
00017 #endif
00018 #if defined Q_MAINMODULE && defined TECPLOTKERNEL
00019 #define EXTERN
00020 #else
00021 #define EXTERN extern
00022 #endif
00023 
00024 #define EXPORT_DEPRECATED_INTERFACES_TO_ADK_ONLY
00025 /* CORE SOURCE CODE REMOVED */
00026 
00027 
00028 /****************************************************************
00029  *                                                              *
00030  *                          MACROS                              *
00031  *                                                              *
00032  ****************************************************************/
00033 #if defined TRUE
00034 #undef TRUE
00035 #endif
00036 #if defined FALSE
00037 #undef FALSE
00038 #endif
00039 #if defined MIN
00040 #undef MIN
00041 #endif
00042 #if defined MAX
00043 #undef MAX
00044 #endif
00045 #if defined ROUND
00046 #undef ROUND
00047 #endif
00048 #if defined ROUND2
00049 #undef ROUND2
00050 #endif
00051 #if defined TRUNC
00052 #undef TRUNC
00053 #endif
00054 
00055 #define TRUE                  ((Boolean_t)1)
00056 #define FALSE                 ((Boolean_t)0)
00057 
00058 /****************************************************************
00059  *                                                              *
00060  *                           MACROS                             *
00061  *                                                              *
00062  ****************************************************************/
00063 #define ABS(X)                ((X) >= 0 ? (X) : -(X) )
00064 #define MAX(X,Y)              ((X) > (Y) ? (X) : (Y) )
00065 #define MIN(X,Y)              ((X) < (Y) ? (X) : (Y) )
00066 #define BESTSHOWCOLOR(X)      ((X) == White_C ? Black_C : White_C)
00067 #define ROUND_TO_BYTE(X)      ((BYTE)((X)+0.499))
00068 #define ROUNDS(X)             ((short)((X)+0.499))
00069 #define ROUNDL(X)             ((LgIndex_t)((X)+0.499))
00070 #define ROUND2(X)             ((X) >= 0 ? ((int)((X)+0.499)) : ((int)((X)-0.499)))
00071 #define TRUNC(X)              ((short) (X))
00072 #define RAD_TO_DEG(rad)       (180.*(rad)/PI)
00073 #define DEG_TO_RAD(deg)       (PI*(deg)/180.)
00074 
00075 # define CAPITAL(C) ( ('a'<=(C)&&(C)<='z') ? ((C)+('A'-'a')) : (C) ) /* okay for UNICODE */
00076 
00077 #include "TASSERT.h"
00078 
00079 #if defined TECPLOTKERNEL && defined MSWIN
00080 #define ISEMPTYSTRING(S)      tecplot::strutil::IsEmptyString(S)
00081 #else
00082 #define ISEMPTYSTRING(S)      ( ((const char*)(S))[0] == '\0' )
00083 #endif
00084 
00085 #define ISWHITESPACE(C)       ((C == ' ') || (C == '\t') || (C == '\n'))
00086 #define ISSEPARATOR(C)        ((C == ' ') || (C == '\t') || (C == ','))
00087 /* clamp the input to the specified range */
00088 #define CLAMP(value,low,high) ((value)<(low) ? (low) : (value) > (high) ? (high) : (value))
00089 /* integer division rounds any fraction up (for example n=16,d=3 results in 6) */
00090 #define INTEGER_DIVIDE_AND_ROUND_UP(n, d) (((int)(n)+(int)(d)-1)/(int)(d))
00091 
00092 /* CORE SOURCE CODE REMOVED */
00093 
00094 /* */
00095 #define SWITCH(Type,A,B)      do {Type T = (A); (A) = (B); (B) = T;} while (FALSE)
00096 #define SWITCH_DOUBLES(A,B)   SWITCH(double, (A), (B))
00097 #define FPRINTFOK(x)          (Boolean_t)((x) > 0)
00098 #define GRAPHICSARE3D(F)      ((F->PlotType == PlotType_Cartesian3D))
00099 
00100 /* convenience macros for implication, P -> Q, and equivalence, P <-> Q. */
00101 #define IMPLICATION(P,Q) (!(P) || (Q))
00102 #define EQUIVALENCE(P,Q) ((P) == (Q))
00103 
00104 /* suppress compiler warnings about unused parameters */
00105 #if defined UNUSED
00106 #undef UNUSED
00107 #endif
00108 #define UNUSED(param) (void)param
00109 
00116 #define CONVERT_DOUBLE_TO_FLOAT(val) \
00117   ( (val) >= SMALLFLOAT \
00118     ? ( (val) < LARGEFLOAT \
00119         ? (float)(val) \
00120         : (float)LARGEFLOAT \
00121       ) \
00122     : ( (val) <= -SMALLFLOAT  \
00123         ? ( (val) > -LARGEFLOAT \
00124             ? (float)(val) \
00125             : (float)-LARGEFLOAT \
00126           ) \
00127         : (float)0.0 \
00128       ) \
00129   )
00130 
00131 
00138 #define CLAMP_DOUBLE(val) \
00139   ( (val) >= SMALLDOUBLE \
00140     ? ( (val) < LARGEDOUBLE \
00141         ? (double)(val) \
00142         : (double)LARGEDOUBLE \
00143       ) \
00144     : ( (val) <= -SMALLDOUBLE  \
00145         ? ( (val) > -LARGEDOUBLE \
00146             ? (double)(val) \
00147             : (double)-LARGEDOUBLE \
00148           ) \
00149         : (double)0.0 \
00150       ) \
00151   )
00152 
00153 
00160 #define CONVERT_DOUBLE_TO_INT32(val) \
00161   ( (val) >= 1.0 \
00162     ? ( (val) < MAXINT32 \
00163         ? (Int32_t)(val) \
00164         : (Int32_t)MAXINT32 \
00165       ) \
00166     : ( (val) <= -1.0  \
00167         ? ( (val) > (Int32_t)-MAXINT32 \
00168             ? (Int32_t)(val) \
00169             : (Int32_t)-MAXINT32 \
00170           ) \
00171         : (Int32_t)0.0 \
00172       ) \
00173   )
00174 
00175 
00182 #define CONVERT_DOUBLE_TO_INT16(val) \
00183   ( (val) >= 1.0 \
00184     ? ( (val) < MAXINT16 \
00185         ? (Int16_t)(val) \
00186         : (Int16_t)MAXINT16 \
00187       ) \
00188     : ( (val) <= -1.0  \
00189         ? ( (val) > (Int16_t)-MAXINT16 \
00190             ? (Int16_t)(val) \
00191             : (Int16_t)-MAXINT16 \
00192           ) \
00193         : (Int16_t)0.0 \
00194       ) \
00195   )
00196 
00206 #define COPY_2_UNALIGNED_BYTES(DstBuffer, SrcBuffer) \
00207         do { \
00208           /* cannot check sizeof(SrcBuffer) or sizeof(DstBuffer) because they are */ \
00209           /* most likely single byte pointers into unaligned blocks of data */ \
00210           ((Byte_t *)(DstBuffer))[0] = ((Byte_t *)(SrcBuffer))[0]; \
00211           ((Byte_t *)(DstBuffer))[1] = ((Byte_t *)(SrcBuffer))[1]; \
00212         } while (FALSE)
00213 
00223 #define COPY_AND_REVERSE_2_UNALIGNED_BYTES(DstBuffer, SrcBuffer) \
00224         do { \
00225           /* cannot check sizeof(SrcBuffer) or sizeof(DstBuffer) because they are */ \
00226           /* most likely single byte pointers into unaligned blocks of data */ \
00227           ((Byte_t *)(DstBuffer))[0] = ((Byte_t *)(SrcBuffer))[1]; \
00228           ((Byte_t *)(DstBuffer))[1] = ((Byte_t *)(SrcBuffer))[0]; \
00229         } while (FALSE)
00230 
00240 #define COPY_4_UNALIGNED_BYTES(DstBuffer, SrcBuffer) \
00241         do { \
00242           /* cannot check sizeof(SrcBuffer) or sizeof(DstBuffer) because they are */ \
00243           /* most likely single byte pointers into unaligned blocks of data */ \
00244           ((Byte_t *)(DstBuffer))[0] = ((Byte_t *)(SrcBuffer))[0]; \
00245           ((Byte_t *)(DstBuffer))[1] = ((Byte_t *)(SrcBuffer))[1]; \
00246           ((Byte_t *)(DstBuffer))[2] = ((Byte_t *)(SrcBuffer))[2]; \
00247           ((Byte_t *)(DstBuffer))[3] = ((Byte_t *)(SrcBuffer))[3]; \
00248         } while (FALSE)
00249 
00259 #define COPY_AND_REVERSE_4_UNALIGNED_BYTES(DstBuffer, SrcBuffer) \
00260         do { \
00261           /* cannot check sizeof(SrcBuffer) or sizeof(DstBuffer) because they are */ \
00262           /* most likely single byte pointers into unaligned blocks of data */ \
00263           ((Byte_t *)(DstBuffer))[0] = ((Byte_t *)(SrcBuffer))[3]; \
00264           ((Byte_t *)(DstBuffer))[1] = ((Byte_t *)(SrcBuffer))[2]; \
00265           ((Byte_t *)(DstBuffer))[2] = ((Byte_t *)(SrcBuffer))[1]; \
00266           ((Byte_t *)(DstBuffer))[3] = ((Byte_t *)(SrcBuffer))[0]; \
00267         } while (FALSE)
00268 
00278 #define COPY_8_UNALIGNED_BYTES(DstBuffer, SrcBuffer) \
00279         do { \
00280           /* cannot check sizeof(SrcBuffer) or sizeof(DstBuffer) because they are */ \
00281           /* most likely single byte pointers into unaligned blocks of data */ \
00282           ((Byte_t *)(DstBuffer))[0] = ((Byte_t *)(SrcBuffer))[0]; \
00283           ((Byte_t *)(DstBuffer))[1] = ((Byte_t *)(SrcBuffer))[1]; \
00284           ((Byte_t *)(DstBuffer))[2] = ((Byte_t *)(SrcBuffer))[2]; \
00285           ((Byte_t *)(DstBuffer))[3] = ((Byte_t *)(SrcBuffer))[3]; \
00286           ((Byte_t *)(DstBuffer))[4] = ((Byte_t *)(SrcBuffer))[4]; \
00287           ((Byte_t *)(DstBuffer))[5] = ((Byte_t *)(SrcBuffer))[5]; \
00288           ((Byte_t *)(DstBuffer))[6] = ((Byte_t *)(SrcBuffer))[6]; \
00289           ((Byte_t *)(DstBuffer))[7] = ((Byte_t *)(SrcBuffer))[7]; \
00290         } while (FALSE)
00291 
00301 #define COPY_AND_REVERSE_8_UNALIGNED_BYTES(DstBuffer, SrcBuffer) \
00302         do { \
00303           /* cannot check sizeof(SrcBuffer) or sizeof(DstBuffer) because they are */ \
00304           /* most likely single byte pointers into unaligned blocks of data */ \
00305           ((Byte_t *)(DstBuffer))[0] = ((Byte_t *)(SrcBuffer))[7]; \
00306           ((Byte_t *)(DstBuffer))[1] = ((Byte_t *)(SrcBuffer))[6]; \
00307           ((Byte_t *)(DstBuffer))[2] = ((Byte_t *)(SrcBuffer))[5]; \
00308           ((Byte_t *)(DstBuffer))[3] = ((Byte_t *)(SrcBuffer))[4]; \
00309           ((Byte_t *)(DstBuffer))[4] = ((Byte_t *)(SrcBuffer))[3]; \
00310           ((Byte_t *)(DstBuffer))[5] = ((Byte_t *)(SrcBuffer))[2]; \
00311           ((Byte_t *)(DstBuffer))[6] = ((Byte_t *)(SrcBuffer))[1]; \
00312           ((Byte_t *)(DstBuffer))[7] = ((Byte_t *)(SrcBuffer))[0]; \
00313         } while (FALSE)
00314 
00321 #define REVERSE_2_BYTES_1_AT_A_TIME(Buffer) \
00322           do { \
00323             Byte_t Byte0 = ((Byte_t *)(Buffer))[0]; \
00324             CHECK(sizeof(*(Buffer))==1 || sizeof(*(Buffer))==2); \
00325             ((Byte_t *)(Buffer))[0] = ((Byte_t *)(Buffer))[1]; \
00326             ((Byte_t *)(Buffer))[1] = Byte0; \
00327           } while (FALSE)
00328 
00329 #define REVERSE_2_BYTES_2_AT_A_TIME(Buffer) \
00330           do { \
00331             UInt16_t data_bits = ((UInt16_t *)(Buffer))[0]; \
00332             CHECK(sizeof(*(Buffer))==1 || sizeof(*(Buffer))==2); \
00333             ((UInt16_t *)(Buffer))[0] = (((data_bits)<<8) | \
00334                                          ((data_bits&0xff))); \
00335           } while (FALSE)
00336 
00337 /* REVERSE_2_BYTES_2_AT_A_TIME may actually be slower, needs testing. */
00338 #define REVERSE_2_BYTES REVERSE_2_BYTES_1_AT_A_TIME
00339 
00365 #define REVERSE_4_BYTES_1_AT_A_TIME(Buffer) \
00366           do { \
00367             Byte_t Byte0 = ((Byte_t *)(Buffer))[0]; \
00368             Byte_t Byte1 = ((Byte_t *)(Buffer))[1]; \
00369             CHECK(sizeof(*(Buffer))==1 || sizeof(*(Buffer))==4); \
00370             ((Byte_t *)(Buffer))[0] = ((Byte_t *)(Buffer))[3]; \
00371             ((Byte_t *)(Buffer))[1] = ((Byte_t *)(Buffer))[2]; \
00372             ((Byte_t *)(Buffer))[2] = Byte1; \
00373             ((Byte_t *)(Buffer))[3] = Byte0; \
00374           } while (FALSE)
00375 
00376 #define REVERSE_4_BYTES_4_AT_A_TIME(Buffer) \
00377           do { \
00378             UInt32_t data_bits = *((UInt32_t *)(Buffer)); \
00379             CHECK(sizeof(*(Buffer))==1 || sizeof(*(Buffer))==4); \
00380             *((UInt32_t *)(Buffer)) = (((data_bits)<<24)            | \
00381                                        ((data_bits&0x0000ff00)<<8)  | \
00382                                        ((data_bits&0x00ff0000)>>8)  | \
00383                                        ((data_bits)>>24)); \
00384           } while (FALSE)
00385 
00386 #if defined MSWIN
00387 /*
00388  * The DevStuido compiler seems to be the only one that can truly handle this
00389  * when optimization is turned on.
00390  */
00391 #define REVERSE_4_BYTES REVERSE_4_BYTES_4_AT_A_TIME
00392 #else
00393 #define REVERSE_4_BYTES REVERSE_4_BYTES_1_AT_A_TIME
00394 #endif
00395 
00402 #define REVERSE_8_BYTES_1_AT_A_TIME(Buffer) \
00403         do { \
00404             Byte_t Byte0 = ((Byte_t *)(Buffer))[0]; \
00405             Byte_t Byte1 = ((Byte_t *)(Buffer))[1]; \
00406             Byte_t Byte2 = ((Byte_t *)(Buffer))[2]; \
00407             Byte_t Byte3 = ((Byte_t *)(Buffer))[3]; \
00408             CHECK(sizeof(*(Buffer))==1 || sizeof(*(Buffer))==8); \
00409             ((Byte_t *)(Buffer))[0] = ((Byte_t *)(Buffer))[7]; \
00410             ((Byte_t *)(Buffer))[1] = ((Byte_t *)(Buffer))[6]; \
00411             ((Byte_t *)(Buffer))[2] = ((Byte_t *)(Buffer))[5]; \
00412             ((Byte_t *)(Buffer))[3] = ((Byte_t *)(Buffer))[4]; \
00413             ((Byte_t *)(Buffer))[4] = Byte3; \
00414             ((Byte_t *)(Buffer))[5] = Byte2; \
00415             ((Byte_t *)(Buffer))[6] = Byte1; \
00416             ((Byte_t *)(Buffer))[7] = Byte0; \
00417         } while (FALSE)
00418 
00419 #define REVERSE_8_BYTES_2_AT_A_TIME(Buffer) \
00420         do { \
00421           UInt16_t data_bits_0 = ((UInt16_t *)(Buffer))[0]; \
00422           UInt16_t data_bits_1 = ((UInt16_t *)(Buffer))[1]; \
00423           UInt16_t data_bits_2 = ((UInt16_t *)(Buffer))[2]; \
00424           UInt16_t data_bits_3 = ((UInt16_t *)(Buffer))[3]; \
00425           CHECK(sizeof(*(Buffer))==1 || sizeof(*(Buffer))==8); \
00426           ((UInt16_t *)(Buffer))[0] = (((data_bits_3)<<8) | \
00427                                        ((data_bits_3&0xff))); \
00428           ((UInt16_t *)(Buffer))[1] = (((data_bits_2)<<8) | \
00429                                        ((data_bits_2&0xff))); \
00430           ((UInt16_t *)(Buffer))[2] = (((data_bits_1)<<8) | \
00431                                        ((data_bits_1&0xff))); \
00432           ((UInt16_t *)(Buffer))[3] = (((data_bits_0)<<8) | \
00433                                        ((data_bits_0&0xff))); \
00434         } while (FALSE)
00435 
00436 #define REVERSE_8_BYTES_4_AT_A_TIME(Buffer) \
00437         do { \
00438           UInt32_t data_bits_0 = ((UInt32_t *)(Buffer))[0]; \
00439           UInt32_t data_bits_1 = ((UInt32_t *)(Buffer))[1]; \
00440           CHECK(sizeof(*(Buffer))==1 || sizeof(*(Buffer))==8); \
00441           ((UInt32_t *)(Buffer))[0] = (((data_bits_1)<<24)           | \
00442                                        ((data_bits_1&0x0000ff00)<<8) | \
00443                                        ((data_bits_1&0x00ff0000)>>8) | \
00444                                        ((data_bits_1)>>24)); \
00445           ((UInt32_t *)(Buffer))[1] = (((data_bits_0)<<24)           | \
00446                                        ((data_bits_0&0x0000ff00)<<8) | \
00447                                        ((data_bits_0&0x00ff0000)>>8) | \
00448                                        ((data_bits_0)>>24)); \
00449         } while (FALSE)
00450 
00451 #define REVERSE_8_BYTES_8_AT_A_TIME(Buffer) \
00452         do { \
00453           UInt64_t data_bits = *((UInt64_t *)(Buffer)); \
00454           CHECK(sizeof(*(Buffer))==1 || sizeof(*(Buffer))==8); \
00455           *((UInt64_t *)(Buffer)) = (((data_bits)<<56) | \
00456                                      ((data_bits&0x000000000000ff00)<<40) | \
00457                                      ((data_bits&0x0000000000ff0000)<<24) | \
00458                                      ((data_bits&0x00000000ff000000)<<8)  | \
00459                                      ((data_bits&0x000000ff00000000)>>8)  | \
00460                                      ((data_bits&0x0000ff0000000000)>>24) | \
00461                                      ((data_bits&0x00ff000000000000)>>40) | \
00462                                      ((data_bits)>>56)); \
00463         } while (FALSE)
00464 
00465 
00466 #if defined MSWIN
00467 /*
00468  * The DevStuido compiler seems to be the only one that can truly handle this
00469  * when optimization is turned on.
00470  */
00471 #define REVERSE_8_BYTES REVERSE_8_BYTES_4_AT_A_TIME
00472 #else
00473 #define REVERSE_8_BYTES REVERSE_8_BYTES_1_AT_A_TIME
00474 #endif
00475 
00476 
00477 /****************************************************************
00478  *                                                              *
00479  *             ADD-ON MSWIN IMPORT/EXPORT DEFINITIONS            *
00480  *                                                              *
00481  ****************************************************************/
00482 #if defined MSWIN
00483 #else
00484 #  define STDCALL
00485 #endif /* MSWIN */
00486 
00487 #if defined (__cplusplus)
00488 # define EXTERNC extern "C"
00489 #else
00490 # define EXTERNC
00491 #endif /* __cplusplus */
00492 
00493 #if defined MSWIN
00494 #if defined AMTEC_INTERNAL_MAKELIBTEC || defined TECPLOTKERNEL
00495 #    define TECPLOT_DLLAPI _declspec ( dllexport )
00496 #  else
00497 #    define TECPLOT_DLLAPI _declspec ( dllimport )
00498 #  endif
00499 #else
00500 #  define TECPLOT_DLLAPI
00501 #endif
00502 
00503 #define EXTERNC TECPLOT_DLLAPI
00504 
00505 
00506 /*
00507  *
00508  * Usage:
00509  * EXPORTFROMADDON void InitTecAddOn(void) { ... }
00510  *
00511  */
00512 #if defined MSWIN
00513 # define EXPORTFROMADDON EXTERNC _declspec ( dllexport )
00514 #else
00515 # define EXPORTFROMADDON EXTERNC
00516 #endif /* MSWIN */
00517 
00518 #define EXPORTFROMDLL EXPORTFROMADDON
00519 
00520 #define InitTecAddOn           InitTecAddOn113
00521 #define TEC_INIT_FUNCTION_NAME "InitTecAddOn113"
00522 
00523 /* CORE SOURCE CODE REMOVED */
00524 
00525 
00526 /* CORE SOURCE CODE REMOVED */
00527 
00528 #if defined DECALPHA   || \
00529     defined LINUXALPHA || \
00530     defined LINUXI64   || \
00531     defined LINUX64    || \
00532     defined MAC64      || \
00533     defined COMPAQALPHA
00534 #define LONGIS64
00535 #endif
00536 
00537 /****************************************************************
00538  *                                                              *
00539  *                       HARD CONSTANTS                         *
00540  *                                                              *
00541  ****************************************************************/
00542 #define LARGEMEMORY              ((size_t)-1)
00543 
00544 /* CORE SOURCE CODE REMOVED */
00545 #define LARGEINT32               2147483646
00546 #define LARGEINT16               32766
00547 #define LARGEINT8                126
00548 
00549 /* CORE SOURCE CODE REMOVED */
00550 #define LARGEUINT32              4294967294
00551 #define LARGEUINT16              65534
00552 #define LARGEUINT8               254
00553 
00554 #ifdef INDEX_16_BIT
00555 #define MAXINDEX               ((LgIndex_t)LARGEINT16)
00556 #else
00557 #define MAXINDEX               ((LgIndex_t)LARGEINT32)
00558 #endif
00559 #define MAXZONEMAP               MAXINDEX
00560 #define LARGEDOUBLE              1.0e+150
00561 #define SMALLDOUBLE              1.0e-150
00562 #define LARGESTEXPONENT          150
00563 #define SMALLESTEXPONENT         -150
00564 
00565 #define SMALLESTDOUBLE           SMALLDOUBLE
00566 
00567 #define LARGESTDOUBLEEXPONENT    308
00568 #define SMALLESTDOUBLEEXPONENT   -307
00569 #define LARGESTDOUBLE            1.0e+308
00570 #define LARGEFLOAT               3.40282347E+38
00571 #define SMALLFLOAT               1.17549435E-38
00572 #define SMALLSTDOUBLE            1.0e-307
00573 
00574 /* Visual Studio 2008 defines MAXINT32, MAXINT16 which collide with ours */
00575 #if defined MAXINT32
00576 #undef MAXINT32
00577 #endif
00578 #if defined MAXINT16
00579 #undef MAXINT16
00580 #endif
00581 
00582 #define MAXINT32                 LARGEINT32
00583 #define MAXINT16                 LARGEINT16
00584 #define ETX                      3
00585 #define LN2                      0.69314718055994530942
00586 #define LN10                     2.30258509299404568402
00587 #define PIOVER2                  1.57079632679489661923
00588 #define TWOPI                    6.28318530717958647692
00589 #if defined PI
00590 #undef PI
00591 #endif
00592 #define PI                       3.14159265358979323846
00593 #define ANGLEEPSILON             1.0e-10
00594 #define LARGESTANGLE             (4*PI+ANGLEEPSILON)
00595 #define DEGPERRADIANS            57.295779513082323
00596 #define CMPERINCH                2.54
00597 #define POINTSPERINCH            72.0
00598 #define FONTMOVEMARK             192
00599 #define FONTDECISIONMARK         128
00600 #define FONTLINEMARK             64
00601 #define BAD_SET_VALUE            ((SetIndex_t)-1)
00602 #define MENU_POSITION_FIRST      (0)
00603 #define MENU_POSITION_LAST       (-1)
00604 #define INVALID_UNIQUE_ID        0
00605 
00606 #define BADSETVALUE              BAD_SET_VALUE
00607 #define SOLID_TRANSLUCENCY       0
00608 #define BAD_DISTANCE             (-1.0)
00609 /* MIN_CIRCUMFERENTIAL_INDEX is the min J dimension for circular zones */
00610 #define MIN_CIRCUMFERENTIAL_INDEX  4
00611 
00612 #define VALID_STRAND_ID(StrandID) (0 <= (StrandID) && (StrandID) < MAXZONEMAP)
00613 #define STRAND_ID_STATIC          (-1)
00614 #define STRAND_ID_PENDING         (-2)
00615 
00616 /*
00617  * Need 3 passes for "Rest of pie" method but can only use 3 clip planes
00618  * Need only 1 pass for "Piece of pie" method and can use 6 clip planes
00619 */
00620 #define MAX_ALLOWABLE_CLIPPASSES 1
00621 #define MAX_ALLOWABLE_CLIPPLANES 6
00622 
00623 /* CORE SOURCE CODE REMOVED */
00624 
00625 
00626 /*
00627  * NOTE: If you change TecplotBinaryFileVersion, you MUST also:
00628  *
00629  * 1. Update preplot:
00630  *    - Change this define symbol in preplot.cpp
00631  *    - Change version number in the data file format in the comments in preplot.cpp
00632  *    - Change the version number of Preplot itself in preplot.cpp
00633  * 2. Maintain the ability to write the old plt file format:
00634  *    - Add a new entry to BinaryFileVersion_e
00635  *    - Add a concrete class of the VersionWriterInterface, and update
00636  *      VersionWriterAbstractFactory to return the correct instance for the previous and
00637  *      new BinaryFileVersion_e
00638  *    - Abstract away the difference in the two versions behind an interface (if one does
00639  *      not yet exist) and create concrete implementations that can write the old and the
00640  *      new versions. For a trivial example of this, see FileTypeWriterInterface and its
00641  *      associated factory and concrete classes.
00642  */
00643 #define TecplotBinaryFileVersion    112
00644 #define TecplotInterfaceVersion     120
00645 #define TecplotInterfaceVersionStr  "120" /* stay in lockstep with TecplotInterfaceVersion */
00646 #if defined FLEXLM
00647 #define TecplotLicenseVersion       119   /* may vary from TecplotInterfaceVersion */
00648 #define TecplotLicenseVersionStr   "11.9"  /* stay in lockstep with TecplotLicenseVersion */
00649 #else /* FLEXLM */
00650 #define TecplotLicenseVersion       120   /* may vary from TecplotInterfaceVersion */
00651 #define TecplotLicenseVersionStr   "12.0"  /* stay in lockstep with TecplotLicenseVersion */
00652 #endif /* FLEXLM */
00653 /* Also change the macro version number in COMMAND.MASTER.h */
00654 
00655 #define    MaxNumZonesOrVars         MAXZONEMAP
00656 #define    MaxXAxes                  5
00657 #define    MaxYAxes                  5
00658 #define    MaxGeoSegments            50
00659 #define    MaxPtsCircleOrEllipse     720
00660 #define    MaxFrames                 2048
00661 #define    MaxCustomLabelSets        10
00662 #define    MaxFontMoves              20000
00663 #define    MaxColorMapOverrides      16
00664 #define    MaxValueBlankConstraints  8
00665 #define    MaxContourGroups          8
00666 #define    MaxIsoSurfaceGroups       8
00667 #define    MaxSliceGroups            8
00668 
00669 #define    MaxColorMapGroups         8
00670 #define    DefaultNumContLevels      15
00671 
00672 
00673 #define    DefaultColorMapGroup      ((SmInteger_t)0)
00674 #define    BADGROUPNUMBER            ((SmInteger_t)-1)
00675 #define    UNUSEDGROUPNUMBER         ((SmInteger_t)0)
00676 
00677 #define VALID_ISOSURFACE_GROUP(Group) (((((SmInteger_t)Group) >= 0) && (((SmInteger_t)Group) < MaxIsoSurfaceGroups)))
00678 #define VALID_SLICE_GROUP(Group)      (((((SmInteger_t)Group) >= 0) && (((SmInteger_t)Group) < MaxSliceGroups)))
00679 #define VALID_COLORMAP_GROUP(Group)   (((((SmInteger_t)Group) >= 0) && (((SmInteger_t)Group) < MaxColorMapGroups)))
00680 
00681 
00682 
00683 /*
00684  * If any of these values changes its corresponding value in preplot.c must
00685  * change to match it so that files created by preplot and Tecplot are
00686  * consistent.
00687  */
00688 #define    MaxChrsDatasetTitle       256
00689 #define    MaxChrsZnTitle            128
00690 #define    MaxChrsVarName            128
00691 #define    MaxChrsZnOrVarName        128
00692 /* currently limited to MaxLineIndex in preplot.c */
00693 #define    MaxChrsAuxValueString     32000
00694 
00695 #define    MaxNumViews               16
00696 #define    MaxBasicSizes             5
00697 #define    MaxColorMapControlPoints  50
00698 #define    MaxRawColorMapEntries     800
00699 #define    MaxDataSetReaders         100
00700 #define    MaxExtendedCurveFits      100
00701 #define    MaxColorMapCycles         20
00702 
00703 
00704 /* Dimension Limits */
00705 
00706 #define    MinPaperDimInWorkArea     0.5
00707 #define    MinFrameWidth             0.25
00708 #define    MinFrameHeight            0.25
00709 #define    MinAxisLength             0.1
00710 
00711 
00712 #define    BadEnumValue              255
00713 
00714 /* CORE SOURCE CODE REMOVED */
00715 
00716 /*
00717  * Floating point values are written to layouts with a certain precision.
00718  * A high precision is necessary in some cases (like streamtrace starting locations)
00719  * This used to be set to 12 which was not high enough.   It is now set to 16 which
00720  * appears to be sufficient.   This also seems to jive with the number of digits of
00721  * precision that are found in "ieee double precision" values which is 53 bits or
00722  * equivalent to approximately 16 digits. -bdp
00723  *
00724  */
00725 #define STYLE_FLOAT_PRECISION 16
00726 
00727 
00728 /*
00729  * Auxiliary data common names.
00730  *
00731  *      Define Name                                 Data Name                               Data Type    Data Location
00732  *      ------------------------------------------  ------------------------------------    ---------    -------------
00733  */
00734 #define AuxData_Common_Incompressible               "Common.Incompressible"              /* Boolean_t    Dataset */
00735 #define AuxData_Common_Density                      "Common.Density"                     /* double       Dataset */
00736 #define AuxData_Common_SpecificHeat                 "Common.SpecificHeat"                /* double       Dataset */
00737 #define AuxData_Common_SpecificHeatVar              "Common.SpecificHeatVar"             /* int          Dataset */
00738 #define AuxData_Common_GasConstant                  "Common.GasConstant"                 /* double       Dataset */
00739 #define AuxData_Common_GasConstantVar               "Common.GasConstantVar"              /* int          Dataset */
00740 #define AuxData_Common_Gamma                        "Common.Gamma"                       /* double       Dataset */
00741 #define AuxData_Common_GammaVar                     "Common.GammaVar"                    /* int          Dataset */
00742 #define AuxData_Common_Viscosity                    "Common.Viscosity"                   /* double       Dataset */
00743 #define AuxData_Common_ViscosityVar                 "Common.ViscosityVar"                /* int          Dataset */
00744 #define AuxData_Common_Conductivity                 "Common.Conductivity"                /* double       Dataset */
00745 #define AuxData_Common_ConductivityVar              "Common.ConductivityVar"             /* int          Dataset */
00746 #define AuxData_Common_AngleOfAttack                "Common.AngleOfAttack"               /* double       Dataset */
00747 #define AuxData_Common_SpeedOfSound                 "Common.SpeedOfSound"                /* double       Dataset */
00748 #define AuxData_Common_ReferenceU                   "Common.ReferenceU"                  /* double       Dataset */
00749 #define AuxData_Common_ReferenceV                   "Common.ReferenceV"                  /* double       Dataset */
00750 #define AuxData_Common_XVar                         "Common.XVar"                        /* int          Dataset */
00751 #define AuxData_Common_YVar                         "Common.YVar"                        /* int          Dataset */
00752 #define AuxData_Common_ZVar                         "Common.ZVar"                        /* int          Dataset */
00753 #define AuxData_Common_CVar                         "Common.CVar"                        /* int          Dataset */
00754 #define AuxData_Common_UVar                         "Common.UVar"                        /* int          Dataset */
00755 #define AuxData_Common_VVar                         "Common.VVar"                        /* int          Dataset */
00756 #define AuxData_Common_WVar                         "Common.WVar"                        /* int          Dataset */
00757 #define AuxData_Common_VectorVarsAreVelocity        "Common.VectorVarsAreVelocity"       /* Boolean_t    Dataset */
00758 #define AuxData_Common_PressureVar                  "Common.PressureVar"                 /* int          Dataset */
00759 #define AuxData_Common_TemperatureVar               "Common.TemperatureVar"              /* int          Dataset */
00760 #define AuxData_Common_DensityVar                   "Common.DensityVar"                  /* int          Dataset */
00761 #define AuxData_Common_StagnationEnergyVar          "Common.StagnationEnergyVar"         /* int          Dataset */
00762 #define AuxData_Common_MachNumberVar                "Common.MachNumberVar"               /* int          Dataset */
00763 #define AuxData_Common_ReferenceMachNumber          "Common.ReferenceMachNumber"         /* double       Dataset */
00764 #define AuxData_Common_ReferenceW                   "Common.ReferenceW"                  /* double       Dataset */
00765 #define AuxData_Common_PrandtlNumber                "Common.PrandtlNumber"               /* double       DataSet */
00766 #define AuxData_Common_Axisymmetric                 "Common.Axisymmetric"                /* Boolean_t    Dataset */
00767 #define AuxData_Common_AxisOfSymmetryVarAssignment  "Common.AxisOfSymmetryVarAssignment" /* int          Dataset */
00768 #define AuxData_Common_AxisValue                    "Common.AxisValue"                   /* double       Dataset */
00769 #define AuxData_Common_SteadyState                  "Common.SteadyState"                 /* Boolean_t    Dataset */
00770 #define AuxData_Common_TurbulentKineticEnergyVar    "Common.TurbulentKineticEnergyVar"   /* int          Dataset */
00771 #define AuxData_Common_TurbulentDissipationRateVar  "Common.TurbulentDissipationRateVar" /* int          Dataset */
00772 #define AuxData_Common_TurbulentViscosityVar        "Common.TurbulentViscosityVar"       /* int          Dataset */
00773 #define AuxData_Common_TurbulentFrequencyVar        "Common.TurbulentFrequencyVar"       /* int          Dataset */
00774 #define AuxData_Common_Gravity                      "Common.Gravity"                     /* double       Dataset */
00775 #define AuxData_Common_IsBoundaryZone               "Common.IsBoundaryZone"              /* Boolean_t    Zone */
00776 #define AuxData_Common_BoundaryCondition            "Common.BoundaryCondition"           /* BCondition   Zone */
00777 #define AuxData_Common_Time                         "Common.Time"                        /* double       Zone */
00778 #define AuxData_Common_Mean                         "Common.Mean"                        /* double       Variable */
00779 #define AuxData_Common_Median                       "Common.Median"                      /* double       Variable */
00780 #define AuxData_Common_Variance                     "Common.Variance"                    /* double       Variable */
00781 #define AuxData_Common_StdDev                       "Common.StdDev"                      /* double       Variable */
00782 #define AuxData_Common_AvgDev                       "Common.AvgDev"                      /* double       Variable */
00783 #define AuxData_Common_GeoMean                      "Common.GeoMean"                     /* double       Variable */
00784 #define AuxData_Common_ChiSqre                      "Common.ChiSqre"                     /* double       Variable */
00785 
00786 
00787 
00788 
00789 
00790 
00791 
00792 /* CORE SOURCE CODE REMOVED */
00793 
00794 /* Tecplot Add-on Custom Products */
00795 
00796 /* CORE SOURCE CODE REMOVED */
00797 
00798 #define    Black_C           ((ColorIndex_t)0)
00799 #define    Red_C             ((ColorIndex_t)1)
00800 #define    Green_C           ((ColorIndex_t)2)
00801 #define    Blue_C            ((ColorIndex_t)3)
00802 #define    Cyan_C            ((ColorIndex_t)4)
00803 #define    Yellow_C          ((ColorIndex_t)5)
00804 #define    Purple_C          ((ColorIndex_t)6)
00805 #define    White_C           ((ColorIndex_t)7)
00806 
00807 #define    Custom1_C         ((ColorIndex_t)8)
00808 #define    Custom2_C         ((ColorIndex_t)9)
00809 #define    Custom3_C         ((ColorIndex_t)10)
00810 #define    Custom4_C         ((ColorIndex_t)11)
00811 #define    Custom5_C         ((ColorIndex_t)12)
00812 #define    Custom6_C         ((ColorIndex_t)13)
00813 #define    Custom7_C         ((ColorIndex_t)14)
00814 #define    Custom8_C         ((ColorIndex_t)15)
00815 #define    Custom9_C         ((ColorIndex_t)16)
00816 
00817 #define    Custom10_C         ((ColorIndex_t)17)
00818 #define    Custom11_C         ((ColorIndex_t)18)
00819 #define    Custom12_C         ((ColorIndex_t)19)
00820 #define    Custom13_C         ((ColorIndex_t)20)
00821 #define    Custom14_C         ((ColorIndex_t)21)
00822 #define    Custom15_C         ((ColorIndex_t)22)
00823 #define    Custom16_C         ((ColorIndex_t)23)
00824 #define    Custom17_C         ((ColorIndex_t)24)
00825 #define    Custom18_C         ((ColorIndex_t)25)
00826 #define    Custom19_C         ((ColorIndex_t)26)
00827 
00828 #define    Custom20_C         ((ColorIndex_t)27)
00829 #define    Custom21_C         ((ColorIndex_t)28)
00830 #define    Custom22_C         ((ColorIndex_t)29)
00831 #define    Custom23_C         ((ColorIndex_t)30)
00832 #define    Custom24_C         ((ColorIndex_t)31)
00833 #define    Custom25_C         ((ColorIndex_t)32)
00834 #define    Custom26_C         ((ColorIndex_t)33)
00835 #define    Custom27_C         ((ColorIndex_t)34)
00836 #define    Custom28_C         ((ColorIndex_t)35)
00837 #define    Custom29_C         ((ColorIndex_t)36)
00838 
00839 #define    Custom30_C         ((ColorIndex_t)37)
00840 #define    Custom31_C         ((ColorIndex_t)38)
00841 #define    Custom32_C         ((ColorIndex_t)39)
00842 #define    Custom33_C         ((ColorIndex_t)40)
00843 #define    Custom34_C         ((ColorIndex_t)41)
00844 #define    Custom35_C         ((ColorIndex_t)42)
00845 #define    Custom36_C         ((ColorIndex_t)43)
00846 #define    Custom37_C         ((ColorIndex_t)44)
00847 #define    Custom38_C         ((ColorIndex_t)45)
00848 #define    Custom39_C         ((ColorIndex_t)46)
00849 
00850 #define    Custom40_C         ((ColorIndex_t)47)
00851 #define    Custom41_C         ((ColorIndex_t)48)
00852 #define    Custom42_C         ((ColorIndex_t)49)
00853 #define    Custom43_C         ((ColorIndex_t)50)
00854 #define    Custom44_C         ((ColorIndex_t)51)
00855 #define    Custom45_C         ((ColorIndex_t)52)
00856 #define    Custom46_C         ((ColorIndex_t)53)
00857 #define    Custom47_C         ((ColorIndex_t)54)
00858 #define    Custom48_C         ((ColorIndex_t)55)
00859 #define    Custom49_C         ((ColorIndex_t)56)
00860 
00861 #define    Custom50_C         ((ColorIndex_t)57)
00862 #define    Custom51_C         ((ColorIndex_t)58)
00863 #define    Custom52_C         ((ColorIndex_t)59)
00864 #define    Custom53_C         ((ColorIndex_t)60)
00865 #define    Custom54_C         ((ColorIndex_t)61)
00866 #define    Custom55_C         ((ColorIndex_t)62)
00867 #define    Custom56_C         ((ColorIndex_t)63)
00868 
00869 #define    MultiColor_C      ((ColorIndex_t)(-1))
00870 #define    NoColor_C         ((ColorIndex_t)(-2))
00871 #define    MultiColor2_C     ((ColorIndex_t)(-3))
00872 #define    MultiColor3_C     ((ColorIndex_t)(-4))
00873 #define    MultiColor4_C     ((ColorIndex_t)(-5))
00874 #define    RGBColor_C        ((ColorIndex_t)(-6))
00875 #define    MultiColor5_C     ((ColorIndex_t)(-7))
00876 #define    MultiColor6_C     ((ColorIndex_t)(-8))
00877 #define    MultiColor7_C     ((ColorIndex_t)(-9))
00878 #define    MultiColor8_C     ((ColorIndex_t)(-10))
00879 #define    InvalidColor_C    ((ColorIndex_t)(-255))
00880 
00881 #define    FirstCustomColor  Custom1_C
00882 #define    LastCustomColor   Custom56_C
00883 #define    NumCustomColors   (LastCustomColor-FirstCustomColor+1)
00884 
00885 #define    FirstBasicColor   Black_C
00886 #define    LastBasicColor    LastCustomColor
00887 #define    NumBasicColors    (LastBasicColor-FirstBasicColor+1)
00888 
00889 /* CORE SOURCE CODE REMOVED */
00890 
00891 /* CORE SOURCE CODE REMOVED */
00892 
00893 /****************************************************************
00894  *                                                              *
00895  *                          SIMPLE TYPEDEFS                     *
00896  *                                                              *
00897  ****************************************************************/
00898 
00899 
00900 
00901 /* How to define UInt64_t/Int64_t is platform specific, but they are always 8-bytes */
00902 #if defined MSWIN
00903 typedef    unsigned __int64     UInt64_t;
00904 typedef    __int64              Int64_t;
00905 #else
00906 #if defined CRAY
00907 typedef    unsigned int       UInt64_t;
00908 typedef    int                Int64_t;
00909 #else
00910 #if defined LONGIS64
00911 typedef unsigned long      UInt64_t;
00912 typedef long               Int64_t;
00913 #else
00914 typedef unsigned long long UInt64_t;
00915 typedef long long          Int64_t;
00916 #endif
00917 #endif
00918 #endif
00919 
00920 #if defined LONGIS64
00921 typedef    unsigned int    UInt32_t;
00922 typedef    int             Int32_t;
00923 typedef    int             LgInteger_t;
00924 #else
00925 typedef    unsigned int    UInt32_t;
00926 typedef    int             Int32_t;
00927 typedef    int             LgInteger_t;
00928 #endif
00929 
00930 typedef    short           Int16_t;
00931 typedef    unsigned short  UInt16_t;
00932 typedef    signed char     Int8_t;
00933 typedef    unsigned char   UInt8_t;
00934 
00935 #ifdef INDEX_16_BIT
00936 typedef  Int16_t         LgIndex_t;
00937 #else
00938 typedef  Int32_t         LgIndex_t;
00939 #endif
00940 typedef    LgIndex_t       NodeMap_t;
00941 typedef    LgIndex_t       ScreenDim_t;
00942 
00950 #if defined CRAY
00951 typedef char *ArbParam_t;
00952 typedef long HgIndex_t;
00953 #elif defined LONGIS64
00954 typedef long ArbParam_t;
00955 typedef long HgIndex_t;
00956 #elif defined MSWIN && (defined _M_IA64 || defined _M_AMD64)
00957 typedef INT_PTR ArbParam_t;
00958 typedef INT_PTR HgIndex_t;
00959 #else
00960 typedef int ArbParam_t;
00961 typedef int HgIndex_t;
00962 #endif
00963 
00964 typedef    ArbParam_t      UniqueID_t;
00965 
00966 /* 64 bit offset used to hold file offset and size values. */
00967 typedef Int64_t FileOffset_t;
00968 
00972 typedef UInt64_t MemMapOffset_t;
00973 
00974 /*
00975  *  SmInteger must be at least a short....
00976  */
00977 
00978 typedef    unsigned char    Byte_t;
00979 typedef    short            SmInteger_t;
00980 typedef    SmInteger_t      ColorIndex_t;
00981 #ifdef INDEX_16_BIT
00982 typedef  Int16_t          EntIndex_t;
00983 #else
00984 typedef  Int32_t          EntIndex_t;
00985 #endif
00986 typedef    Int16_t          SubZoneIndex_t;
00987 
00988 typedef    char             Boolean_t;
00989 typedef    char            *ZoneName_t;
00990 typedef    char            *VarName_t;
00991 typedef    char            *LString_t;
00992 
00993 typedef    LgIndex_t        Strand_t;
00994 typedef    LgIndex_t        HeapLength_t;
00995 typedef    LgIndex_t        SegPtsArray_t[MaxGeoSegments];
00996 typedef    double           BasicSize_t[MaxBasicSizes];
00997 typedef    double          *VarList_t;
00998 
00999 typedef    long             SetIndex_t;
01000 
01001 typedef    unsigned long    SetData_t;
01002 typedef    SetData_t       *SetData_pt;
01003 
01004 /* CORE SOURCE CODE REMOVED */
01005 
01006 typedef    char             SymbolChar_t[3];
01007 
01012 typedef LgIndex_t FaceNodeOffset_t;
01013 
01018 typedef LgIndex_t ElemFaceOffset_t;
01019 
01024 typedef LgIndex_t FaceBndryItemOffset_t;
01025 
01026 /****************************************************************
01027  *                                                              *
01028  *                     ENUMERATED TYPEDEFS                      *
01029  *                                                              *
01030  ****************************************************************/
01031 
01032 typedef enum
01033 {
01034     PlacementPlaneOrientation_X,
01035     PlacementPlaneOrientation_Y,
01036     PlacementPlaneOrientation_Z,
01037     END_PlacementPlaneOrientation_e,
01038     PlacementPlaneOrientation_Invalid = BadEnumValue
01039 } PlacementPlaneOrientation_e;
01040 
01041 typedef enum
01042 {
01043     StringMode_ASCII,
01044     StringMode_UTF8,
01045     StringMode_Blend,
01046     END_StringMode_e,
01047     StringMode_Invalid = BadEnumValue
01048 
01049 } StringMode_e;
01050 
01051 typedef enum
01052 {
01053     SidebarSizing_MaxOfAll,
01054     SidebarSizing_Dynamic,
01055     END_SidebarSizing_e,
01056     SidebarSizing_Invalid = BadEnumValue
01057 
01058 } SidebarSizing_e;
01059 
01060 typedef enum
01061 {
01062     SidebarLocation_Left,
01063     SidebarLocation_Right,  /* Not allowed at this time */
01064     SidebarLocation_Top,    /* Not allowed at this time */
01065     SidebarLocation_Bottom, /* Not allowed at this time */
01066     END_SidebarLocation_e,
01067     SidebarLocation_Invalid = BadEnumValue
01068 
01069 } SidebarLocation_e;
01070 
01071 typedef enum
01072 {
01073     MenuItem_Option,
01074     MenuItem_Toggle,
01075     MenuItem_Separator,
01076     MenuItem_SubMenu,
01077     END_MenuItem_e,
01078     MenuItem_Invalid = BadEnumValue
01079 } MenuItem_e;
01080 
01081 typedef enum
01082 {
01083     StandardMenu_File,
01084     StandardMenu_Edit,
01085     StandardMenu_View,
01086     StandardMenu_Plot,
01087     StandardMenu_Insert,
01088     StandardMenu_Data,
01089     StandardMenu_Frame,
01090     StandardMenu_Workspace, /* deprecated: use Options instead */
01091     StandardMenu_Tools,
01092     StandardMenu_Help,
01093     StandardMenu_Animate,
01094     StandardMenu_Options,
01095     StandardMenu_Scripting,
01096     END_StandardMenu_e,
01097     StandardMenu_Invalid = BadEnumValue
01098 } StandardMenu_e;
01099 
01100 typedef enum
01101 {
01102     FieldProbeDialogPage_NodalValues,
01103     FieldProbeDialogPage_CellCenteredValues,
01104     FieldProbeDialogPage_ZoneCellInfo,
01105     FieldProbeDialogPage_FaceNeighbors,
01106     END_FieldProbeDialogPage_e,
01107     FieldProbeDialogPage_Invalid = BadEnumValue
01108 } FieldProbeDialogPage_e;
01109 
01110 /* CORE SOURCE CODE REMOVED */
01111 
01114 typedef enum
01115 {
01116     UndoStateCategory_Frame,
01117     UndoStateCategory_Picked,            /* picked changes, not the pick itself */
01118     UndoStateCategory_Text,
01119     UndoStateCategory_Geom,
01120     UndoStateCategory_View,
01121     UndoStateCategory_WorkspaceView,
01122     UndoStateCategory_Style,            /* style less text and geometries */
01123     UndoStateCategory_SpecificStyle,    /* meaning that specific undo style will be added by the caller */
01124     UndoStateCategory_Data,
01125     UndoStateCategory_DataAndStyle,
01126     UndoStateCategory_StyleIncTextGeom, /* style including text and geometires */
01127     UndoStateCategory_GlobalStyle,      /* style less field, map, text and geometries */
01128     UndoStateCategory_PageAction,
01129     END_UndoStateCategory_e,
01130     UndoStateCategory_Invalid = BadEnumValue
01131 } UndoStateCategory_e;
01132 
01133 
01134 /*
01135  * Used only for Action_PropagateLinking
01136  */
01137 typedef enum
01138 {
01139     LinkType_WithinFrame,
01140     LinkType_BetweenFrames,
01141     END_LinkType_e,
01142     LinkType_Invalid = BadEnumValue
01143 } LinkType_e;
01144 
01145 typedef enum
01146 {
01147     FrameCollection_All,
01148     FrameCollection_Picked,
01149     END_FrameCollection_e,
01150     FrameCollection_Invalid = BadEnumValue
01151 } FrameCollection_e;
01152 
01153 
01154 
01155 typedef enum
01156 {
01157     LegendProcess_DrawLegend,
01158     LegendProcess_EraseLegend,
01159     LegendProcess_GetExtents,
01160     END_LegendProcess_e,
01161     LegendProcess_Invalid = BadEnumValue
01162 } LegendProcess_e;
01163 
01164 
01165 typedef enum
01166 {
01167     RGBLegendOrientation_RGB,
01168     RGBLegendOrientation_GBR,
01169     RGBLegendOrientation_BRG,
01170     RGBLegendOrientation_RBG,
01171     RGBLegendOrientation_GRB,
01172     RGBLegendOrientation_BGR,
01173     END_RGBLegendOrientation_e,
01174     RGBLegendOrientation_Invalid = BadEnumValue
01175 } RGBLegendOrientation_e;
01176 
01177 
01178 
01179 /* CORE SOURCE CODE REMOVED */
01180 
01181 /* CORE SOURCE CODE REMOVED */
01182 
01183 typedef enum
01184 {
01185     StateChange_VarsAltered,
01186     StateChange_VarsAdded,
01187     StateChange_ZonesDeleted,
01188     StateChange_ZonesAdded,
01189     StateChange_NodeMapsAltered,
01190     StateChange_FrameDeleted,
01191     StateChange_NewTopFrame,               /* deprecated: use NewActiveFrame and/or FrameOrderChange */
01192     StateChange_Style,
01193     StateChange_DataSetReset,
01194     StateChange_NewLayout,
01195     StateChange_CompleteReset,             /* deprecated: no longer broadcast */
01196     StateChange_LineMapAssignment,         /* was StateChange_XYMapAssignment */
01197     StateChange_ContourLevels,
01198     StateChange_ModalDialogLaunch,
01199     StateChange_ModalDialogDismiss,
01200     StateChange_QuitTecplot,
01201     StateChange_ZoneName,
01202     StateChange_VarName,
01203     StateChange_LineMapName,               /* was StateChange_XYMapName */
01204     StateChange_LineMapAddDeleteOrReorder, /* was StateChange_XYMapAddDeleteOrReorder */
01205     StateChange_View,
01206     StateChange_ColorMap,
01207     StateChange_ContourVar,
01208     StateChange_Streamtrace,
01209     StateChange_NewAxisVariables,
01210     StateChange_MouseModeUpdate,
01211     StateChange_PickListCleared,
01212     StateChange_PickListGroupSelect,
01213     StateChange_PickListSingleSelect,
01214     StateChange_PickListStyle,
01215     StateChange_DataSetFileName,
01216     StateChange_UnsuspendInterface,        /* was StateChange_DrawGraphicsOn */
01217     StateChange_SuspendInterface,          /* was StateChange_DrawGraphicsOff */
01218     StateChange_DataSetLockOn,
01219     StateChange_DataSetLockOff,
01220     StateChange_Text,
01221     StateChange_Geom,
01222     StateChange_DataSetTitle,
01223     StateChange_DrawingInterrupted,
01224     StateChange_PrintPreviewLaunch,
01225     StateChange_PrintPreviewDismiss,
01226     StateChange_AuxDataAdded,
01227     StateChange_AuxDataDeleted,
01228     StateChange_AuxDataAltered,
01229     StateChange_VarsDeleted,
01230     StateChange_TecplotIsInitialized,
01231     StateChange_ImageExported,
01232     StateChange_VariableLockOn,
01233     StateChange_VariableLockOff,
01234     StateChange_PageDeleted,
01235     StateChange_NewTopPage,
01236     StateChange_NewActiveFrame,
01237     StateChange_FrameOrderChanged,
01238     END_StateChange_e,
01239     StateChange_Invalid = BadEnumValue,
01240     /* deprecated values */
01241     StateChange_DrawGraphicsOn          = StateChange_UnsuspendInterface,
01242     StateChange_DrawGraphicsOff         = StateChange_SuspendInterface,
01243     StateChange_XYMapAssignment         = StateChange_LineMapAssignment,
01244     StateChange_XYMapName               = StateChange_LineMapName,
01245     StateChange_XYMapAddDeleteOrReorder = StateChange_LineMapAddDeleteOrReorder
01246 } StateChange_e;
01247 
01248 typedef enum
01249 {
01250     StateChangeMode_v75,
01251     StateChangeMode_v80,
01252     StateChangeMode_v100,
01253     StateChangeMode_v113,
01254     END_StateChangeMode_e,
01255     StateChangeMode_Invalid = BadEnumValue
01256 } StateChangeMode_e;
01257 
01258 typedef enum
01259 {
01260     StateChangeCallbackAPI_Classic,
01261     StateChangeCallbackAPI_ChangeOnly,
01262     StateChangeCallbackAPI_ChangePlusClient,
01263     END_StateChangeCallbackAPI_e,
01264     StateChangeCallbackAPI_Invalid = BadEnumValue
01265 } StateChangeCallbackAPI_e;
01266 
01267 typedef enum
01268 {
01269     AppMode_Normal,
01270     AppMode_Demo,
01271     AppMode_OEM,
01272     END_AppMode_e,
01273     AppMode_Invalid = BadEnumValue
01274 } AppMode_e;
01275 
01276 typedef enum
01277 {
01278     ProductFlavor_TecplotFocus,
01279     ProductFlavor_Tecplot360,
01280     ProductFlavor_TecplotRS,
01281     ProductFlavor_TecplotSDK,
01282     END_ProductFlavor_e,
01283     ProductFlavor_Invalid = BadEnumValue,
01284     ProductFlavor_Focus = ProductFlavor_TecplotFocus, /* deprecated */
01285     ProductFlavor_360   = ProductFlavor_Tecplot360,   /* deprecated */
01286     ProductFlavor_RS    = ProductFlavor_TecplotRS,    /* deprecated */
01287     ProductFlavor_SDK   = ProductFlavor_TecplotSDK    /* deprecated */
01288 } ProductFlavor_e;
01289 
01290 typedef enum
01291 {
01292     LayoutPackageObject_Image,
01293     LayoutPackageObject_Layout,
01294     LayoutPackageObject_Data,
01295     END_LayoutPackageObject_e,
01296     LayoutPackageObject_Invalid = BadEnumValue
01297 } LayoutPackageObject_e;
01298 
01299 typedef enum
01300 {
01301     VarLoadMode_ByName,
01302     VarLoadMode_ByPosition,
01303     END_VarLoadMode_e,
01304     VarLoadMode_Invalid = BadEnumValue
01305 } VarLoadMode_e;
01306 
01307 typedef enum
01308 {
01309     ImageSelection_OnePerFrame,
01310     ImageSelection_WorkspaceOnly,
01311     END_ImageSelection_e,
01312     ImageSelection_Invalid = BadEnumValue
01313 } ImageSelection_e;
01314 
01315 typedef enum
01316 {
01317     LibraryType_Foreign,
01318     LibraryType_V7Standard,
01319     LibraryType_V7ActiveX,
01320     END_LibraryType_e,
01321     LibraryType_Invalid = BadEnumValue
01322 } LibraryType_e; /* <help> "Add-on types" */
01323 
01324 
01325 typedef enum
01326 {
01327     AssignOp_Equals,
01328     AssignOp_PlusEquals,
01329     AssignOp_MinusEquals,
01330     AssignOp_TimesEquals,
01331     AssignOp_DivideEquals,
01332     AssignOp_ConvertFromCm,
01333     AssignOp_ConvertFromIn,
01334     AssignOp_ConvertFromPt,
01335     AssignOp_ConvertFromPix,
01336     END_AssignOp_e,
01337     AssignOp_Invalid = BadEnumValue
01338 } AssignOp_e;
01339 
01340 typedef enum
01341 {
01342     Dialog_ColorMap,
01343     Dialog_Equation,
01344     Dialog_MacroViewer,
01345     Dialog_ZoneMapStyle, /* was Dialog_PlotAttributes*/
01346     Dialog_QuickEdit,
01347     Dialog_QuickMacroPanel,
01348     Dialog_ValueBlanking,
01349     Dialog_Probe,          /* used for dialog positioning only */
01350     Dialog_ProbeAt,
01351     Dialog_NewLayout,
01352     Dialog_OpenLayout,
01353     Dialog_Save,
01354     Dialog_SaveAs,
01355     Dialog_LoadData,
01356     Dialog_WriteData,
01357     Dialog_Print,
01358     Dialog_Import,
01359     Dialog_Export,
01360     Dialog_MacroPlay,
01361     Dialog_MacroRecord,
01362     Dialog_AxisEdit,
01363     Dialog_SpatialVars,
01364     Dialog_Reset3DAxes,
01365     Dialog_ThreeDAxisLimits,
01366     Dialog_ThreeDOrientationAxis,
01367     Dialog_Streamtraces,
01368     Dialog_IsoSurfaces,
01369     Dialog_Slices,
01370     Dialog_Contour,
01371     Dialog_VectorLength,
01372     Dialog_VectorVars,
01373     Dialog_VectorArrowheads,
01374     Dialog_VectorReferenceVector,
01375     Dialog_ScatterSizeAndFont,
01376     Dialog_ScatterLegend,
01377     Dialog_ScatterReferenceSymbol,
01378     Dialog_RGBColorVarsAndRange,
01379     Dialog_RGBColorLegend,
01380     Dialog_LineMapLegend,
01381     Dialog_IJKBlanking,
01382     Dialog_DepthBlanking,
01383     Dialog_LightSource,
01384     Dialog_Advanced3DControl,
01385     Dialog_TwoDDrawOrder,
01386     Dialog_PolarDrawingOptions,
01387     Dialog_DataLabels,
01388     Dialog_StyleLinking,
01389     Dialog_Smooth,
01390     Dialog_TransformCoordinates,
01391     Dialog_Rotate2DData,
01392     Dialog_Create1DLine,
01393     Dialog_CreateRectangularZone,
01394     Dialog_CreateCircularZone,
01395     Dialog_DuplicateZone,
01396     Dialog_MirrorZone,
01397     Dialog_CreateZoneFromPolylines,
01398     Dialog_CreateZoneFromValues,
01399     Dialog_DeleteVariables,
01400     Dialog_DeleteZones,
01401     Dialog_ExtractContourLines,
01402     Dialog_ExtractFEBoundary,
01403     Dialog_ExtractIsoSurfaces,
01404     Dialog_ExtractSlices,
01405     Dialog_ExtractSliceFromPlane,
01406     Dialog_ExtractStreamtraces,
01407     Dialog_ExtractSubZone,
01408     Dialog_ExtractDiscretePoints,
01409     Dialog_ExtractPointsFromPolyline,
01410     Dialog_ExtractPointsFromGeometry,
01411     Dialog_LinearInterpolation,
01412     Dialog_InverseDistanceInterpolation,
01413     Dialog_KrigingInterpolation,
01414     Dialog_Triangulate,
01415     Dialog_DataInfo,
01416     Dialog_CurveInfo,
01417     Dialog_DataSpreadsheet,
01418     Dialog_PaperSetup,
01419     Dialog_OrderFrames,
01420     Dialog_RulerGrid,
01421     Dialog_ThreeDViewRotate,
01422     Dialog_ThreeDViewDetails,
01423     Dialog_TranslateMagnify,
01424     Dialog_PrintPreview,
01425     Dialog_ColorPreferences,
01426     Dialog_MiscPreferences,
01427     Dialog_SizePreferences,
01428     Dialog_SaveConfiguration,
01429     Dialog_SaveColorMap,
01430     Dialog_LoadColorMap,
01431     Dialog_HelpAboutTecplot,
01432     Dialog_HelpAboutAddOns,
01433     Dialog_Publish,
01434     Dialog_EditFrame,
01435     Dialog_CopyToClipboard,
01436     Dialog_ThreeDEdge,
01437     Dialog_TimeDetails,
01438     Dialog_Performance,
01439     END_Dialog_e,
01440     Dialog_Invalid = BadEnumValue,
01441     /* deprecated values */
01442     Dialog_PlotAttributes = Dialog_ZoneMapStyle
01443 } Dialog_e; /* <help> "Tecplot dialog types" */
01444 
01445 typedef enum
01446 {
01447     AnchorAlignment_TopLeft,
01448     AnchorAlignment_TopCenter,
01449     AnchorAlignment_TopRight,
01450     AnchorAlignment_MiddleLeft,
01451     AnchorAlignment_MiddleCenter,
01452     AnchorAlignment_MiddleRight,
01453     AnchorAlignment_BottomLeft,
01454     AnchorAlignment_BottomCenter,
01455     AnchorAlignment_BottomRight,
01456     END_AnchorAlignment_e,
01457     AnchorAlignment_Invalid = BadEnumValue
01458 } AnchorAlignment_e;
01459 
01460 /* CORE SOURCE CODE REMOVED */
01461 
01462 /* CORE SOURCE CODE REMOVED */
01463 
01464 
01465 #if defined EXPORT_DEPRECATED_INTERFACES_TO_ADK_ONLY
01466 
01470 typedef enum
01471 {
01472     ProcessXYMode_NotUsed1,         /* deprecated: do not use                     */
01473     ProcessXYMode_NotUsed2,         /* deprecated: do not use                     */
01474     ProcessXYMode_NotUsed3,         /* deprecated: do not use                     */
01475     ProcessXYMode_NotUsed4,         /* deprecated: do not use                     */
01476     ProcessXYMode_NotUsed5,         /* deprecated: do not use                     */
01477     ProcessXYMode_NotUsed6,         /* deprecated: do not use                     */
01478     ProcessXYMode_NotUsed7,         /* deprecated: do not use                     */
01479     ProcessXYMode_NotUsed8,         /* deprecated: do not use                     */
01480     ProcessXYMode_NotUsed9,         /* deprecated: do not use                     */
01481     ProcessXYMode_WriteCurveCoef,   /* deprecated: use CurveInfoMode_Coefficients */
01482     ProcessXYMode_WriteCurvePoints, /* deprecated: use CurveInfoMode_RawData      */
01483     END_ProcessXYMode_e,
01484     ProcessXYMode_Invalid = BadEnumValue
01485 } ProcessXYMode_e;
01486 #endif
01487 
01488 typedef enum
01489 {
01490     CurveInfoMode_Coefficients, /* ProcessXYMode_WriteCurveCoef   */
01491     CurveInfoMode_RawData,      /* ProcessXYMode_WriteCurvePoints */
01492     CurveInfoMode_Macro,        /* ProcessXYMode_WriteCurveCoefMacro */
01493     END_CurveInfoMode_e,
01494     CurveInfoMode_Invalid = BadEnumValue
01495 } CurveInfoMode_e;
01496 
01497 /* CORE SOURCE CODE REMOVED */
01498 
01499 typedef enum
01500 {
01501     StyleBase_Factory,
01502     StyleBase_Config,
01503     END_StyleBase_e,
01504     StyleBase_Invalid = BadEnumValue
01505 } StyleBase_e;
01506 
01507 
01508 typedef enum
01509 {
01510     ReadDataOption_NewData,
01511     ReadDataOption_AppendData,
01512     ReadDataOption_ReplaceData,
01513     END_ReadDataOption_e,
01514     ReadDataOption_Invalid = BadEnumValue
01515 } ReadDataOption_e;
01516 
01517 #if defined EXPORT_DEPRECATED_INTERFACES_TO_ADK_ONLY
01518 
01522 typedef enum
01523 {
01524     NodeLabel_Index,         /* deprecated: use LabelType_Index         */
01525     NodeLabel_VarValue,      /* deprecated: use LabelType_VarValue      */
01526     NodeLabel_XAndYVarValue, /* deprecated: use LabelType_XAndYVarValue */
01527     END_NodeLabel_e,
01528     NodeLabel_Invalid = BadEnumValue
01529 } NodeLabel_e;
01530 #endif
01531 
01532 typedef enum
01533 {
01534     LabelType_Index,         /* NodeLabel_Index         */
01535     LabelType_VarValue,      /* NodeLabel_VarValue      */
01536     LabelType_XAndYVarValue, /* NodeLabel_XAndYVarValue */
01537     END_LabelType_e,
01538     LabelType_Invalid = BadEnumValue
01539 } LabelType_e;
01540 
01541 
01542 #if defined EXPORT_DEPRECATED_INTERFACES_TO_ADK_ONLY
01543 
01547 typedef enum
01548 {
01549     SubBoundaryEditOption_All,      /* deprecated: use BorderAction_AddAll  */
01550     SubBoundaryEditOption_Add,      /* deprecated: use BorderAction_Add     */
01551     SubBoundaryEditOption_Remove,   /* deprecated: use BorderAction_Remove  */
01552     SubBoundaryEditOption_AddOnly,  /* deprecated: use BorderAction_AddOnly */
01553     END_SubBoundaryEditOption_e,
01554     SubBoundaryEditOption_Invalid = BadEnumValue
01555 } SubBoundaryEditOption_e;
01556 #endif
01557 
01558 typedef enum
01559 {
01560     BorderAction_AddAll,   /* SubBoundaryEditOption_All     */
01561     BorderAction_Add,      /* SubBoundaryEditOption_Add     */
01562     BorderAction_Remove,   /* SubBoundaryEditOption_Remove  */
01563     BorderAction_AddOnly,  /* SubBoundaryEditOption_AddOnly */
01564     END_BorderAction_e,
01565     BorderAction_Invalid = BadEnumValue
01566 } BorderAction_e;
01567 
01568 
01569 typedef enum
01570 {
01571     PointerStyle_NotUsed1,
01572     PointerStyle_NotUsed2,
01573     PointerStyle_NotUsed3,
01574     PointerStyle_AllDirections,
01575     PointerStyle_NotUsed4,
01576     PointerStyle_NotUsed5,
01577     PointerStyle_NotUsed6,
01578     PointerStyle_UpperLeftBracket,
01579     PointerStyle_UpperRightBracket,
01580     PointerStyle_LeftBracket,
01581     PointerStyle_LowerLeftBracket,
01582     PointerStyle_LowerRightBracket,
01583     PointerStyle_RightBracket,
01584     PointerStyle_BottomBracket,
01585     PointerStyle_TopBracket,
01586     PointerStyle_UpDown,
01587     PointerStyle_LeftRight,
01588     END_PointerStyle_e,
01589     PointerStyle_Invalid = BadEnumValue
01590 } PointerStyle_e;
01591 
01592 typedef enum
01593 {
01594     CursorStyle_Undefined,
01595     CursorStyle_StandardArrow,
01596     CursorStyle_AdjusterArrow,
01597     CursorStyle_AllDirections,
01598     CursorStyle_Rotate,
01599     CursorStyle_Zoom,
01600     CursorStyle_Locate,
01601     CursorStyle_UpperLeftBracket,
01602     CursorStyle_UpperRightBracket,
01603     CursorStyle_LeftBracket,
01604     CursorStyle_LowerLeftBracket,
01605     CursorStyle_LowerRightBracket,
01606     CursorStyle_RightBracket,
01607     CursorStyle_BottomBracket,
01608     CursorStyle_TopBracket,
01609     CursorStyle_UpDown,
01610     CursorStyle_LeftRight,
01611     CursorStyle_Waiting,
01612     END_CursorStyle_e,
01613     CursorStyle_Invalid = BadEnumValue
01614 } CursorStyle_e;
01615 
01616 
01617 typedef enum
01618 {
01619     PickSubPosition_All,
01620     PickSubPosition_Top,
01621     PickSubPosition_Bottom,
01622     PickSubPosition_Left,
01623     PickSubPosition_Right,
01624     PickSubPosition_TopLeft,
01625     PickSubPosition_TopRight,
01626     PickSubPosition_BottomLeft,
01627     PickSubPosition_BottomRight,
01628     PickSubPosition_BottomAndTop,
01629     PickSubPosition_LeftAndRight,
01630     END_PickSubPosition_e,
01631     PickSubPosition_Invalid = BadEnumValue
01632 } PickSubPosition_e;
01633 
01634 typedef enum
01635 {
01636     TecEngInitReturnCode_Ok,
01637     TecEngInitReturnCode_LicenseIsInvalid,
01638     TecEngInitReturnCode_LicenseExpired,
01639     TecEngInitReturnCode_InternalInitializationError,
01640     END_TecEngInitReturnCode_e,
01641     TecEngInitReturnCode_Invalid = BadEnumValue
01642 } TecEngInitReturnCode_e;
01643 
01644 typedef enum
01645 {
01646     GetValueReturnCode_Ok,
01647     GetValueReturnCode_ResultTypeError,
01648     GetValueReturnCode_SyntaxError,
01649     GetValueReturnCode_ContextError,
01650     GetValueReturnCode_DeprecatedError,
01651     END_GetValueReturnCode_e,
01652     GetValueReturnCode_Invalid = BadEnumValue,
01653     /* deprecated values */
01654     GetValue_Ok              = GetValueReturnCode_Ok,              /* deprecated */
01655     GetValue_ResultTypeError = GetValueReturnCode_ResultTypeError, /* deprecated */
01656     GetValue_SyntaxError     = GetValueReturnCode_SyntaxError,     /* deprecated */
01657     GetValue_ContextError    = GetValueReturnCode_ContextError,    /* deprecated */
01658     GetValue_DeprecatedError = GetValueReturnCode_DeprecatedError, /* deprecated */
01659     GetValue_Invalid         = GetValueReturnCode_Invalid          /* deprecated */
01660 } GetValueReturnCode_e;
01661 
01662 typedef enum
01663 {
01664     SetValueReturnCode_Ok,
01665     SetValueReturnCode_DuplicateValue,
01666     SetValueReturnCode_InvalidCommandOption,
01667     SetValueReturnCode_NoAttachedDatasetError,
01668     SetValueReturnCode_NoAttachedFrameError,
01669     SetValueReturnCode_NotAllowedInConfigError,
01670     SetValueReturnCode_ValueRangeError,
01671     SetValueReturnCode_ValueSyntaxError,
01672     SetValueReturnCode_AssignOpError,
01673     SetValueReturnCode_InvalidVarOrZone,
01674     SetValueReturnCode_InternalMemoryError,
01675     SetValueReturnCode_ContextError1,
01676     SetValueReturnCode_ContextError2,
01677     SetValueReturnCode_OnlyAllowedInConfigError,
01678     SetValueReturnCode_FeatureNotAvailable,
01679     END_SetValueReturnCode_e,
01680 /* CORE SOURCE CODE REMOVED */
01681     SetValueReturnCode_Invalid = BadEnumValue,
01682     /* deprecated values */
01683     SetValue_Ok                       = SetValueReturnCode_Ok,                       /* deprecated */
01684     SetValue_DuplicateValue           = SetValueReturnCode_DuplicateValue,           /* deprecated */
01685     SetValue_InvalidCommandOption     = SetValueReturnCode_InvalidCommandOption,     /* deprecated */
01686     SetValue_NoAttachedDatasetError   = SetValueReturnCode_NoAttachedDatasetError,   /* deprecated */
01687     SetValue_NoAttachedFrameError     = SetValueReturnCode_NoAttachedFrameError,     /* deprecated */
01688     SetValue_NotAllowedInConfigError  = SetValueReturnCode_NotAllowedInConfigError,  /* deprecated */
01689     SetValue_ValueRangeError          = SetValueReturnCode_ValueRangeError,          /* deprecated */
01690     SetValue_ValueSyntaxError         = SetValueReturnCode_ValueSyntaxError,         /* deprecated */
01691     SetValue_AssignOpError            = SetValueReturnCode_AssignOpError,            /* deprecated */
01692     SetValue_InvalidVarOrZone         = SetValueReturnCode_InvalidVarOrZone,         /* deprecated */
01693     SetValue_InternalMemoryError      = SetValueReturnCode_InternalMemoryError,      /* deprecated */
01694     SetValue_ContextError1            = SetValueReturnCode_ContextError1,            /* deprecated */
01695     SetValue_ContextError2            = SetValueReturnCode_ContextError2,            /* deprecated */
01696     SetValue_OnlyAllowedInConfigError = SetValueReturnCode_OnlyAllowedInConfigError, /* deprecated */
01697     SetValue_FeatureNotAvailable      = SetValueReturnCode_FeatureNotAvailable,      /* deprecated */
01698 /* CORE SOURCE CODE REMOVED */
01699     SetValue_Invalid                  = SetValueReturnCode_Invalid                   /* deprecated */
01700 } SetValueReturnCode_e;
01701 
01702 
01703 typedef enum
01704 {
01705     ObjectAlign_LeftJustify,
01706     ObjectAlign_RightJustify,
01707     ObjectAlign_Center,
01708     ObjectAlign_Top,
01709     ObjectAlign_Bottom,
01710     END_ObjectAlign_e,
01711     ObjectAlign_Invalid = BadEnumValue
01712 } ObjectAlign_e;
01713 
01714 
01715 /*
01716  * For 3D axis labels only.
01717  */
01718 typedef enum
01719 {
01720     LabelAlignment_ByAngle,
01721     LabelAlignment_AlongAxis,
01722     LabelAlignment_PerpendicularToAxis,
01723     END_LabelAlignment_e,
01724     LabelAlignment_Invalid = BadEnumValue
01725 } LabelAlignment_e; /* <help> Label alignment for 3D axis labels only" */
01726 
01727 /*
01728  * View_SetMagnification added 02/24/03 so all plot types
01729  * can behave the same way "do a 'centered' magnifacation change".
01730  * Line plots will still accept View_Scale option and zoom towards
01731  * the corner so old macros/addons still work.
01732  */
01733 typedef enum
01734 {
01735     View_Fit,
01736     View_DataFit,
01737     View_AxisFit,
01738     View_Scale,   /* deprecated, Use SetMagnification */
01739     View_Center,
01740     View_Translate,
01741     View_Zoom,
01742     View_Last,
01743     View_Copy,
01744     View_Paste,
01745     View_Push,  /* End of V9 enums */
01746     View_SetMagnification,
01747     View_NiceFit,
01748     View_AxisNiceFit,
01749     View_MakeCurrentViewNice,
01750     View_AxisMakeCurrentValuesNice,
01751     View_AxisResetToEntireCircle,
01752     View_FitSurfaces,
01753     END_View_e,
01754     View_Invalid = BadEnumValue
01755 } View_e;
01756 
01757 
01758 
01759 typedef enum
01760 {
01761     WorkspaceView_FitSelectedFrames,
01762     WorkspaceView_FitAllFrames,
01763     WorkspaceView_FitPaper,
01764     WorkspaceView_Maximize,
01765     WorkspaceView_LastView,
01766     WorkspaceView_Zoom,
01767     WorkspaceView_Translate,
01768     WorkspaceView_UnMaximize,
01769     END_WorkspaceView_e,
01770     WorkspaceView_Invalid = BadEnumValue
01771 } WorkspaceView_e;
01772 
01773 
01774 typedef enum
01775 {
01776     ArrowheadStyle_Plain,
01777     ArrowheadStyle_Filled,
01778     ArrowheadStyle_Hollow,
01779     END_ArrowheadStyle_e,
01780     ArrowheadStyle_Invalid = BadEnumValue,
01781     /* deprecated values */
01782     Arrowhead_Plain   = ArrowheadStyle_Plain,  /* deprecated */
01783     Arrowhead_Filled  = ArrowheadStyle_Filled, /* deprecated */
01784     Arrowhead_Hollow  = ArrowheadStyle_Hollow, /* deprecated */
01785     Arrowhead_Invalid = ArrowheadStyle_Invalid /* deprecated */
01786 } ArrowheadStyle_e;
01787 
01788 
01789 typedef enum
01790 {
01791     ArrowheadAttachment_None,
01792     ArrowheadAttachment_AtBeginning,
01793     ArrowheadAttachment_AtEnd,
01794     ArrowheadAttachment_AtBothEnds,
01795     END_ArrowheadAttachment_e,
01796     ArrowheadAttachment_Invalid = BadEnumValue,
01797     /* deprecated values */
01798     ArrowheadAttach_None        = ArrowheadAttachment_None,        /* deprecated */
01799     ArrowheadAttach_AtBeginning = ArrowheadAttachment_AtBeginning, /* deprecated */
01800     ArrowheadAttach_AtEnd       = ArrowheadAttachment_AtEnd,       /* deprecated */
01801     ArrowheadAttach_AtBothEnds  = ArrowheadAttachment_AtBothEnds,  /* deprecated */
01802     ArrowheadAttach_Invalid     = ArrowheadAttachment_Invalid      /* deprecated */
01803 } ArrowheadAttachment_e;
01804 
01805 typedef enum
01806 {
01807     Clipping_ClipToViewport,
01808     Clipping_ClipToFrame,
01809     END_Clipping_e,
01810     Clipping_Invalid = BadEnumValue
01811 } Clipping_e;
01812 
01813 typedef enum
01814 {
01815     StatusInfo_Hover,
01816     StatusInfo_Identify,
01817     StatusInfo_Instruction,
01818     StatusInfo_Working,
01819     StatusInfo_PercentDone,
01820     END_StatusInfo_e,
01821     StatusInfo_Invalid = BadEnumValue
01822 } StatusInfo_e;
01823 
01824 
01825 #if defined EXPORT_DEPRECATED_INTERFACES_TO_ADK_ONLY
01826 
01830 typedef enum
01831 {
01832     FrameMode_Empty,    /* deprecated: use PlotType_Automatic   */
01833     FrameMode_ThreeD,   /* deprecated: use PlotType_Cartesian3D */
01834     FrameMode_TwoD,     /* deprecated: use PlotType_Cartesian2D */
01835     FrameMode_XY,       /* deprecated: use PlotType_XYLine      */
01836     FrameMode_Sketch,   /* deprecated: use PlotType_Sketch      */
01837     END_FrameMode_e,
01838     FrameMode_Invalid = BadEnumValue,
01839     /* deprecated values */
01840     Frame_Empty   = FrameMode_Empty,    /* deprecated */
01841     Frame_ThreeD  = FrameMode_ThreeD,   /* deprecated */
01842     Frame_TwoD    = FrameMode_TwoD,     /* deprecated */
01843     Frame_XY      = FrameMode_XY,       /* deprecated */
01844     Frame_Sketch  = FrameMode_Sketch,   /* deprecated */
01845     Frame_Invalid = FrameMode_Invalid   /* deprecated */
01846 } FrameMode_e;
01847 #endif
01848 
01849 
01850 typedef enum
01851 {
01852     PlotType_Automatic,   /* Frame_Empty  */
01853     PlotType_Cartesian3D, /* Frame_ThreeD */
01854     PlotType_Cartesian2D, /* Frame_TwoD   */
01855     PlotType_XYLine,      /* Frame_XY     */
01856     PlotType_Sketch,      /* Frame_Sketch */
01857     PlotType_PolarLine,
01858     END_PlotType_e,
01859     PlotType_Invalid = BadEnumValue
01860 } PlotType_e;
01861 
01862 
01863 #define VALID_PLOTTYPE(PlotType) ( VALID_ENUM((PlotType), PlotType_e) && \
01864                                    ((PlotType) != PlotType_Automatic) )
01865 #define VALID_LINEPLOT_PLOTTYPE(PlotType) ( (PlotType) == PlotType_XYLine || \
01866                                             (PlotType) == PlotType_PolarLine )
01867 #define VALID_FIELDPLOT_PLOTTYPE(PlotType) ( (PlotType) == PlotType_Cartesian2D || \
01868                                              (PlotType) == PlotType_Cartesian3D )
01869 #define PLOTTYPE_USES_FIELDZONES(PlotType) VALID_FIELDPLOT_PLOTTYPE((PlotType))
01870 #define PLOTTYPE_USES_LINEMAPS(PlotType) VALID_LINEPLOT_PLOTTYPE((PlotType))
01871 #define VALID_V9_PLOTTYPE(PlotType) ( (PlotType) == PlotType_Sketch || \
01872                                       (PlotType) == PlotType_XYLine || \
01873                                       (PlotType) == PlotType_Cartesian2D || \
01874                                       (PlotType) == PlotType_Cartesian3D )
01875 
01876 
01877 typedef enum
01878 {
01879     ContLineCreateMode_OneZonePerContourLevel,
01880     ContLineCreateMode_OneZonePerIndependentPolyline,
01881     END_ContLineCreateMode_e,
01882     ContLineCreateMode_Invalid = BadEnumValue
01883 } ContLineCreateMode_e;
01884 
01885 
01886 typedef enum
01887 {
01888     PickObjects_None,
01889     PickObjects_Frame,
01890     PickObjects_Axis,
01891     PickObjects_ThreeDOrientationAxis,
01892     PickObjects_Geom,
01893     PickObjects_Text,
01894     PickObjects_ContourLegend,
01895     PickObjects_ContourLabel,
01896     PickObjects_ScatterLegend,
01897     PickObjects_LineLegend,
01898     PickObjects_ReferenceVector,
01899     PickObjects_ReferenceScatterSymbol,
01900     PickObjects_StreamtracePosition,
01901     PickObjects_StreamtraceTermLine,
01902     PickObjects_Paper,
01903     PickObjects_Zone,
01904     PickObjects_XYMapping, /* deprecated: use PickObject_LineMapping */
01905     PickObjects_StreamtraceCOB,
01906     PickObjects_SliceCOB,
01907     PickObjects_IsoSurfaceCOB,
01908     PickObjects_RGBLegend,
01909     PickObjects_LineMapping,
01910     END_PickObjects_e,
01911     PickObjects_Invalid = BadEnumValue,
01912     /* deprecated values */
01913     PickObject_None                   = PickObjects_None,                   /* deprecated */
01914     PickObject_Frame                  = PickObjects_Frame,                  /* deprecated */
01915     PickObject_Axis                   = PickObjects_Axis,                   /* deprecated */
01916     PickObject_3DOrientationAxis      = PickObjects_ThreeDOrientationAxis,  /* deprecated */
01917     PickObject_Geom                   = PickObjects_Geom,                   /* deprecated */
01918     PickObject_Text                   = PickObjects_Text,                   /* deprecated */
01919     PickObject_ContourLegend          = PickObjects_ContourLegend,          /* deprecated */
01920     PickObject_ContourLabel           = PickObjects_ContourLabel,           /* deprecated */
01921     PickObject_ScatterLegend          = PickObjects_ScatterLegend,          /* deprecated */
01922     PickObject_LineLegend             = PickObjects_LineLegend,             /* deprecated */
01923     PickObject_XYLegend               = PickObjects_LineLegend,             /* deprecated */
01924     PickObject_ReferenceVector        = PickObjects_ReferenceVector,        /* deprecated */
01925     PickObject_ReferenceScatterSymbol = PickObjects_ReferenceScatterSymbol, /* deprecated */
01926     PickObject_StreamtracePosition    = PickObjects_StreamtracePosition,    /* deprecated */
01927     PickObject_StreamtraceTermLine    = PickObjects_StreamtraceTermLine,    /* deprecated */
01928     PickObject_Paper                  = PickObjects_Paper,                  /* deprecated */
01929     PickObject_Zone                   = PickObjects_Zone,                   /* deprecated */
01930     PickObject_XYMapping              = PickObjects_XYMapping,              /* deprecated */
01931     PickObject_StreamtraceCOB         = PickObjects_StreamtraceCOB,         /* deprecated */
01932     PickObject_SliceCOB               = PickObjects_SliceCOB,               /* deprecated */
01933     PickObject_IsoSurfaceCOB          = PickObjects_IsoSurfaceCOB,          /* deprecated */
01934     PickObject_RGBLegend              = PickObjects_RGBLegend,              /* deprecated */
01935     PickObject_LineMapping            = PickObjects_LineMapping,            /* deprecated */
01936     PickObject_Invalid                = PickObjects_Invalid                 /* deprecated */
01937 } PickObjects_e;
01938 
01939 
01940 /* CORE SOURCE CODE REMOVED */
01941 
01942 /*
01943  * NOTE: The _NoOp value is not at the top so this
01944  *       enumeration aligns with the old AltMouseButtonMode_e
01945  *       enumeration.
01946  */
01947 typedef enum
01948 {
01949     MouseButtonClick_Redraw,
01950     MouseButtonClick_RevertToSelect,
01951     MouseButtonClick_NoOp,
01952     END_MouseButtonClick_e,
01953     MouseButtonClick_Invalid = BadEnumValue
01954 } MouseButtonClick_e;
01955 
01956 
01957 typedef enum
01958 {
01959     MouseButtonDrag_NoOp,
01960     MouseButtonDrag_ZoomPaper,
01961     MouseButtonDrag_TranslatePaper,
01962     MouseButtonDrag_ZoomData,
01963     MouseButtonDrag_TranslateData,
01964     MouseButtonDrag_RlrBallRtatData,
01965     MouseButtonDrag_SpherRtatData,
01966     MouseButtonDrag_XRotateData,
01967     MouseButtonDrag_YRotateData,
01968     MouseButtonDrag_ZRotateData,
01969     MouseButtonDrag_TwistRotateData,
01970     MouseButtonDrag_ZoomViewer,
01971     MouseButtonDrag_TranslateViewer,
01972     MouseButtonDrag_RlrBallRtatVwr,
01973     MouseButtonDrag_SpherRotateVwr,
01974     MouseButtonDrag_XRotateViewer,
01975     MouseButtonDrag_YRotateViewer,
01976     MouseButtonDrag_ZRotateViewer,
01977     MouseButtonDrag_TwistRotateViewer,
01978     END_MouseButtonDrag_e,
01979     MouseButtonDrag_Invalid = BadEnumValue
01980 } MouseButtonDrag_e;
01981 
01982 
01983 /* CORE SOURCE CODE REMOVED */
01984 
01985 
01986 typedef enum  /* deprecated */
01987 {
01988     AltMouseButtonMode_Regen,
01989     AltMouseButtonMode_RevertToSelect,
01990     END_AltMouseButtonMode_e,
01991     AltMouseButtonMode_Invalid = BadEnumValue
01992 } AltMouseButtonMode_e;
01993 
01994 
01995 typedef enum
01996 {
01997     MouseButtonMode_NoMode,
01998     MouseButtonMode_Select,
01999     MouseButtonMode_Adjust,
02000     MouseButtonMode_Zoom,
02001     MouseButtonMode_Translate,
02002     MouseButtonMode_Probe,
02003     MouseButtonMode_Text,
02004     MouseButtonMode_GeomPolyline,
02005     MouseButtonMode_GeomSquare,
02006     MouseButtonMode_GeomCircle,
02007     MouseButtonMode_GeomRectangle,
02008     MouseButtonMode_GeomEllipse,
02009     MouseButtonMode_GeomSpline,
02010     MouseButtonMode_CreateFrame,
02011     MouseButtonMode_RotateSpherical,
02012     MouseButtonMode_RotateRollerBall,
02013     MouseButtonMode_RotateTwist,
02014     MouseButtonMode_RotateXAxis,
02015     MouseButtonMode_RotateYAxis,
02016     MouseButtonMode_RotateZAxis,
02017     MouseButtonMode_ContourLabel,
02018     MouseButtonMode_ContourAdd,
02019     MouseButtonMode_ContourDelete,
02020     MouseButtonMode_StreamPoints,
02021     MouseButtonMode_StreamEndLine,
02022     MouseButtonMode_ExtractPoints,
02023     MouseButtonMode_ExtractLine,
02024     MouseButtonMode_CreateRectangularZone,
02025     MouseButtonMode_CreateCircularZone,
02026     MouseButtonMode_Slice,
02027     MouseButtonMode_LightSource,
02028     MouseButtonMode_User1,
02029     MouseButtonMode_User2,
02030     MouseButtonMode_User3,
02031     MouseButtonMode_User4,
02032     END_MouseButtonMode_e,
02033     MouseButtonMode_Invalid = BadEnumValue,
02034     /* deprecated values */
02035     Mouse_NoMode                = MouseButtonMode_NoMode,                /* deprecated */
02036     Mouse_Select                = MouseButtonMode_Select,                /* deprecated */
02037     Mouse_Adjust                = MouseButtonMode_Adjust,                /* deprecated */
02038     Mouse_Zoom                  = MouseButtonMode_Zoom,                  /* deprecated */
02039     Mouse_Translate             = MouseButtonMode_Translate,             /* deprecated */
02040     Mouse_Probe                 = MouseButtonMode_Probe,                 /* deprecated */
02041     Mouse_Text                  = MouseButtonMode_Text,                  /* deprecated */
02042     Mouse_GeomPolyline          = MouseButtonMode_GeomPolyline,          /* deprecated */
02043     Mouse_GeomSquare            = MouseButtonMode_GeomSquare,            /* deprecated */
02044     Mouse_GeomCircle            = MouseButtonMode_GeomCircle,            /* deprecated */
02045     Mouse_GeomRectangle         = MouseButtonMode_GeomRectangle,         /* deprecated */
02046     Mouse_GeomEllipse           = MouseButtonMode_GeomEllipse,           /* deprecated */
02047     Mouse_GeomSpline            = MouseButtonMode_GeomSpline,            /* deprecated */
02048     Mouse_CreateFrame           = MouseButtonMode_CreateFrame,           /* deprecated */
02049     Mouse_RotateSpherical       = MouseButtonMode_RotateSpherical,       /* deprecated */
02050     Mouse_RotateRollerBall      = MouseButtonMode_RotateRollerBall,      /* deprecated */
02051     Mouse_RotateTwist           = MouseButtonMode_RotateTwist,           /* deprecated */
02052     Mouse_RotateXAxis           = MouseButtonMode_RotateXAxis,           /* deprecated */
02053     Mouse_RotateYAxis           = MouseButtonMode_RotateYAxis,           /* deprecated */
02054     Mouse_RotateZAxis           = MouseButtonMode_RotateZAxis,           /* deprecated */
02055     Mouse_ContourLabel          = MouseButtonMode_ContourLabel,          /* deprecated */
02056     Mouse_ContourAdd            = MouseButtonMode_ContourAdd,            /* deprecated */
02057     Mouse_ContourDelete         = MouseButtonMode_ContourDelete,         /* deprecated */
02058     Mouse_StreamPoints          = MouseButtonMode_StreamPoints,          /* deprecated */
02059     Mouse_StreamEndLine         = MouseButtonMode_StreamEndLine,         /* deprecated */
02060     Mouse_ExtractPoints         = MouseButtonMode_ExtractPoints,         /* deprecated */
02061     Mouse_ExtractLine           = MouseButtonMode_ExtractLine,           /* deprecated */
02062     Mouse_CreateRectangularZone = MouseButtonMode_CreateRectangularZone, /* deprecated */
02063     Mouse_CreateCircularZone    = MouseButtonMode_CreateCircularZone,    /* deprecated */
02064     Mouse_Slice                 = MouseButtonMode_Slice,                 /* deprecated */
02065     Mouse_User1                 = MouseButtonMode_User1,                 /* deprecated */
02066     Mouse_User2                 = MouseButtonMode_User2,                 /* deprecated */
02067     Mouse_User3                 = MouseButtonMode_User3,                 /* deprecated */
02068     Mouse_User4                 = MouseButtonMode_User4,                 /* deprecated */
02069     Mouse_Invalid               = MouseButtonMode_Invalid                /* deprecated */
02070 } MouseButtonMode_e;
02071 
02072 
02073 typedef enum
02074 {
02075     DetailsButtonState_QuickEdit,
02076     DetailsButtonState_ObjectDetails,
02077     DetailsButtonState_ToolDetails,
02078     END_DetailsButtonState_e,
02079     DetailsButtonState_Invalid = BadEnumValue
02080 } DetailsButtonState_e;
02081 
02082 
02083 typedef enum
02084 {
02085     Event_ButtonPress,
02086     Event_ButtonRelease,
02087     Event_ButtonDoublePress,
02088     Event_Motion,
02089     Event_Drag,
02090     Event_KeyPress,
02091     END_Event_e,
02092     Event_Invalid = BadEnumValue
02093 } Event_e;
02094 
02095 
02096 typedef enum
02097 {
02098     ObjectDrawMode_DrawFirst,
02099     ObjectDrawMode_Move,
02100     ObjectDrawMode_Remove,
02101     ObjectDrawMode_Place,
02102     END_ObjectDrawMode_e,
02103     ObjectDrawMode_Invalid = BadEnumValue
02104 } ObjectDrawMode_e;
02105 
02106 
02107 typedef enum
02108 {
02109     ThreeDViewChangeDrawLevel_Full,
02110     ThreeDViewChangeDrawLevel_Trace,
02111     END_ThreeDViewChangeDrawLevel_e,
02112     ThreeDViewChangeDrawLevel_Invalid = BadEnumValue
02113 } ThreeDViewChangeDrawLevel_e; /* <help> "ThreeDViewChangeDrawLevel is deprecated. Use PlotApproximateMode.\n"*/
02114 
02115 typedef enum
02116 {
02117     NonCurrentFrameRedrawLevel_Full,
02118     NonCurrentFrameRedrawLevel_Trace,
02119     END_NonCurrentFrameRedrawLevel_e,
02120     NonCurrentFrameRedrawLevel_Invalid = BadEnumValue
02121 } NonCurrentFrameRedrawLevel_e; /* <help> "NonCurrentFrameRedrawLevel is deprecated. Use PlotApproximateMode.\n"*/
02122 
02123 
02171 typedef enum
02172 {
02173     RedrawReason_UserReqRedrawActiveFrame,
02174     RedrawReason_UserReqTraceActiveFrame,
02175     RedrawReason_UserReqRedrawAllFrames,
02176     RedrawReason_UserReqTraceAllFrames,
02177     RedrawReason_InteractiveDataViewChange,
02178     RedrawReason_InteractivePaperViewChange,
02179     RedrawReason_InteractiveStyleChange,
02180     RedrawReason_Animation,
02181     RedrawReason_AutoRedraw,
02182     RedrawReason_RedrawForcedViewUpdate,
02183     RedrawReason_RedrawForcedStyleUpdate,
02184     RedrawReason_PreFullRedrawTraceOfAllFrames,
02185     END_RedrawReason_e,
02186     RedrawReason_Invalid = BadEnumValue,
02187     RedrawReason_UserReqRedrawCurrentFrame = RedrawReason_UserReqRedrawActiveFrame,
02188     RedrawReason_UserReqTraceCurrentFrame = RedrawReason_UserReqTraceActiveFrame
02189 } RedrawReason_e;
02190 
02191 typedef enum
02192 {
02193     RotationMode_XYZAxis,
02194     RotationMode_Spherical,
02195     RotationMode_RollerBall,
02196     END_RotationMode_e,
02197     RotationMode_Invalid = BadEnumValue
02198 } RotationMode_e;
02199 
02200 typedef enum
02201 {
02202     RotateAxis_X,
02203     RotateAxis_Y,
02204     RotateAxis_Z,
02205     RotateAxis_Psi,
02206     RotateAxis_Theta,
02207     RotateAxis_Alpha,
02208     RotateAxis_Twist,
02209     RotateAxis_VertRollerBall,
02210     RotateAxis_HorzRollerBall,
02211     RotateAxis_AboutVector,
02212 /* CORE SOURCE CODE REMOVED */
02213     END_RotateAxis_e,
02214     RotateAxis_Invalid = BadEnumValue
02215 } RotateAxis_e;
02216 
02217 typedef enum
02218 {
02219     RotateOriginLocation_DefinedOrigin,
02220     RotateOriginLocation_Viewer,
02221     END_RotateOriginLocation_e,
02222     RotateOriginLocation_Invalid = BadEnumValue
02223 } RotateOriginLocation_e;
02224 
02225 /*
02226  * NOTE: This is only used with the $!Reset3DOrigin command.
02227  */
02228 typedef enum
02229 {
02230     OriginResetLocation_DataCenter,
02231     OriginResetLocation_ViewCenter,
02232     END_OriginResetLocation_e,
02233     OriginResetLocation_Invalid = BadEnumValue
02234 } OriginResetLocation_e;
02235 
02236 /*
02237  * NOTE: This is only used with the $!CreateSliceZoneFromPlane command.
02238  */
02239 typedef enum
02240 {
02241     SliceSource_SurfaceZones,
02242     SliceSource_VolumeZones,
02243     SliceSource_SurfacesOfVolumeZones,
02244     SliceSource_LinearZones,
02245     END_SliceSource_e,
02246     SliceSource_Invalid = BadEnumValue
02247 } SliceSource_e;
02248 
02249 
02250 
02251 
02252 
02253 typedef enum
02254 {
02255     Input_SmInteger,
02256     Input_Short,
02257     Input_Integer,
02258     Input_Float,
02259     Input_Double,
02260     Input_Radians,
02261     Input_TimeDateDouble,
02262     Input_ElapsedTimeDouble,
02263     END_Input_e,
02264     Input_Invalid = BadEnumValue
02265 } Input_e;
02266 
02267 
02268 
02269 typedef enum
02270 {
02271     PtSelection_All,
02272     PtSelection_NearestN,
02273     PtSelection_OctantN,
02274     END_PtSelection_e,
02275     PtSelection_Invalid = BadEnumValue
02276 } PtSelection_e;
02277 
02278 
02279 
02280 typedef enum
02281 {
02282     Drift_None,
02283     Drift_Linear,
02284     Drift_Quad,
02285     END_Drift_e,
02286     Drift_Invalid = BadEnumValue
02287 } Drift_e;
02288 
02289 
02290 
02291 /* atpoint is simple boundary condition.
02292    atpointb2 is better boundary condition.
02293 */
02294 typedef enum
02295 {
02296     DerivPos_atpoint,
02297     DerivPos_atpointb2,
02298     DerivPos_kphalf,
02299     DerivPos_jphalf,
02300     DerivPos_iphalf,
02301     END_DerivPos_e,
02302     DerivPos_Invalid = BadEnumValue
02303 } DerivPos_e; /*<help>"atpoint is the simple boundary condition\n"*/
02304 /*<help>"atpointb2 is a better boundary condition"*/
02305 
02306 
02307 typedef enum
02308 {
02309     LinearInterpMode_DontChange,
02310     LinearInterpMode_SetToConst,
02311     END_LinearInterpMode_e,
02312     LinearInterpMode_Invalid = BadEnumValue
02313 } LinearInterpMode_e;
02314 
02315 typedef enum
02316 {
02317     VolumeCellInterpolationMode_PiecewiseLinear,
02318     VolumeCellInterpolationMode_TriLinear,
02319     END_VolumeCellInterpolationMode_e,
02320     VolumeCellInterpolationMode_Invalid = BadEnumValue
02321 } VolumeCellInterpolationMode_e;
02322 
02323 typedef enum
02324 {
02325     PolyCellInterpolationMode_UseCCValue,
02326     PolyCellInterpolationMode_AverageNodes,
02327     END_PolyCellInterpolationMode_e,
02328     PolyCellInterpolationMode_Invalid = BadEnumValue
02329 } PolyCellInterpolationMode_e;
02330 
02331 typedef enum
02332 {
02333     ConstraintOp2Mode_UseVar,
02334     ConstraintOp2Mode_UseConstant,
02335     END_ConstraintOp2Mode_e,
02336     ConstraintOp2Mode_Invalid = BadEnumValue
02337 } ConstraintOp2Mode_e;
02338 
02346 typedef enum
02347 {
02348     DataProbeVarLoadMode_IncrementallyLoadAll,
02349     DataProbeVarLoadMode_LoadRequiredVarsOnly,
02350     END_DataProbeVarLoadMode_e,
02351     DataProbeVarLoadMode_Invalid = BadEnumValue
02352 } DataProbeVarLoadMode_e;
02353 
02354 typedef enum
02355 {
02356     ValueBlankCellMode_AllCorners,
02357     ValueBlankCellMode_AnyCorner,
02358     ValueBlankCellMode_PrimaryValue,
02359     END_ValueBlankCellMode_e,
02360     ValueBlankCellMode_Invalid = BadEnumValue,
02361     /* deprecated values */
02362     ValueBlankCellMode_PrimaryCorner = ValueBlankCellMode_PrimaryValue
02363 } ValueBlankCellMode_e;
02364 
02365 
02366 /*
02367  * deprecated: ValueBlankMode_e enumeration will not be supported after
02368  *             version 8. This API was retained for add-on developers
02369  *             using the TecUtilStyleSetLowLevel API.
02370  */
02371 typedef enum
02372 {
02373     ValueBlankMode_AndRule,
02374     ValueBlankMode_OrRule,
02375     ValueBlankMode_CornerRule,
02376     END_ValueBlankMode_e,
02377     ValueBlankMode_Invalid = BadEnumValue
02378 } ValueBlankMode_e; /*<help>"DEPRECATED: ValueBlankMode_e will not be supported after version 8"*/
02379 
02380 
02381 typedef enum
02382 {
02383     CellBlankedCond_NotBlanked,
02384     CellBlankedCond_PartiallyBlanked,
02385     CellBlankedCond_EntirelyBlanked,
02386     CellBlankedCond_Uncertain,
02387     END_CellBlankedCond_e,
02388     CellBlankedCond_Invalid = BadEnumValue
02389 } CellBlankedCond_e;
02390 
02391 
02392 typedef enum
02393 {
02394     RelOp_LessThanOrEqual,
02395     RelOp_GreaterThanOrEqual,
02396     RelOp_LessThan,
02397     RelOp_GreaterThan,
02398     RelOp_EqualTo,
02399     RelOp_NotEqualTo,
02400     END_RelOp_e,
02401     RelOp_Invalid = BadEnumValue
02402 } RelOp_e;
02403 
02404 
02405 
02406 typedef enum
02407 {
02408     IJKBlankMode_BlankInterior,
02409     IJKBlankMode_BlankExterior,
02410     END_IJKBlankMode_e,
02411     IJKBlankMode_Invalid = BadEnumValue
02412 } IJKBlankMode_e;
02413 
02414 
02415 typedef enum
02416 {
02417     PlotApproximationMode_Automatic,
02418     PlotApproximationMode_NonCurrentAlwaysApproximated,
02419     PlotApproximationMode_AllFramesAlwaysApproximated,
02420     END_PlotApproximationMode_e,
02421     PlotApproximationMode_Invalid = BadEnumValue
02422 } PlotApproximationMode_e;
02423 
02424 typedef enum
02425 {
02426     SphereScatterRenderQuality_Low,
02427     SphereScatterRenderQuality_Medium,
02428     SphereScatterRenderQuality_High,
02429     END_SphereScatterRenderQuality_e,
02430     SphereScatterRenderQuality_Invalid = BadEnumValue
02431 } SphereScatterRenderQuality_e;
02432 
02433 /*
02434  * NOTE: FillPat_e is deprecated.  It must be retained to maintain
02435  *       backward compatibility with the TecUtil layer however.
02436  *       This has been replaced by Translucency_e.
02437  */
02438 typedef enum
02439 {
02440     Pattern_Solid,
02441     Pattern_LowTranslucent,
02442     Pattern_MedTranslucent,
02443     Pattern_HighTranslucent,
02444     END_FillPat_e,
02445     Pattern_Invalid = BadEnumValue
02446 } FillPat_e; /*<help>"DEPRECATED: Replaced by Translucency_e"*/
02447 
02448 
02449 typedef enum
02450 {
02451     Translucency_Solid,
02452     Translucency_Low,
02453     Translucency_Medium,
02454     Translucency_High,
02455     END_Translucency_e,
02456     Translucency_Invalid = BadEnumValue
02457 } Translucency_e;
02458 
02459 
02460 
02461 typedef enum
02462 {
02463     SunRaster_OldFormat,
02464     SunRaster_Standard,
02465     SunRaster_ByteEncoded,
02466     END_SunRaster_e,
02467     SunRaster_Invalid = BadEnumValue
02468 } SunRaster_e;
02469 
02470 
02471 typedef enum
02472 {
02473     BoundaryCondition_Fixed,
02474     BoundaryCondition_ZeroGradient,
02475     BoundaryCondition_Zero2nd,
02476     END_BoundaryCondition_e,
02477     BoundaryCondition_Invalid = BadEnumValue
02478 } BoundaryCondition_e;
02479 
02480 
02481 
02482 /* Note:
02483  *   In 2D: AxisMode_Independent and AxisMode_XYDependent are used;
02484  *   in 3D: AxisMode_Independent, AxisMode_XYZDependent, and AxisMode_XYDependent are used.
02485  */
02486 typedef enum
02487 {
02488     AxisMode_Independent,
02489     AxisMode_XYZDependent,
02490     AxisMode_XYDependent,
02491     END_AxisMode_e,
02492     AxisMode_Invalid = BadEnumValue
02493 } AxisMode_e;/*<help>"In 2D AxisMode_Independent and AxisMode_XYDependent are used\n"*/
02494 /*<help>"In 3D AxisMode_Independent, "*/
02495 /*<help>"AxisMode_XYZDependent, and AxisMode_XYDependent are used."*/
02496 
02497 typedef enum
02498 {
02499     Quick_LineColor,
02500     Quick_FillColor,
02501     Quick_TextColor,
02502     END_QuickColorMode_e,
02503     Quick_Invalid = BadEnumValue
02504 } QuickColorMode_e;
02505 
02506 
02507 typedef enum
02508 {
02509     FillMode_None,
02510     FillMode_UseSpecificColor,
02511     FillMode_UseLineColor,
02512     FillMode_UseBackgroundColor,
02513     END_FillMode_e,
02514     FillMode_Invalid = BadEnumValue
02515 } FillMode_e;
02516 
02517 
02518 typedef enum
02519 {
02520     LinePattern_Solid,
02521     LinePattern_Dashed,
02522     LinePattern_DashDot,
02523     LinePattern_Dotted,
02524     LinePattern_LongDash,
02525     LinePattern_DashDotDot,
02526     END_LinePattern_e,
02527     LinePattern_Invalid = BadEnumValue
02528 } LinePattern_e;
02529 
02530 
02531 
02532 typedef enum
02533 {
02534     Join_Miter,
02535     Join_Round,
02536     Join_Bevel,
02537     END_LineJoin_e,
02538     Join_Invalid = BadEnumValue
02539 } LineJoin_e;
02540 
02541 
02542 
02543 typedef enum
02544 {
02545     Cap_Flat,
02546     Cap_Round,
02547     Cap_Square,
02548     END_LineCap_e,
02549     Cap_Invalid = BadEnumValue
02550 } LineCap_e;
02551 
02552 
02553 
02554 typedef enum
02555 {
02556     GeomForm_LineSegs,
02557     GeomForm_Rectangle,
02558     GeomForm_Square,
02559     GeomForm_Circle,
02560     GeomForm_Ellipse,
02561     GeomForm_LineSegs3D, /* deprecated: use GeomForm_LineSegs with CoordSys_Grid3D */
02562     GeomForm_Image,
02563     END_GeomForm_e,
02564     GeomForm_Invalid = BadEnumValue,
02565     /* new value names */
02566     GeomType_LineSegs = GeomForm_LineSegs,
02567     GeomType_Rectangle = GeomForm_Rectangle,
02568     GeomType_Square = GeomForm_Square,
02569     GeomType_Circle = GeomForm_Circle,
02570     GeomType_Ellipse = GeomForm_Ellipse,
02571     GeomType_LineSegs3D = GeomForm_LineSegs3D, /* deprecated: use GeomType_LineSegs with CoordSys_Grid3D */
02572     GeomType_Image = GeomForm_Image,
02573     END_GeomType_e = END_GeomForm_e,
02574     GeomType_Invalid = GeomForm_Invalid
02575 } GeomForm_e;
02576 
02577 typedef GeomForm_e GeomType_e;
02578 
02579 typedef enum
02580 {
02581     VariableDerivationMethod_Fast,
02582     VariableDerivationMethod_Accurate,
02583     END_VariableDerivationMethod_e,
02584     VariableDerivationMethod_Invalid = BadEnumValue
02585 } VariableDerivationMethod_e;
02586 
02589 typedef enum
02590 {
02591     AuxDataType_String,
02592     END_AuxDataType_e,
02593     AuxDataType_Invalid = BadEnumValue
02594 } AuxDataType_e;
02595 
02598 typedef enum
02599 {
02600     AuxDataLocation_Zone,
02601     AuxDataLocation_DataSet,
02602     AuxDataLocation_Frame,
02603     AuxDataLocation_Var,
02604     AuxDataLocation_LineMap,
02605     AuxDataLocation_Page,
02606     END_AuxDataLocation_e,
02607     AuxDataLocation_Invalid = BadEnumValue
02608 } AuxDataLocation_e;
02609 
02610 
02611 /* Note: This replaces Element_e */
02612 typedef enum
02613 {
02614     ZoneType_Ordered,
02615     ZoneType_FETriangle,
02616     ZoneType_FEQuad,
02617     ZoneType_FETetra,
02618     ZoneType_FEBrick,
02619     ZoneType_FELineSeg,
02620     ZoneType_FEPolygon,
02621     ZoneType_FEPolyhedron,
02622     END_ZoneType_e,
02623     ZoneType_Invalid = BadEnumValue
02624 } ZoneType_e;
02625 
02626 typedef enum
02627 {
02628     ZoneOrder_I,
02629     ZoneOrder_J,
02630     ZoneOrder_K,
02631     ZoneOrder_IJ,
02632     ZoneOrder_IK,
02633     ZoneOrder_JK,
02634     ZoneOrder_IJK,
02635     END_ZoneOrder_e,
02636     ZoneOrder_Invalid = BadEnumValue
02637 } ZoneOrder_e;
02638 
02639 /* deprecated: replaced by ZoneType_e DataPacking_e */
02640 typedef enum
02641 {
02642     DataFormat_IJKBlock,
02643     DataFormat_IJKPoint,
02644     DataFormat_FEBlock,
02645     DataFormat_FEPoint,
02646     END_DataFormat_e,
02647     DataFormat_Invalid = BadEnumValue
02648 } DataFormat_e;
02649 
02650 typedef enum
02651 {
02652     DataPacking_Block,
02653     DataPacking_Point,
02654     END_DataPacking_e,
02655     DataPacking_Invalid = BadEnumValue
02656 } DataPacking_e;
02657 
02658 
02659 
02660 typedef enum
02661 {
02662     PD_HPGL,
02663     PD_HPGL2,
02664     PD_PS,
02665     PD_LASERG, /* deprecated */
02666     PD_EPS,
02667     PD_WINDOWS, /* Windows Print Driver */
02668     PD_WMF, /* Windows MetaFile (used from Export only) */
02669     PD_X3D,
02670     END_PrinterDriver_e,
02671     PD_Invalid = BadEnumValue
02672 } PrinterDriver_e;
02673 
02674 
02675 
02676 typedef enum
02677 {
02678     Image_None,
02679     Image_TIFF,
02680     Image_EPSI2,
02681     Image_FRAME,
02682     END_EPSPreviewImage_e,
02683     Image_Invalid = BadEnumValue
02684 } EPSPreviewImage_e;
02685 
02686 typedef enum
02687 {
02688     TIFFByteOrder_Intel,
02689     TIFFByteOrder_Motorola,
02690     END_TIFFByteOrder_e,
02691     TIFFByteOrder_Invalid = BadEnumValue
02692 } TIFFByteOrder_e;
02693 
02694 typedef enum
02695 {
02696     JPEGEncoding_Standard,
02697     JPEGEncoding_Progressive,
02698     END_JPEGEncoding_e,
02699     JPEGEncoding_Invalid = BadEnumValue
02700 } JPEGEncoding_e;
02701 
02702 
02703 typedef enum
02704 {
02705     FlashImageType_Lossless,
02706     FlashImageType_JPEG,
02707     FlashImageType_Color256,
02708     END_FlashImageType_e,
02709     FlashImageType_Invalid = BadEnumValue,
02710     /* deprecated values */
02711     FlashImageType_256Color = FlashImageType_Color256
02712 } FlashImageType_e;
02713 
02714 typedef enum
02715 {
02716     FlashCompressionType_BestSpeed,
02717     FlashCompressionType_SmallestSize,
02718     END_FlashCompressionType_e,
02719     FlashCompressionType_Invalid = BadEnumValue
02720 } FlashCompressionType_e;
02721 
02722 
02723 typedef enum
02724 {
02725     ExportFormat_RasterMetafile,
02726     ExportFormat_TIFF,
02727     ExportFormat_SGI,
02728     ExportFormat_SunRaster,
02729     ExportFormat_XWindows,
02730     ExportFormat_PSImage,       /* deprecated */
02731     ExportFormat_HPGL,
02732     ExportFormat_HPGL2,
02733     ExportFormat_PS,
02734     ExportFormat_EPS,
02735     ExportFormat_LaserGraphics, /* deprecated */
02736     ExportFormat_WindowsMetafile,
02737     ExportFormat_BMP,
02738     ExportFormat_PNG,
02739     ExportFormat_AVI,
02740     ExportFormat_Custom,  /* May be used in a future version */
02741     ExportFormat_JPEG,
02742     ExportFormat_Flash,
02743     ExportFormat_X3D,
02744     ExportFormat_TecplotViewer,
02745     END_ExportFormat_e,
02746     ExportFormat_Invalid = BadEnumValue
02747 } ExportFormat_e;
02748 
02749 typedef enum
02750 {
02751     AVICompression_ColorPreserving,
02752     AVICompression_LinePreserving,
02753     AVICompression_LosslessUncompressed,
02754     END_AVICompression_e,
02755     AVICompression_Invalid = BadEnumValue
02756 } AVICompression_e;
02757 
02758 typedef enum
02759 {
02760     AnimationDest_Screen,
02761     AnimationDest_AVI,
02762     AnimationDest_RM,
02763     AnimationDest_Flash,
02764     END_AnimationDest_e,
02765     AnimationDest_Invalid = BadEnumValue
02766 } AnimationDest_e;
02767 
02768 
02769 
02770 typedef enum
02771 {
02772     AnimationOperation_Forward,
02773     AnimationOperation_Backward,
02774     AnimationOperation_Loop,
02775     AnimationOperation_Bounce,
02776     END_AnimationOperation_e,
02777     AnimationOperation_Invalid = BadEnumValue
02778 } AnimationOperation_e;
02779 
02780 typedef enum
02781 {
02782     AnimationStep_First,
02783     AnimationStep_Second,
02784     AnimationStep_Current,
02785     AnimationStep_SecondToLast,
02786     AnimationStep_Last,
02787     AnimationStep_Previous,
02788     AnimationStep_Next,
02789     END_AnimationStep_e,
02790     AnimationStep_Invalid = BadEnumValue
02791 } AnimationStep_e;
02792 
02793 typedef enum
02794 {
02795     ZoneAnimationMode_StepByNumber,
02796     ZoneAnimationMode_GroupStepByNumber,
02797     ZoneAnimationMode_StepByTime,
02798     END_ZoneAnimationMode_e,
02799     ZoneAnimationMode_Invalid = BadEnumValue
02800 } ZoneAnimationMode_e;
02801 
02802 #if defined EXPORT_DEPRECATED_INTERFACES_TO_ADK_ONLY
02803 
02807 typedef enum
02808 {
02809     BitDumpRegion_CurrentFrame,
02810     BitDumpRegion_AllFrames,
02811     BitDumpRegion_WorkArea,
02812     END_BitDumpRegion_e,
02813     BitDumpRegion_Invalid = BadEnumValue
02814 } BitDumpRegion_e;
02815 #endif
02816 
02817 typedef enum
02818 {
02819     ExportRegion_CurrentFrame,
02820     ExportRegion_AllFrames,
02821     ExportRegion_WorkArea,
02822     END_ExportRegion_e,
02823     ExportRegion_Invalid = BadEnumValue
02824 } ExportRegion_e;
02825 
02826 typedef enum
02827 {
02828     Paper_Letter,
02829     Paper_Double,
02830     Paper_A4,
02831     Paper_A3,
02832     Paper_Custom1,
02833     Paper_Custom2,
02834     END_PaperSize_e,
02835     Paper_Invalid = BadEnumValue
02836 } PaperSize_e;
02837 
02838 
02839 
02840 typedef enum
02841 {
02842     PaperUnitSpacing_HalfCentimeter,
02843     PaperUnitSpacing_OneCentimeter,
02844     PaperUnitSpacing_TwoCentimeters,
02845     PaperUnitSpacing_QuarterInch,
02846     PaperUnitSpacing_HalfInch,
02847     PaperUnitSpacing_OneInch,
02848     PaperUnitSpacing_TenPoints,
02849     PaperUnitSpacing_TwentyFourPoints,
02850     PaperUnitSpacing_ThirtySixPoints,
02851     PaperUnitSpacing_FiftyPoints,
02852     PaperUnitSpacing_SeventyTwoPoints,
02853     PaperUnitSpacing_OneTenthInch,
02854     PaperUnitSpacing_OneTenthCentimeter,
02855     END_PaperUnitSpacing_e,
02856     PaperUnitSpacing_Invalid = BadEnumValue
02857 } PaperUnitSpacing_e;
02858 
02859 
02860 typedef enum
02861 {
02862     Palette_Monochrome,
02863     Palette_PenPlotter,
02864     Palette_Color,
02865     END_Palette_e,
02866     Palette_Invalid = BadEnumValue
02867 } Palette_e;
02868 
02869 
02870 typedef enum
02871 {
02872     PrintRenderType_Vector,
02873     PrintRenderType_Image,
02874     END_PrintRenderType_e,
02875     PrintRenderType_Invalid = BadEnumValue
02876 } PrintRenderType_e;
02877 
02878 
02879 typedef enum
02880 {
02881     Units_Grid,
02882     Units_Frame,
02883     Units_Point,
02884     Units_Screen,
02885     Units_AxisPercentage,
02886     END_Units_e,
02887     Units_Invalid = BadEnumValue
02888 } Units_e;
02889 
02890 
02891 typedef enum
02892 {
02893     CoordScale_Linear,
02894     CoordScale_Log,
02895     END_CoordScale_e,
02896     CoordScale_Invalid = BadEnumValue,
02897     /* old names for the same values */
02898     Scale_Linear = CoordScale_Linear,
02899     Scale_Log = CoordScale_Log,
02900     Scale_Invalid = CoordScale_Invalid
02901 } CoordScale_e;
02902 
02903 /* CORE SOURCE CODE REMOVED */
02904 
02905 typedef enum
02906 {
02907     CoordSys_Grid,
02908     CoordSys_Frame,
02909     CoordSys_FrameOffset,
02910     CoordSys_Paper,
02911     CoordSys_Screen,
02912     CoordSys_Hardcopy,
02913     CoordSys_Grid3D,
02914     END_CoordSys_e,
02915     CoordSys_Invalid = BadEnumValue
02916 } CoordSys_e;
02917 
02918 /*
02919  *  NOTE:  CoordSys_FrameOffset always is stored in inches internally.
02920  *         in stylesheet this may be written in other units if
02921  *         appropriate suffix is added.
02922  *
02923  */
02924 
02925 
02926 
02927 typedef enum
02928 {
02929     Scope_Global,
02930     Scope_Local,
02931     END_Scope_e,
02932     Scope_Invalid = BadEnumValue
02933 } Scope_e;
02934 
02935 
02936 typedef enum
02937 {