📄 tecutilq.h
字号:
LgIndex_t *KMax, FieldData_pa *XVar, FieldData_pa *YVar, FieldData_pa *ZVar, NodeMap_pa *NMap, FieldData_pa *UVar, FieldData_pa *VVar, FieldData_pa *WVar, FieldData_pa *BVar, FieldData_pa *CVar, FieldData_pa *SVar);/* * TecUtilDataSetGetInfo returns a copy of the DataSetTitle * which the addon must call TecUtilStringDealloc to free. */LINKTOADDON Boolean_t STDCALL TecUtilDataSetGetInfo(char **DataSetTitle, EntIndex_t *NumZones, EntIndex_t *NumVars);LINKTOADDON Boolean_t STDCALL TecUtilDataSetRequiresSaving(void);LINKTOADDON void STDCALL TecUtilFrameGetPosAndSize(double *X, double *Y, double *Width, double *Height);LINKTOADDON Text_ID STDCALL TecUtilTextGetBase(void);LINKTOADDON Geom_ID STDCALL TecUtilGeomGetBase(void);/* * Use tecplot's "probe" capability to return field values * at a given X,Y [Z] location. * * X,Y,Z - Position to probe at. * * ICell - Address of LgIndex_t variable to return the index * of the cell the data point was found in. * If StartWithLocalCell is TRUE then this must be * preset to the I index of the starting cell to * look in. * * JCell - See ICell * KCell - See ICell * * Plane - Plane of cell where datapoint located. Ignore if * SearchVolume is TRUE. * * CurZone - Zone of cell where datapoint located. * * StartWithLocalCell - Start search in area of cell *ICell,*JCell,*KCell. * * VValue - Array of doubles the size of the number of variables in * the dataset. Must be allocated by calling function. * * NOTE2: If the frame mode is 3D and SearchVolume is FALSE, then * only X and Y are used and they are assumed to be the * X,Y coordinate in the Eye-Coordinate system. The * returned probe will be the location on the first surface * encountered in the Eye-Coordinate system. * * SourceZones - Set of zones to limit the search to. Set to NULL to search * all zones. * * SearchVolume - Set to TRUE if X,Y,Z represent datapoint inside of a 3D volume * zone. Set to FALSE to use X,Y only and a point on the surface * of a zone is returned. * * GetZoneOnly - Do minimal work necessary to update the CurZone variable only. * * GetNearestPoint Return values for the nearest grid point. This will return FALSE * if the initial probe does not fall within a cell. (Need to use * CheckScatterPoints() to get nearest datapoint if this fails). * */LINKTOADDON Boolean_t STDCALL TecUtilProbeAtPosition(double X, double Y, double Z, LgIndex_t *ICell, LgIndex_t *JCell, LgIndex_t *KCell, IJKPlanes_e *Plane, EntIndex_t *CurZone, Boolean_t StartWithLocalCell, double *VValue_Array, Set_pa SourceZones, Boolean_t SearchVolume, Boolean_t GetZoneOnly, Boolean_t GetNearestPoint); LINKTOADDON Boolean_t STDCALL TecUtilZoneGetEnabled(Set_pa *EnabledZones);LINKTOADDON Boolean_t STDCALL TecUtilVarGetEnabled(Set_pa *EnabledVars);LINKTOADDON Boolean_t STDCALL TecUtilZoneGetActive(Set_pa *ActiveZones);LINKTOADDON Boolean_t STDCALL TecUtilXYMapGetActive(Set_pa *ActiveXYMaps);LINKTOADDON void STDCALL TecUtilXYMapGetAssignment(EntIndex_t XYMap, EntIndex_t *Zone, EntIndex_t *XAxisVar, EntIndex_t *YAxisVar, SmInteger_t *XAxis, SmInteger_t *YAxis, FunctionDependency_e *FunctionDependency);LINKTOADDON Boolean_t STDCALL TecUtilZoneIsFiniteElement(EntIndex_t Zone);LINKTOADDON Boolean_t STDCALL TecUtilZoneIsOrdered(EntIndex_t Zone);LINKTOADDON ZoneType_e STDCALL TecUtilZoneGetType(EntIndex_t Zone);LINKTOADDON double STDCALL TecUtilDataValueGetByZoneVar(EntIndex_t Zone, EntIndex_t Var, LgIndex_t PointIndex);LINKTOADDON FieldData_pa STDCALL TecUtilDataValueGetRef(EntIndex_t Zone, EntIndex_t Var);LINKTOADDON NodeMap_pa STDCALL TecUtilDataNodeGetRef(EntIndex_t Zone);LINKTOADDON FaceNeighbor_pa STDCALL TecUtilDataFaceNbrGetRef(EntIndex_t Zone);LINKTOADDON FieldDataType_e STDCALL TecUtilDataValueGetRefType(FieldData_pa FieldData);LINKTOADDON Boolean_t STDCALL TecUtilImportGetLoaderInstr(char **DataSetReaderName, StringList_pa *DataSetLoaderInstructions);LINKTOADDON Boolean_t STDCALL TecUtilDialogMessageBox(const char *Message, MessageBoxType_e MessageBoxType);LINKTOADDON Boolean_t STDCALL TecUtilDialogGetIndexRange(LgIndex_t MaxRangeValue, LgIndex_t *Min, LgIndex_t *Max, LgIndex_t *Skip);LINKTOADDON Boolean_t STDCALL TecUtilDialogGetVariables(const char *Instructions, const char *TextField1Label, const char *TextField2Label, const char *TextField3Label, EntIndex_t *Var1, EntIndex_t *Var2, EntIndex_t *Var3);/* * Set DefaultText to NULL if you want the default text * to be blank. * * Extra care her is taken to isolate tecplot internal * method for allocating memory from addon program. * The AddOn calling function MUST call TecUtilStringDealloc * to free the resulting text. */LINKTOADDON Boolean_t STDCALL TecUtilDialogGetSimpleText(const char *Instructions, const char *DefaultText, char **Text);LINKTOADDON void STDCALL TecUtilTextBoxGetPosition(Text_ID T, double *X1, double *Y1, double *X2, double *Y2, double *X3, double *Y3, double *X4, double *Y4);#endifLINKTOADDON Boolean_t STDCALL TecUtilMacroFunctionExists(const char *FunctionName);LINKTOADDON Boolean_t STDCALL TecUtilMacroIsBatchModeActive(void);LINKTOADDON void STDCALL TecUtilInterfaceGetDotsPerInch(double *VDotsPerInch, double *HDotsPerInch);LINKTOADDON int STDCALL TecUtilInterfaceGetBaseFontSize(void);LINKTOADDON double STDCALL TecUtilDataValueGetByRef(FieldData_pa FieldData, LgIndex_t PointIndex);LINKTOADDON void STDCALL TecUtilDataValueGetMinMaxByRef(FieldData_pa FieldData, double *Min, double *Max);LINKTOADDON LgIndex_t STDCALL TecUtilDataNodeGetByZone(EntIndex_t Zone, LgIndex_t Element, LgIndex_t Corner);LINKTOADDON LgIndex_t STDCALL TecUtilDataNodeGetByRef(NodeMap_pa NodeMapPtr, LgIndex_t Element, LgIndex_t Corner);LINKTOADDON LgIndex_t STDCALL TecUtilDataFaceNbrGetByZone(EntIndex_t Zone, LgIndex_t Element, LgIndex_t Face);LINKTOADDON LgIndex_t STDCALL TecUtilDataFaceNbrGetByRef(FaceNeighbor_pa FNPtr, LgIndex_t Element, LgIndex_t Face);LINKTOADDON EntIndex_t STDCALL TecUtilXYMapGetCount (void);LINKTOADDON Boolean_t STDCALL TecUtilMacroIsRecordingActive (void);LINKTOADDON LgIndex_t STDCALL TecUtilLimitGetValue(const char *LimitString);LINKTOADDON Boolean_t STDCALL TecUtilDataSetIsAvailable (void);LINKTOADDON Boolean_t STDCALL TecUtilVarIsEnabled (EntIndex_t Var);LINKTOADDON Boolean_t STDCALL TecUtilZoneIsEnabled (EntIndex_t Zone);LINKTOADDON Boolean_t STDCALL TecUtilZoneIsActive (EntIndex_t Zone);LINKTOADDON Boolean_t STDCALL TecUtilXYMapIsActive(EntIndex_t XYMap);LINKTOADDON Boolean_t STDCALL TecUtilGetTempFileName(char **TempFileName);LINKTOADDON void STDCALL TecUtilColorMapGetBasicColorRGB(ColorIndex_t BasicColor, ColorIndex_t *Red, ColorIndex_t *Green, ColorIndex_t *Blue );LINKTOADDON LgIndex_t STDCALL TecUtilColorMapNumBasicColors(void);LINKTOADDON Boolean_t STDCALL TecUtilAutoRedrawIsActive(void);/* CORE SOURCE CODE REMOVED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -