📄 tecutilo.h
字号:
LINKTOADDON void STDCALL TecUtilStringListClear(StringList_pa StringList);LINKTOADDON void STDCALL TecUtilStringListRemoveStrings(StringList_pa StringList, LgIndex_t StringNumber, LgIndex_t Count);LINKTOADDON void STDCALL TecUtilStringListRemoveString(StringList_pa StringList, LgIndex_t StringNumber);LINKTOADDON void STDCALL TecUtilStringListDealloc(StringList_pa *StringList);LINKTOADDON StringList_pa STDCALL TecUtilStringListAlloc(void);LINKTOADDON Boolean_t STDCALL TecUtilStringListAppendString(StringList_pa StringList, const char *String);LINKTOADDON LgIndex_t STDCALL TecUtilStringListGetCount(StringList_pa StringList);LINKTOADDON char * STDCALL TecUtilStringListGetString(StringList_pa StringList, LgIndex_t StringNumber);LINKTOADDON Boolean_t STDCALL TecUtilStringListSetString(StringList_pa StringList, LgIndex_t StringNumber, const char *String);LINKTOADDON Boolean_t STDCALL TecUtilStringListInsertString(StringList_pa StringList, LgIndex_t StringNumber, const char *String);LINKTOADDON StringList_pa STDCALL TecUtilStringListCopy(StringList_pa StringList);LINKTOADDON Boolean_t STDCALL TecUtilStringListAppend(StringList_pa Target, StringList_pa Source);LINKTOADDON char * STDCALL TecUtilStringListToNLString(StringList_pa StringList);LINKTOADDON StringList_pa STDCALL TecUtilStringListFromNLString(const char *String);/* * SET FUNCTIONS * */LINKTOADDON Set_pa STDCALL TecUtilSetAlloc(Boolean_t ShowErr);LINKTOADDON void STDCALL TecUtilSetDealloc(Set_pa *Set);LINKTOADDON Boolean_t STDCALL TecUtilSetCopy(Set_pa DstSet, Set_pa SrcSet, Boolean_t ShowErr);LINKTOADDON void STDCALL TecUtilSetClear(Set_pa Set);LINKTOADDON Boolean_t STDCALL TecUtilSetAddMember(Set_pa Set, SetIndex_t Member, Boolean_t ShowErr);LINKTOADDON void STDCALL TecUtilSetRemoveMember(Set_pa Set, SetIndex_t Member);LINKTOADDON Boolean_t STDCALL TecUtilSetIsMember(Set_pa Set, SetIndex_t Member);LINKTOADDON Boolean_t STDCALL TecUtilSetIsEmpty(Set_pa Set);LINKTOADDON SetIndex_t STDCALL TecUtilSetGetMemberCount(Set_pa Set);LINKTOADDON Boolean_t STDCALL TecUtilSetIsEqual(Set_pa Set1, Set_pa Set2);LINKTOADDON SetIndex_t STDCALL TecUtilSetGetMember(Set_pa Set, SetIndex_t Position);LINKTOADDON SetIndex_t STDCALL TecUtilSetGetPosition(Set_pa Set, SetIndex_t Member);LINKTOADDON SetIndex_t STDCALL TecUtilSetGetNextMember(Set_pa Set, SetIndex_t Member);#define TecUtilSetForEachMember(Member, Set) \ for (Member = TecUtilSetGetNextMember(Set, TECUTILSETNOTMEMBER); \ Member != TECUTILSETNOTMEMBER; \ Member = TecUtilSetGetNextMember(Set, Member))LINKTOADDON double STDCALL TecUtilConvertXPosition(CoordSys_e OldCoordSys, CoordSys_e NewCoordSys, double OldX);LINKTOADDON double STDCALL TecUtilConvertXDimension(CoordSys_e OldCoordSys, CoordSys_e NewCoordSys, double OldDimension);LINKTOADDON double STDCALL TecUtilConvertYPosition(CoordSys_e OldCoordSys, CoordSys_e NewCoordSys, double OldY);LINKTOADDON double STDCALL TecUtilConvertYDimension(CoordSys_e OldCoordSys, CoordSys_e NewCoordSys, double OldDimension);LINKTOADDON double STDCALL TecUtilConvertUnits(Units_e OldUnits, Units_e NewUnits, double OldSize);/* * * WARNING: ReadBinaryData can only be called if libtec.so was built WITHOUT * tecplot's memory allocation checking turned on. * */LINKTOADDON Boolean_t STDCALL TecUtilReadBinaryData(Boolean_t GetHeaderInfoOnly, /* <-activex> */ const char *FName, short *IVersion, char **DataSetTitle, EntIndex_t *NumZones, EntIndex_t *NumVars, StringList_pa *VarNames, StringList_pa *ZoneNames, LgIndex_t **NumPtsI, LgIndex_t **NumPtsJ, LgIndex_t **NumPtsK, ZoneType_e **ZoneType, StringList_pa *UserRec, Boolean_t RawDataspaceAllocated, NodeMap_t ***NodeMap, double ***VDataBase);LINKTOADDON LgIndex_t STDCALL TecUtilTecIni(const char *Title, const char *Variables, const char *FName, const char *ScratchDir, LgIndex_t *Debug, LgIndex_t *VIsDouble);LINKTOADDON LgIndex_t STDCALL TecUtilTecZne(const char *ZoneTitle, LgIndex_t *IMx, LgIndex_t *JMx, LgIndex_t *KMx, const char *ZFormat, const char *DupList);LINKTOADDON LgIndex_t STDCALL TecUtilTecDat(LgIndex_t *N, void *FieldData_Array, LgIndex_t *IsDouble);LINKTOADDON LgIndex_t STDCALL TecUtilTecNod(LgIndex_t *NData_Array);LINKTOADDON LgIndex_t STDCALL TecUtilTecEnd(void);LINKTOADDON LgIndex_t STDCALL TecUtilTecLab(const char *S);LINKTOADDON LgIndex_t STDCALL TecUtilTecUsr(const char *S);LINKTOADDON LgIndex_t STDCALL TecUtilTecFil(LgIndex_t *F);LINKTOADDON LgIndex_t STDCALL TecUtilTecTxt(double *XPos, double *YPos, LgIndex_t *PosCoordMode, LgIndex_t *AttachToZone, LgIndex_t *Zone, LgIndex_t *BFont, LgIndex_t *FontHeightUnits, double *FontHeight, LgIndex_t *BoxType, double *BoxMargin, double *BoxLineThickness, LgIndex_t *BoxColor, LgIndex_t *BoxFillColor, double *Angle, LgIndex_t *Anchor, double *LineSpacing, LgIndex_t *TextColor, LgIndex_t *Scope, const char*Text, const char*MacroFunctionCommand);LINKTOADDON LgIndex_t STDCALL TecUtilTecGeo(double *XPos, double *YPos, double *ZPos, LgIndex_t *PosCoordMode, LgIndex_t *AttachToZone, LgIndex_t *Zone, LgIndex_t *Color, LgIndex_t *FillColor, LgIndex_t *IsFilled, LgIndex_t *GeomType, LgIndex_t *LinePattern, double *PatternLength, double *LineThickness, LgIndex_t *NumEllipsePts, LgIndex_t *ArrowheadStyle, LgIndex_t *ArrowheadAttachment, double *ArrowheadSize, double *ArrowheadAngle, LgIndex_t *Scope, LgIndex_t *NumSegments, LgIndex_t *NumSegPts, float *XGeomData, float *YGeomData, float *ZGeomData, const char*MacroFunctionCommand);/* Text and Geom Functions */LINKTOADDON void STDCALL TecUtilTextGetXYPos (Text_ID TID, double *XPos, double *YPos);LINKTOADDON CoordSys_e STDCALL TecUtilTextGetPositionCoordSys (Text_ID TID);LINKTOADDON EntIndex_t STDCALL TecUtilTextGetZoneOrMap (Text_ID TID);LINKTOADDON Boolean_t STDCALL TecUtilTextIsAttached (Text_ID TID);LINKTOADDON ColorIndex_t STDCALL TecUtilTextGetColor (Text_ID TID);LINKTOADDON Font_e STDCALL TecUtilTextGetFont (Text_ID TID);LINKTOADDON double STDCALL TecUtilTextGetHeight (Text_ID TID);LINKTOADDON Units_e STDCALL TecUtilTextGetSizeUnits (Text_ID TID);LINKTOADDON TextBox_e STDCALL TecUtilTextBoxGetType (Text_ID TID);LINKTOADDON double STDCALL TecUtilTextBoxGetMargin (Text_ID TID);LINKTOADDON double STDCALL TecUtilTextBoxGetLineThickness (Text_ID TID);LINKTOADDON ColorIndex_t STDCALL TecUtilTextBoxGetColor (Text_ID TID);LINKTOADDON ColorIndex_t STDCALL TecUtilTextBoxGetFillColor (Text_ID TID);LINKTOADDON double STDCALL TecUtilTextGetAngle (Text_ID TID);LINKTOADDON TextAnchor_e STDCALL TecUtilTextGetAnchor (Text_ID TID);LINKTOADDON double STDCALL TecUtilTextGetLineSpacing (Text_ID TID);LINKTOADDON Scope_e STDCALL TecUtilTextGetScope (Text_ID TID);/* * TecUtilTextGetMacroFunctionCmd and TecUtilTextGetString return a copy * of the appropriate strings which the addon must call TecUtilStringDealloc to free. */LINKTOADDON Boolean_t STDCALL TecUtilTextGetMacroFunctionCmd (Text_ID TID, char **MacroFunctionCmd);LINKTOADDON Boolean_t STDCALL TecUtilTextGetString (Text_ID TID, char **TextString);LINKTOADDON Text_ID STDCALL TecUtilTextGetNext (Text_ID TID);LINKTOADDON Text_ID STDCALL TecUtilTextGetPrev (Text_ID TID);LINKTOADDON void STDCALL TecUtilGeomGetXYZAnchorPos(Geom_ID GID, double *XPos, double *YPos, double *ZPos);LINKTOADDON EntIndex_t STDCALL TecUtilGeomGetZoneOrMap (Geom_ID GID);LINKTOADDON Boolean_t STDCALL TecUtilGeomIsAttached (Geom_ID GID);LINKTOADDON ColorIndex_t STDCALL TecUtilGeomGetColor (Geom_ID GID);LINKTOADDON ColorIndex_t STDCALL TecUtilGeomGetFillColor (Geom_ID GID);LINKTOADDON Boolean_t STDCALL TecUtilGeomGetIsFilled (Geom_ID GID);LINKTOADDON GeomForm_e STDCALL TecUtilGeomGetType (Geom_ID GID);LINKTOADDON LinePattern_e STDCALL TecUtilGeomGetLinePattern (Geom_ID GID);LINKTOADDON double STDCALL TecUtilGeomGetPatternLength (Geom_ID GID);LINKTOADDON double STDCALL TecUtilGeomGetLineThickness (Geom_ID GID);LINKTOADDON SmInteger_t STDCALL TecUtilGeomEllipseGetNumPoints (Geom_ID GID);LINKTOADDON ArrowheadStyle_e STDCALL TecUtilGeomArrowheadGetStyle (Geom_ID GID);LINKTOADDON ArrowheadAttachment_e STDCALL TecUtilGeomArrowheadGetAttach (Geom_ID GID);LINKTOADDON double STDCALL TecUtilGeomArrowheadGetSize (Geom_ID GID);LINKTOADDON double STDCALL TecUtilGeomArrowheadGetAngle (Geom_ID GID);LINKTOADDON Scope_e STDCALL TecUtilGeomGetScope (Geom_ID GID);LINKTOADDON CoordSys_e STDCALL TecUtilGeomGetPositionCoordSys (Geom_ID GID);/* * TecUtilGeomGetMacroFunctionCmd returns a copy of the macro function * command string which the addon must call TecUtilStringDealloc to free. */LINKTOADDON Boolean_t STDCALL TecUtilGeomGetMacroFunctionCmd (Geom_ID GID, char **MacroFunctionCmd);LINKTOADDON Geom_ID STDCALL TecUtilGeomGetNext (Geom_ID GID);LINKTOADDON Geom_ID STDCALL TecUtilGeomGetPrev (Geom_ID GID);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -