Link Search Menu Expand Document

Project Interface

bool enuLoadProjectFile(wchar_t* pStrFileName)
HPROJECT enuCreateProject()
void enuDestoryProject(HPROJECT pProject)
bool enuSetActiveProject(HPROJECT pHANDLE)
HPROJECT enuGetActiveProject()
void enuSetWidgetProject()
bool enuSaveProjectFile()
bool enuCloseProjectFile()
wchar_t* enuGetProjectName()
wchar_t* enuGetProjectFullName()
wchar_t* enuGetProjectPath()
wchar_t* enuGetProjectType()
void enuSetProjectName(wchar_t* projectname)
void enuSetModifyProject(bool bFlag)
bool enuGetModifyProject()

Operation Interface

Script Operation Interface

void enuSetScriptOperationMode(bool bFlag)
bool enuGetScriptOperationMode()
void enuSetHMIScriptUpdateTime(int iMiliSecond)

Edit Operation Interface

void enuSetEditOperationMode(HVIEW pENUView, bool bFlag)
bool enuGetEditOperationMode(HVIEW pENUVie)

Mouse Interface

void enuSetLButtonDownCallBack(HVIEW pENUView, void functioncb(float, float) )
void enuSetLButtonUpCallBack(HVIEW pENUView, void functioncb(float, float) )
void enuSetRButtonDownCallBack(HVIEW pENUView, void functioncb(float, float) )
void enuSetRButtonUpCallBack(HVIEW pENUView, void functioncb(float, float) )
void enuSetMButtonDownCallBack(HVIEW pENUView, void functioncb(float, float) )
void enuSetMButtonUpCallBack(HVIEW pENUView, void functioncb(float, float) )
void enuSetMouseMoveCallBack(HVIEW pENUView, void functioncb(float, float) )
void enuSetMouseWheelCallBack(HVIEW pENUView, void functioncb(float, float, float) )
void enuSetLButtonDblClkCallBack(HVIEW pENUView, void functioncb(float, float) )
void enuOnMouseWheel(HVIEW pENUView, UINT nFlags, short zDelta, CPoint pt)
POINTF enuGetLocalPosition(HVIEW pENUView, POINT point)
POINT enuGetCursorPos()
void enuSetDefaultWheelControl(HVIEW pENUView, bool bDefault)

View Interface

void enuActivateView(HVIEW pENUView)
void enuDeactivateView(HVIEW pENUView)
void enuSetRenderObjectPreReset(HVIEW pENUView)
void enuSetRenderObjectReset(HVIEW pENUView)

File IO Interface

HSVG enuLoadSvgPageFile(wchar_t* pStrFileName)
HSVG enuLoadSvgHmiFile(wchar_t* pStrFileName)
HSVG enuLoadSvgLogicFile(wchar_t* pStrFileName)
HSVG enuLoadSvgResourceFile(wchar_t* pStrFileName)
HSVG enuLoadSvgGlobalFile(wchar_t* pStrFileName)
HSVG enuNewSvgPageFile(wchar_t* pStrFileName)
HSVG enuNewSvgHmiFile(wchar_t* pStrFileName)
HSVG enuNewSvgLogicFile(wchar_t* pStrFileName)
HSVG enuNewSvgGlobalFile(wchar_t* pStrFileName)
HSVG enuNewSvgResourceFile(wchar_t* pStrFileName)
bool enuSaveAsSvgPageFile(wchar_t* strTaget, wchar_t* strSource)
bool enuSaveAsSvgHmiFile(wchar_t* strTaget, wchar_t* strSource)
bool enuSaveAsSvgLogicFile(wchar_t* strTaget, wchar_t* strSource)
bool enuSaveAsSvgGlobalFile(wchar_t* strTaget, wchar_t* strSource)
bool enuSaveAsSvgResourceFile(wchar_t* strTaget, wchar_t* strSource)
bool enuSaveSvgFile(HSVG pSvgHandler, wchar_t* strFileName= L””)
bool enuDeleteSvgPageFile(wchar_t* pStrFileName)
bool enuDeleteSvgHmiFile(wchar_t* pStrFileName)
bool enuDeleteSvgLogicFile(wchar_t* pStrFileName)
bool enuDeleteSvgResourceFile(wchar_t* pStrFileName)
bool enuDeleteSvgGlobalFile(wchar_t* pStrFileName)
bool enuExportWebStyleSvg(wchar_t* strTaget, wchar_t* strSource)
void enuSetAutoSaveMode(bool bAuto)

File handle Interface

HSVG enuGetPageClass(wchar_t* pStrFileName)
HSVG enuGetSvgPageClass(wchar_t* pStrFileName)
HSVG enuGetLogicClass(wchar_t* pStrFileName)
HSVG enuGetHmiClass(wchar_t* pStrFileName)
HSVG enuGetGlobalClass(wchar_t* pStrFileName)
HSVG enuGetResourceClass(wchar_t* pStrFileName)
void* enuGetPageList()
void* enuGetHmiList()
void* enuGetLogicList()
void* enuGetGlobalList()
void* enuGetResourceList()
bool enuGetModifyPage(wchar_t* pStrFilename)
bool enuGetModifyHmi(wchar_t* pStrFilename)
bool enuGetModifyLogic(wchar_t* pStrFilename)
bool enuGetModifyGlobal(wchar_t* pStrFilename)
bool enuGetModifyResource(wchar_t* pStrFilename) bool enuSetPageProperty(void_t* pPage, wchar_t* pAttribute, wchar_t* pValue) bool enuSetLogicProperty(HSVG pSvg, wchar_t* pAttribute, wchar_t* pValue) bool enuSetHmiProperty(HSVG pSvg, wchar_t* pAttribute, wchar_t* pValue) bool enuSetGlobalProperty(HSVG pSvg, wchar_t* pAttribute, wchar_t* pValue) bool enuSetResourceProperty(HSVG pSvg, wchar_t* pAttribute, wchar_t* pValue)

Library Interface

bool enuLogicCreateSymbolNode(wchar_t* pStrFilename, wchar_t* pStrSymbol)
bool enuLogicCreateSymbolLink(wchar_t* pStrFilename, wchar_t* pStrSymbol)
bool enuHmiCreateSymbol(wchar_t* pStrFilename, wchar_t* pStrSymbol)
bool enuResourceCreateStyle(wchar_t* pStrFilename, wchar_t* pStrStyle)
bool enuDeleteLogicSymbol(wchar_t* pStrFilename, wchar_t* pStrSymbol)
bool enuDeleteHmiSymbol(wchar_t* pStrFilename, wchar_t* pStrSymbol)
wchar_t* enuLogicGetSymbolType(wchar_t* pStrFilename, wchar_t* pStrSymbol)
void* enuGetHmiSymbolList(wchar_t* pStrFilename)
void* enuGetLogicSymbolList(wchar_t* pStrFilename)

Global Interface

bool enuAddGlobalStruct(wchar_t* pStrFileName, wchar_t* pStrStructName, CPtrList* pItem)
void* enuGetGlobalPgStructList(wchar_t* pStrFileName)
void* enuGetGlobalVariableList(wchar_t* pStrFileName)
void* enuGetGlobalPgAttributeList(wchar_t* pStrFileName, wchar_t* pStrStructName)
HNODE enuGetGlobalVariableNode(wchar_t* pStrVariable)
bool enuAddGlobalVariable(wchar_t* pStrFileName, wchar_t* pStrType, wchar_t* strVariable, wchar_t* strInitValue=L””, wchar_t* strDescription=L””)
bool enuDeleteGlobalVariable(wchar_t* pStrFileName, wchar_t* strVariable)
bool enuModifyGlobalVariable(wchar_t* pStrFileName, wchar_t* strVariable, wchar_t* strNewType, wchar_t* strNewVariable, wchar_t* strNewDescription)
bool enuDeleteGlobalStruct(wchar_t* pStrFileName, wchar_t* strStruct)
bool enuModifyGlobalStruct(wchar_t* pStrFileName, wchar_t* strStruct, wchar_t* strNewStruct, CPtrList* pItem)
void enuReloadPicture(HVIEW pENUView)
bool enuIsModifyPage(HVIEW pENUView)

Window Interface

void enuSetZoomScale(HVIEW pENUView, float fPercent)
float enuGetZoomScale(HVIEW pENUView)
float enuGetCanvasWidth(HVIEW pENUView)
float enuGetCanvasHeight(HVIEW pENUView)
void enuSetCanvasSize(HVIEW pENUView, float cx, float cy)
void enuSetMoveCanvas(HVIEW pENUView, float transx, float transy)
void enuGetMoveCanvas(HVIEW pENUView, float* transx, float* transy)
void enuSetCanvasColor(HVIEW pENUView, byte iR, byte iG, byte iB)
void enuSetWindowColor(HVIEW pENUView, byte iR, byte iG, byte iB)
bool enuSelConnectionPin(HVIEW pENUView, wchar_t* strPicture, wchar_t* strSymbol)
bool enuIsEnableConnectionPin(HVIEW pENUView)

Symbol Interface

float enuGetSymbolWidth(HVIEW pENUView, wchar_t* strSymbol)
float enuGetSymbolHeight(HVIEW pENUView, wchar_t* strSymbol)
void enuSetSymbolSize(HVIEW pENUView, wchar_t* strSymbol, float fWidth, float fHeight)

Edit Interface

void enuSetSelectToolBar(int iSel)
void enuSetCallBackSelectToolBar(void fcbSelectToolBar(int))
void enuSetCallBackSelectEvent(void fcbSelectObject(CPtrList*, void*))
void enuSetCallBackDebugMessage(void fcbDebugMessage(wchar_t*))
bool enuIsEnablePaste()
bool enuIsSelectObject(HVIEW pENUView)
void enuSetSelectFontname(HVIEW pENUView, wchar_t* strFontName)
void enuSetSelectFontsize(HVIEW pENUView, float fSize)
void enuSetSelectFontcolor(HVIEW pENUView, wchar_t* strFontColor)
void enuSetSelectFontIncrease(HVIEW pENUView)
void enuSetSelectFontDecrease(HVIEW pENUView)
void enuSetSelectFontBold(HVIEW pENUView, bool bFlag)
void enuSetSelectFontItalic(HVIEW pENUView, bool bFlag)
void enuSetSelectFontUnderline(HVIEW pENUView, bool bFlag)
void enuSetSelectFontStrikethough(HVIEW pENUView, bool bFlag)
void enuSetSelectFontSubscript(HVIEW pENUView, bool bFlag)
void enuSetSelectFontSuperscript(HVIEW pENUView, bool bFlag)
void enuSetSelectFontHilight(HVIEW pENUView, bool bFlag)
bool enuIsSelectFontBold(HVIEW pENUView)
bool enuIsSelectFontItalic(HVIEW pENUView)
bool enuIsSelectFontUnderline(HVIEW pENUView)
bool enuIsSelectFontStrikethough(HVIEW pENUView)
bool enuIsSelectFontSubscript(HVIEW pENUView)
bool enuIsSelectFontSuperscript(HVIEW pENUView)
void enuSetSelectFillcolor(HVIEW pENUView, wchar_t* strColor)
void enuSetSelectFillOpacity(HVIEW pENUView, wchar_t* strOpacity)
void enuSetSelectLinecolor(HVIEW pENUView, wchar_t* strColor)
void enuSetSelectLineOpacity(HVIEW pENUView, wchar_t* strOpacity)
void enuSetSelectLineWidth(HVIEW pENUView, float fWidth)
void enuSetSelectLineDashes(HVIEW pENUView, wchar_t* strDashes)
void enuSetSelectAlign(HVIEW pENUView, int iType)
void enuSetSelectRotation(HVIEW pENUView, float fAngle)
void enuSetSelectFlip(HVIEW pENUView, int iType)
HNODE enuGetSelectSingleObject(HVIEW pENUView)
void enuSetSelectAll(HVIEW pENUView)
bool enuSetSelectObject(HVIEW pENUView, wchar_t* strSelectID)
void enuSetFindObjectCallBack(void fcbFindMessage(HNODE, int, wchar_t*, wchar_t*), wchar_t* pStrSearch, bool bMatchCase, bool bWholeWord)
wchar_t* enuGetPrevPageName(wchar_t* pStrFileName)
wchar_t* enuGetNextPageName(wchar_t* pStrFileName)
void enuSetSelectZOrder(HVIEW pENUView, int iType)
void enuSetSelectGroup(HVIEW pENUView)
void enuSetSelectUnGroup(HVIEW pENUView)
void enuMoveObjectUp(HVIEW pENUView)
void enuMoveObjectDown(HVIEW pENUView)
void enuMoveObjectLeft(HVIEW pENUView)
void enuMoveObjectRight(HVIEW pENUView)
void enuSetEditCopy(HVIEW pENUView)
void enuSetEditCut(HVIEW pENUView)
void enuSetEditPaste(HVIEW pENUView)
void enuSetEditLock(HVIEW pENUView)
void enuSetEditUnLock(HVIEW pENUView)
void enuSetEditUndo(HVIEW pENUView)
void enuSetEditRedo(HVIEW pENUView)
bool enuIsEditUndo(HVIEW pENUView)
bool enuIsEditRedo(HVIEW pENUView)

Runtime Interface

void enuSetCallBackAddTable( void fcbAddTable(HNODE) )
HSVG enuNewSvgExternalPageFile(wchar_t* pFileName)
HSVG enuLoadSvgExternalPageFile(wchar_t* pFileName)
bool enuDeleteSvgExternalPageFile(wchar_t* pFileName)
bool enuSetSvgExternalPageView(HVIEW pENUView, HSVG pSvg)
bool enuShowRuntimeView(HWND hWnd)
void enuDestoryRuntimeView()
bool enuIsRuntimeView()
void enuChangePicture(wchar_t* strWindow, wchar_t* strPicName)
void enuChangePictureAsync(wchar_t* strWindow, wchar_t* strPicName)
void enuSaveImageToFile(HVIEW pENUView, wchar_t* strFileName, wchar_t* strFileType)
void enuSetModifyUseHref(wchar_t* strSrcId, wchar_t* strNewId)
bool enuGetWindowSize(wchar_t* strWindowID, RECT* rect)
bool enuSetWindowSize(wchar_t* strWindowID, int x, int y, int width, int height)
bool enuRegisterFunction(wchar_t* strFunction, int (*pfunc)(lua_State* L))
bool enuDeleteFunction(wchar_t* strFunction, int (*pfunc)(lua_State* L))

HVIEW enuGetWindowView(wchar_t* strWindowID)

View Interface

HVIEW enuCreateView(HWND hWnd)
void enuDestoryView(HVIEW pENUView)
void enuSetViewID(HVIEW pENUView, wchar_t* strID)
void enuSetComponentMode(HVIEW pView, bool bOper)
void enuUpdateScreen(HVIEW pENUView)
void enuInvalidateView(HVIEW pENUView)
bool enuSetLogicComponent(HVIEW pENUView, wchar_t* pStrFileName, wchar_t* pStrSymbol)
bool enuSetHmiComponent(HVIEW pENUView, wchar_t* pStrFileName, wchar_t* pStrSymbol) bool enuSetSvgView(HVIEW pENUView, HSVG_t* pSvg)
bool enuSetSvgPageView(HVIEW pENUView, wchar_t* pStrFileName)
bool enuSetSvgHmiView(HVIEW pENUView, wchar_t* pStrFileName)
bool enuSetSvgLogicView(HVIEW pENUView, wchar_t* pStrFileName)
HSVG enuGetSvgHandler(HVIEW pENUView)
void enuSetWindowPos(HVIEW pENUView, int x, int y, int cx, int cy)
void enuSetWindowCenter(HVIEW pENUView)

Object Interface

void enuSetSymbolValue(HSVG pSvgHandler, wchar_t* pStrVariable, wchar_t* pStrValue)
void enuSetSymbolValueByNode(HSVG pSvgHandler, HNODE pNode, wchar_t* pStrVariable, wchar_t* pStrValue)
void enuSetGlobalValue(HSVG pSvgHandler, wchar_t* pStrVariable, wchar_t* pStrValue)
void enuDeleteObjectByName(HSVG pSvgHandler, wchar_t* pStrVariable)
void enuDeleteObjectByNode(HSVG pSvgHandler, HNODE pTarget)
void enuDeleteUseObjectByHref(HSVG pSvgHandler, wchar_t* pStrHref)
void enuDeleteAllObject(HSVG pSvgHandler)
void enuSetAttribute(HSVG pSvgHandler, wchar_t* pStrVariable, wchar_t* pStrValue)
void enuSetAttributeByNode(HSVG pSvgHandler, HNODE pObject, wchar_t* pStrVariable, wchar_t* pStrValue)
bool enuSetAttributeByNodeSync(HSVG pSvgHandler, HNODE pObject, wchar_t* pStrVariable, wchar_t* pStrValue, bool bHistory=false, bool bScript=false)
void enuGetAttributeByNode(HSVG pSvgHandler, HNODE pObject, wchar_t* pStrVariable, VariableStruct* pData)
HNODE enuAddTrendSeriesByNode(HSVG pSvgHandler, HNODE TrendNode, wchar_t* strSeriesID)
void enuSetUseInterfaceByNode(HSVG pSvgHandler, HNODE pUse, wchar_t* strVariable, wchar_t* strValue)
void enuSetUseInterface(HSVG pSvgHandler, wchar_t* strVariable, wchar_t* strValue)
HNODE enuGetObjectById(HSVG pSvgHandler, wchar_t* objectid)
HNODE enuGetDefsSymbolById(HSVG pSvgHandler, wchar_t* objectid) HNODE enuCreateLine(HSVG pSvgHandler, wchar_t* strID, float x1, float y1, float x2, float y2, float transx, float transy)
HNODE enuCreatePolyline(HSVG pSvgHandler, wchar_t* strID, wchar_t* strPoints, float transx, float transy)
HNODE enuCreatePolygon(HSVG pSvgHandler, wchar_t* strID, wchar_t* strPoints, float transx, float transy)
HNODE enuCreateCircle(HSVG pSvgHandler, wchar_t* strID, float r, float cx, float cy, float transx, float transy)
HNODE enuCreateEllipse(HSVG pSvgHandler, wchar_t* strID, float rx, float ry, float cx, float cy, float transx, float transy)
HNODE enuCreateRect(HSVG pSvgHandler, wchar_t* strID, float x, float y, float width, float height, float transx, float transy)
HNODE enuCreateText(HSVG pSvgHandler, wchar_t* strID, float x, float y, float dx, float dy, wchar_t* text, float transx, float transy)
HNODE enuCreateImage(HSVG pSvgHandler, wchar_t* strID, float x, float y, float width, float height, wchar_t* xlink_href, float transx, float transy)
HNODE enuCreateTrend(HSVG pSvgHandler, wchar_t* strID, float x, float y, float width, float height, float transx, float transy)
HNODE enuCreatePath(HSVG pSvgHandler, wchar_t* strID, wchar_t* pStrValue, float transx, float transy)
HNODE enuCreateUse(HSVG pSvgHandler, wchar_t* strID, float x, float y, wchar_t* xlink_href, wchar_t* strType, float transx = 0, float transy = 0)
void enuCreateLineAsync(HSVG pSvgHandler, wchar_t* strID, float x1, float y1, float x2, float y2, float transx, float transy)
void enuCreatePolylineAsync(HSVG pSvgHandler, wchar_t* strID, wchar_t* strPoints, float transx, float transy)
void enuCreatePolygonAsync(HSVG pSvgHandler, wchar_t* strID, wchar_t* strPoints, float transx, float transy)
void enuCreateCircleAsync(HSVG pSvgHandler, wchar_t* strID, float r, float cx, float cy, float transx, float transy)
void enuCreateEllipseAsync(HSVG pSvgHandler, wchar_t* strID, float rx, float ry, float cx, float cy, float transx, float transy)
void enuCreateRectAsync(HSVG pSvgHandler, wchar_t* strID, float x, float y, float width, float height, float transx, float transy)
void enuCreateTextAsync(HSVG pSvgHandler, wchar_t* strID, float x, float y, float dx, float dy, wchar_t* text, float transx, float transy)
void enuCreateImageAsync(HSVG pSvgHandler, wchar_t* strID, float x, float y, float width, float height, wchar_t* xlink_href, float transx, float transy)
void enuCreateTrendAsync(HSVG pSvgHandler, wchar_t* strID, float x, float y, float width, float height, float transx, float transy)
void enuCreatePathAsync(HSVG pSvgHandler, wchar_t* strID, wchar_t* pStrValue, float transx, float transy)
void enuCreateUseAsync(HSVG pSvgHandler, wchar_t* strID, float x, float y, wchar_t* xlink_href, wchar_t* strType, float transx, float transy)
void enuSetEditDelete(HVIEW pENUView)
void enuSetEditDeleteAsync(HVIEW pENUView)
void enuExecuteString(wchar_t* pStrPageName, wchar_t* pStrEvent)
void enuSetVariableValue(HSVG pSvgHandler, wchar_t* strVariable, wchar_t* strValue)
HNODE enuCreateUseAtView(HVIEW pENUView, float transx, float transy, wchar_t* xlink_href, wchar_t* strType)
HNODE enuCreateImageAtView(HVIEW pENUView, wchar_t* strID, float x, float y, float width, float height, wchar_t* xlink_href, float transx, float transy)
HNODE enuDuplicateLogicSymbol(wchar_t* strPicture, wchar_t* strSymbol)
HNODE enuDuplicateHmiSymbol(wchar_t* strPicture, wchar_t* strSymbol)
void enuSetUseAttribute_interface(HSVG pSvgHandler, HNODE pNode, wchar_t* strValue)
void enuSetUseAttribute_interface_id(HSVG pSvgHandler, HNODE pNode, wchar_t* strValue)
void enuGetVariablePointer(HSVG pSvgHandler, wchar_t* pStrVariable, VariableStruct* pData)
void enuSetReShapeArrayValue(wchar_t* pVariable, void* fValue, int iType, int iSize)
bool enuSetModifySymbolAccept(wchar_t* strPicture, wchar_t* strSymbol, int iFileType)

Script Interface

void enuExecuteFunction(HSVG pSvgHandler, wchar_t* strFunction)
void enuExecuteFunctionByNode(HSVG pSvgHandler, HNODE pNode, wchar_t* strFunction)
void enuSetLuaScriptByNode(HSVG pSvgHandler, HNODE pNode, wchar_t* strFunction, wchar_t* strScript)
void enuSetJavaScriptByNode(HSVG pSvgHandler, HNODE pNode, wchar_t* strFunction, wchar_t* strScript)
bool enuRegisterLuaScript(wchar_t* pStrScript)
wchar_t* enuExecuteLuaScript(wchar_t* pStrExecute)
bool enuRegisterJavaScript(wchar_t* pStrScript)
wchar_t* enuExecuteJavaScript(wchar_t* pStrExecute)
void enuRegisterLuaScriptById(wchar_t* strPagename, wchar_t* strID, wchar_t* strFunction, wchar_t* strScript)
void enuRegisterJavaScriptById(wchar_t* strPagename, wchar_t* strID, wchar_t* strFunction, wchar_t* strScript)
void enuRegisterLuaScriptByNode(wchar_t* strPagename, HNODE pNode, wchar_t* strFunction, wchar_t* strScript)
void enuRegisterJavaScriptByNode(wchar_t* strPagename, HNODE pNode, wchar_t* strFunction, wchar_t* strScript)

Widget Interface

HVIEW enuCreateWidget(HWND hWnd)
void enuDestoryWidget(HVIEW pView)
bool enuSetWidgetSize(HVIEW pENUView, int x, int y, int width, int height)
HNODE enuCreateUseWidget(HVIEW pENUView, float transx, float transy, wchar_t* xlink_href, wchar_t* strType)
HNODE enuCreateImageWidget(HVIEW pENUView, wchar_t* xlink_href)
HNODE enuCreateTrendWidget(HVIEW pENUView, float x, float y, float width, float height, float transx, float transy, float angle)
void enuWidgetFunctionByNode(HVIEW pENUView, HNODE pNode, wchar_t* strFunction)

Runtime Interface

void enuShowDebugMessage(bool bShow)
void enuSetRuntimeMode(bool bRunTime)
void enuOpenWindow(wchar_t* strWindow, float posX, float posY, wchar_t* strHref)
void enuCloseWindow(wchar_t* strWindow)
void enuMoveWindow(wchar_t* strWindow, float posX, float posY)
void enuSetRuntimeView(HVIEW pENUView, bool bRuntime)
void* enuCreatePopupTrend(int iType, wchar_t* strVariables, int x = 0, int y = 0, int width = 0, int height = 0)
void enuDestoryPopupTrend(void* pTrend)

DataBase Interface

void enuSetDBGeneration()
void enuShowTagList()
void enuShowDeviceList()
void enuSelectObjectListClear(HVIEW pENUView)
void enuAddSelectObjectByNode(HVIEW pENUView, HNODE hNode)

Configuration Interface

wchar_t* enuGetConfiguration(wchar_t* pAttribute)
bool enuSetConfiguration(wchar_t* pAttribute, wchar_t* pValue)
void enuShowUserList()

Communication Interface

bool enuIsWebServerStart()
bool enuIsEnuServerStart()
void enuWebServerStart()
void enuWebServerStop()
void enuLinkServerStart()
void enuLinkServerStop()
void enuSendNetData(wchar_t* system, char* data, int length)
void enuRecvNetData(void functioncb(wchar_t* system, char* buffer, int length))

Media Interface

void enuPlaySoundX(wchar_t* wavfilename)
void enuStopSoundX(wchar_t* wavfilename)
void enuSetVolumeX(int iVolume)

Task Operation Interface

void enuSetTaskOperationMode(int iMode, int iStep)
bool enuAddTask(wchar_t* pStrTaskID, wchar_t* pStrTaskModule, wchar_t* pStrCycle)
bool enuRemoveTask(wchar_t* pStrTaskID)
wchar_t* enuGetTaskList()
TaskStruct* enuGetTaskProperty(wchar_t* pStrTaskID)
bool enuSetTaskProperty(wchar_t* pStrTaskID, wchar_t* pStrProp, wchar_t* pStrValue)
void enuSetSnapFile(wchar_t* strFilename)
void enuSetResetFile(wchar_t* strFilename)
__int64 enuGetCurrentTime()

3D Interface

View Interface

HVIEW enuCreate3DView(HWND hWnd)
bool enuSetX3dPageView(HVIEW pENUView, wchar_t* pStrFileName)
HX3D enuGetX3DHandler(HVIEW pENUView)

File IO Interface

HX3D enuNewX3DPageFile(wchar_t* pStrFileName)
HSVG enuLoadX3DPageFile(wchar_t* pStrFileName)
bool enuSaveX3DFile(HX3D pX3DHandler, wchar_t* strFileName = L””)
bool enuDeleteX3dPageFile(wchar_t* pStrFileName)

File handle Interface

HX3D enuGetX3dPageClass(wchar_t* pStrFileName)

Edit Interface

void enuSetCallBackSelectEvent3D(void fcbSelectObject(CPtrList*, void*))
void enuSetSelectDiffuseColor(HVIEW pENUView, wchar_t* strColor)
void enuSetSelectEmissiveColor(HVIEW pENUView, wchar_t* strColor)
void enuSetSelectSpecularColor(HVIEW pENUView, wchar_t* strColor)
void enuSetSelect3DToolBar(int iSel)
void enuSetCallBackSelect3DToolBar(void fcbSelectToolBar(int))

Window Interface

void enuSetMove3DCanvas(HVIEW pENUView, float transx, float transy, float transz)

Object Interface

HNODE enuCreate3DSphere(HX3D pX3DHandler, wchar_t* strID, float radius, float slices, float transx, float transy, float transz)
HNODE enuCreate3DCone(HX3D pX3DHandler, wchar_t* strID, float bottomRadius, float height, float slices, float transx, float transy, float transz)
HNODE enuCreate3DBox(HX3D pX3DHandler, wchar_t* strID, float size, float transx, float transy, float transz)
HNODE enuCreate3DText(HX3D pX3DHandler, wchar_t* strID, wchar_t* strString, wchar_t* strValue, float fontSize, float transx, float transy, float transz)
HNODE enuCreate3DInline(HX3D pX3DHandler, wchar_t* strID, wchar_t* strUrl, float transx, float transy, float transz)
HNODE enuCreate3DLineSet(HX3D pX3DHandler, wchar_t* strID, wchar_t* strPoints, float transx, float transy, float transz)
HNODE enuCreate3DFaceSet(HX3D pX3DHandler, wchar_t* strID, wchar_t* strPoints, wchar_t* strVectors, float transx, float transy, float transz)
HNODE enuCreate3DCylinder(HX3D pX3DHandler, wchar_t* strID, float height, float radius, float slices, float transx, float transy, float transz)
HNODE enuCreate3DTerrain(HX3D pX3DHandler, wchar_t* strID, float size, float subdivision, float transx, float transy, float transz)
void enuCreate3DSphereAsync(HX3D pX3DHandler, wchar_t* strID, float radius, float slices, float transx, float transy, float transz)
void enuCreate3DConeAsync(HX3D pX3DHandler, wchar_t* strID, float bottomRadius, float height, float slices, float transx, float transy, float transz)
void enuCreate3DBoxAsync(HX3D pX3DHandler, wchar_t* strID, float size, float transx, float transy, float transz)
void enuCreate3DTextAsync(HX3D pX3DHandler, wchar_t* strID, wchar_t* strString, wchar_t* strValue, float fontSize, float transx, float transy, float transz)
void enuCreate3DInlineAsync(HX3D pX3DHandler, wchar_t* strID, wchar_t* strUrl, float transx, float transy, float transz)
void enuCreate3DLineSetAsync(HX3D pX3DHandler, wchar_t* strID, wchar_t* strPoints, float transx, float transy, float transz)
void enuCreate3DFaceSetAsync(HX3D pX3DHandler, wchar_t* strID, wchar_t* strPoints, wchar_t* strVectors, float transx, float transy, float transz)
void enuCreate3DCylinderAsync(HX3D pX3DHandler, wchar_t* strID, float height, float radius, float slices, float transx, float transy, float transz)
void enuCreate3DTerrainAsync(HX3D pX3DHandler, wchar_t* strID, float size, float subdivision, float transx, float transy, float transz)
void enuSetAttribute3DByNode(HX3D pX3DHandler, HNODE pObject, wchar_t* pStrVariable, wchar_t* pStrValue)
void enuSetAttribute3DByNodeSync(HX3D pX3DHandler, HNODE pObject, wchar_t* pStrVariable, wchar_t* pStrValue, bool bHistory, bool bScript)
void enuGetAttribute3DByNode(HX3D pX3DHandler, HNODE pObject, wchar_t* pStrVariable, VariableStruct* pData)
void enuSetAttribute3D(HX3D pX3DHandler, wchar_t* pStrVariable, wchar_t* pStrValue)
HNODE enuGet3DObjectById(HX3D pX3DHandler, wchar_t* objectid)
HNODE enuGetAppearanceFromShape(HX3D pX3DHandler, HNODE node)
HNODE enuGetGeometryFromShape(HX3D pX3DHandler, HNODE node)
HNODE enuGetMaterialFromAppearance(HX3D pX3DHandler, HNODE node)
HNODE enuGetMaterialFromGeometry(HX3D pX3DHandler, HNODE node)
HNODE enuGetTransformFromGeometry(HX3D pX3DHandler, HNODE node)
HNODE enuGetCoordinateFromIndexedFaceSet(HX3D pX3DHandler, HNODE node)
HNODE enuGetCoordinateFromLineSet(HX3D pX3DHandler, HNODE node)
HNODE enuGetShapeFromGeometry(HX3D pX3DHandler, HNODE node)
void enuDelete3DObjectByNode(HX3D pX3DHandler, HNODE pTarget)

Script Interface

void enuSet3DLuaScriptByNode(HX3D pX3D, HNODE pNode, wchar_t* strFunction, wchar_t* strScript)
void enuSet3DJavaScriptByNode(HX3D pX3D, HNODE pNode, wchar_t* strFunction, wchar_t* strScript)
void enuExecute3DFunction(HX3D pX3D, wchar_t* strFunction)
void enuExecute3DFunctionByNode(HX3D pX3D, HNODE pNode, wchar_t* strFunction)


Table of contents