菜单
1 概述
2 脚本函数
3 函数详情
3.1 系统程序
3.1.1 动画函数
3.1.2 获得key函数
3.2 鼠标监听器
3.3 Flash播放器
3.4 xml解析器
3.5 队列
3.6 字符串队列
3.7 Web浏览器
3.8 列表控制
3.9 动画
3.10 动态树
3.11 曲线

脚本函数帮助文档

1 概述

脚本函数大约有1000多个,当前文档对函数进行简单的说明。

脚本函数用法如下:

双击PE图标,打开PE平台

点击PE菜单栏中的文件菜单,接着点击新建项目

项目创建完成后,会看到如下界面

右键选中main,点击添加行为图

右键选中顶部的tab标签,选择打开所在文件夹

在当前文件夹下,新建一个文本文件,把该文件的后缀名更改为script

使用文本编辑工具,如:notepad++、sublime text、UltraEdit、vscode等,打开文本文件。(如果有时间,我打算开发一个针对脚本语言的文本编辑工具,使用第三方工具,做脚本开发,着实有些难受)

如下图所示,输入相关代码

script关键词,是脚本语言首行必须有的

void test()是我们自定义的一个函数(这和我们大学中的C语言很像,定义一个返回为空,参数为空,函数名为test的函数)。

在test函数中,messageBox是脚本函数,它表示弹出一个提示消息框。

按照下图,拖拽相关控件。

拖拽控件后,可以看到如下图所示情况。

最后点击运行按钮,即可看到消息框。

2 脚本函数

astart astart astart
astartDelay areset astop
apause acontinue getkey
getKey command getSelectedKey
isChildOf selectByKey getOwnerKey
enableGroup setObjectGroup moveObjectByGroup
setTransparency setTransparencyByKey createField
copyField teamFieldsOnPipe showFieldBox
showFieldBoxByKey rebuildFieldBox hilightField
hilightFieldByKey setSelectable setSelectableByKey
setOptions setFieldOption setFieldOption
unloadFieldFromGPU insertStencil unloadAllObjects
loadAllObjects setShowAlways restoreStatus
restoreStatusFile rotateImage setMaterialRoughness
setMaterialMetalic setMaterialOcclusion setMaterialReflection
getMousePosition captureScreen appSendMessage
appSendData appSetTitle appBringToTop
appTakeToBottom appExit appGetModuleHandle
appSetGlobalVar appSetFullScreen appPrintLog
appPrintLog appGetDirectory intoModule
enableModule setModulePosition2D enableObject
enableButton enableMenu setObjectPosition
deleteObject getObjectHandle deleteObjectByGroup
setObjectAnchor setObjectAnchorOffset unloadResources
loadResources openInterfaceTable closeInterfaceTable
modifyInterfaceTable modifyInterfaceVariable refreshInterfaceTable
buildVariableMapping buildModuleVariableReference getFullFieldPath
setVideoSource stopVideo startVideo
pauseVideo continueVideo setVideoPosition
setVideoSize flush flush
flushFaces flushFaces lines3d
line3d lines2d setLinesPos2d
setLinesPos2dByKey drawPipe drawPipeByAxis
drawSphere drawSphereBLH drawSphere
drawSphereLines drawRect drawPolygon
drawPolygonExtend drawCircle2d drawCircle
drawCuboid setCuboidColors drawCameraRange
drawRadarRange drawConeRange drawCubeRange
setLineColor drawLightLine drawCommunication
drawCommunication drawFlow drawFlowCurve
drawFlow setFlowSegment setPosition
setPositionByKey moveField moveField
moveFieldByKey moveFieldByKey moveFieldOnRoute
moveFieldOnRouteWithSpeed scaleField scaleField
scaleFieldByKey deleteField isFieldVisible
setFieldMatrix setFieldMatrixByKey showFieldMatrix
showFieldMatrixByKey resetFieldMatrix resetFieldRotation
resetFieldMatrixByKey backupFieldMatrix restoreFieldMatrix
transformBody transformBody transformBody
transformFieldTo rotateField rotateFieldByKey
rotateFieldWorld rotateFieldAnim moveFieldAnim
transparencyFieldAnim movePipePointAnimByField movePipePointAnim
printTextAnim printTextAnim decreaseAnimSpeed
setAnimSpeed setAnimTime setAnimReversed
addChildAnimation loadAnimation deleteAnimation
deleteAnimationAndChildren playAnimation createJetAnimation
createTrackAnimation createTrackAnimationEx animJumpTo
animJumpToTime animMerge setGeometry2DAnimatingTime
setGeometry2DMovingTime modifyAnimationFieldPath pauseActiveAnimations
continueActiveAnimations createSurfaceAnimation setSurfaceAnimationColorSetting
clearSurfaceAnimationColorSettings createLineFieldAnimation setPriority
sndSetVolume unloadSound loadAnimationSound
showField showFieldByKey showFieldLocalByKey
showFieldLocal showFieldInViewport showAnnotation
modifyFieldPath modifyFieldPath getFieldPath
getFieldPathByPos getBoxByKey checkCollisionByKey
setFieldCollision setFieldCollisionByKey resetAllOwnerFieldCollisionByKey
enableModelCollision checkInternalCollision checkInternalBoxCollision
appendEntityToCollisionTable appendEntityChildrenToCollisionTable createCollisionObject
pickField pickField pickField
pick2DObject getObjectName getObjectFullName
setTextureParam setTextureName setTextureName
setTexture setEmissionByKey setDiffuseByKey
setSpecularByKey setAmbientByKey setEmission
setDiffuse setSpecular setAmbient
setButtonPosition getButtonPosition setImagePosition
getImagePosition setImagePosition setImagePositionByKey
setTextPosition setButtonDepth setImageDepth
setTextDepth getButtonPath setButtonCaption
getButtonCaption setTextContent setTextContent
setTextContentMgr insertText insertAnnotation
insertText3d setTextRect getTextRect
insertText setTextRect getTextRect
insertImage insertImage insertImage
insertButton insertButton setImageRect
setImageRectGlobal getImageRect getImageRectGlobal
setImageSize getImageSize setImageColor
setImageTexture unloadImage loadImage
getTextContent createAvi createPipe
createPipe updateRopes enableCtrlpt
enableCtrlptGroup clickCtrlpt deleteCtrlpt
lockCtrlpt enableKnobNegative insertReaction
insertReaction createCtrlpt createPole
pushButtonDown releaseButtonUp createMarker
setMarkerColor setMarkerPosition setMarkerRadius
setMarkerDepth enableTrigger runTrigger
exp log pow
sqrt atan sin
cos tan acos
asin rad deg
rand rand rand
arc ellipse orbitInit
orbitCalc orbitFree encrypt
decrypt encryptInDog encryptInDog
getDateInDog setDateInDog encrypt
decrypt pointInLoop distance
distance distance distance
dot dot dot
dot cross cross
cross cross intersect
length length getArraySize
getArraySize getArraySize getArraySize
setArraySize setArraySize setArraySize
setArraySize setArraySize normalize
normalize setHistoryFloatArray listPushBack
listPopBack listPushFront listPopFront
listGetFront listGetBack listGetCount
computePositionByKey computePositionByKey computePositionArray
computeVectorByKey computeMatrixByKey computeMatrixMulti
computePointProjectionOnPlane computeIntersection computeIntersection
computeReflection computeVectorAngleTo computeVectorCross
computeVectorDot setClipPlane setClipPlane
resetClipPlane clearClipPlane setClipPlane
setClipPlane enableClipPlane enableSection
setSectionPosition setSectionNormal setSectionRadius
setSectionLength setClipPlaneEx setClipPlaneEx
resetClipPlaneEx computeBLToXY computeXYToBL
setArcMask eraseMask computeLightProjection
findRouteTo buildRouteMap getRoutePoints
getDistanceToRoute itoa itoa16
atoi ftoa ftoa
atof trim getStringLength
getStringContent ascii stringInclude
stringEqual stringToValues valuesToString
bytesToString bytesToString stringToBytes
stringToBytes findString splitString
makeDword makeWord splitDword
splitWord calcCRC calcLRC
calcLRCAscii getBit setBit
floatToWord floatToDword dwordToFloat
and or xor
getBLFromXY setVariableInt setVariableFloat
setVariableString setVariableLong getVariableInt
lockVariableInt unlockVariableInt getVariableFloat
getVariableString getVariableLong getVariableHandle
resetScrew resetAllScrews createVariable
vportSetFollow vportGetFollow vportSetResolution
vportGetResolution vportSetRect vportGetRect
vportSetPixelFactor vportSetPerspectiveScale vportSurroundViewports
vportSetActive vportSetClipPlaneParam setFieldProjector
setProjectorTextureFile setProjectorTextureName setProjectorBlend
setProjectorBlendType operateField operateField
operateField loadField loadField
loadModelToModule unloadModelFromModule allKeyToFieldPath
allFieldPathToKey linkField unlinkField
linkField setFieldHome initFieldHome
clearFieldHome setToolProperty setToolObject
putFieldBeforeCamera printString messageBox
pause pause pause
pause pause updateDisplay
enableUpdate keyboardInput updateMappingWindow
updateMappingWindowQuickly outputDisplay setPerspectiveScale
outputMessage charaCreate charaDelete
charaMoveTo charaMoveTo charaMoveTo
charaGetHandle charaGetCurrent charaGetName
charaSetID charaGetID charaGetKey
charaStartAction charaStartAction charaStopAction
charaSetPosition charaUpdate charaUpdate
charaSetAngle charaRotateTo charaRotate
charaMove charaSetCurrent charaSetProperty
charaGetProperty charaGetStrProperty charaGoto
getMocapData getMocapHandTrack getMocapHandGesture
enableMocap setMocapData setMocapProp
setMocapProp setMocapPropEx setMocapPropEx
setMocapPropEx sendMocapMsg sendMocapMsg
enableShadow setGlowStrength setGlowScale
setMaterialBrightness renderProbes setSSAOFactor
setSSAORadius renderToFile renderToFile
createRenderTrack recordRenderTrackBackground recordRenderTrackFrame
renderTrackToImage releaseRenderTrack fileOpen
fileClose fileSeekLine fileGetLines
fileReadString fileReadLine fileWriteLine
fileGetLength fileRead fileWrite
loadComponent loadComponent loadComponent
unloadComponent Component2Module executeComponent
createEntity deleteEntity executeEntity
bindEntityToField bindEntities unbindEntity
moveEntityOnRoute moveEntityAutoPath moveEntityAutoPath
moveEntityAutoPathWithSpeed moveEntityAutoPathWithSpeed moveEntityOnRouteAnim
moveEntityAutoPathAnim moveEntityAutoPathWithSpeedAnim placeEntity
getRouteLength getValueInt getValueFloat
getValueString setValueInt setValueFloat
setValueString bindTriggerToVariable bindTriggerToVariable
bindTriggerToVariable sendEntityMessage sendSystemMessage
malloc free initialID
allocID releaseID wordOpenFile
wordCloseFile wordAppendString wordExecuteFile
wordAppendTable wordTableDeleteCell wordTableMergeCell
wordSelectionMoveUp wordSelectionMoveDown wordSelectionMoveLeft
wordSelectionMoveRight wordSelectionTypeText wordSelectionTypeParagraph
flashCreate flashPlay flashStop
flashClose flashDestroy mediaOpen
mediaClose mediaSetWindowPos mediaPlay
mediaPause mediaContinue mediaStop
mediaShow mediaGetDuration mediaGetCurrentPosition
mediaSetCurrentPosition mediaShowPlayBar recordScreenBegin
recordScreenBegin recordScreen recordScreenEnd
loadLibrary call dllLoad
dllFree dllCall dllCall
dllCall pluginCall pluginCall
pluginCall pluginCall pluginCall
pluginCall pluginCall pluginCallf
pluginGetValues pluginGetValuei pluginGetValuef
pluginIsLoaded dlgGetNetConnectSetting dlgGetIdName
dlgGetLoginInfo dlgGetFaults dlgGetSingleFault
dlgGetSingleFault dlgSetMisfunction dlgSetSingleMisfunction
dlgExamination examInitial examAddQuestion
examShow examGetScore getDate
getTime getWeek getTickCount
getRelativeTickCount tick appendListener
removeListener getCurModulePath getProgramName
enableOperator setCurOperator setCurOperator
setCurOperator getOperatorType getMotionTrack
getImagePath getWholeFilePath getCursorPos
setCursorPos createCursor showCursor
setCursor getWindow getMainWindow
setMainWindowPosition getCurCtrlPoint enableMouseButton
getWorldPos windowPixelTo2DPos screenPixelTo2DPos
worldPosToScreenPos objectPosToScreenPos keyDownd
keyUp setSceneMaxRadius setProjectionRatio
setTickFactor setFontPath pauseSystem
continueSystem stopSystem sleep
comOpen comSetBaud comClose
comSend OnCommReceive trackPopupMenu
showPopupMenuBottom showPopupMenu enableMenuItem
checkMenuItem createMenu addSubMenuItem
clearMenuItems setMenuBackColor showActiveMagicMenu
setActiveMagicMenu setMenuCaption getMenuCaption
updateMenuTreePos selectMenu foldMenu
moveSubMenuUp moveSubMenuDown setMenuFirstIndex
setMenuMaxVisibleCount getMenuActiveCount sendCommand
postCommand notifyCtrlEvent notifyCtrlEvent
notifyWebMessage mapCreate mapLocatePoint
mapLocateCamera mapSetPosition mapSetPosition
mapFollowPoint mapFollowCamera mapGetRoute
mapSetProp setWaveLevel setWaveAmplitude
setWeather setSun setSunColor
setWind createWorld createSea
setSeaColor enableSea setSeaPosition
enableSun enableAtmosphere enableLight
setLightPosition setLightDiffuse setLightAmbient
setLightSpecular loadLights removeLights
setFogDensity setFogColor setFogColor
enableFog enableFog setSkyBox
createCloud setCloudDensity setCloudRainFactor
setCloudPosition setCloudSize setCloudWeather
createWake enableWake shipCreate
shipDelete shipInitialize shipSetActive
shipSetOnSea shipSetPropellerSpeed shipSetRudderAngle
shipGetPropellerSpeed shipGetSpeed shipGetRudderAngle
shipSetMassFactor shipSetThrustFactor shipSetRudderFactor
shipSetResistFactor shipSetStabilityFactor shipPutCamera
shipSetField shipSetCenter shipSetForward
shipSetUpward shipSetWidth shipSetLength
shipSetDeep shipSetDraught shipSetHeadLength
shipGetCourseAngle shipGetHeelingAngle shipGetTrimmingAngle
shipGetPosition shipAddRoutePoint shipClearRoutePoints
shipBeginNavigate shipEndNavigate shipGetTarget
shipSetProperty planeCreate planeDelete
planeSetField planeSetTruss planeInitialize
planeSetActive planeOperate planeGetValue
planeSetValue planeSetValues planeGetStatus
planeAddRoutePoint planeClearRoutePoints planeBeginNavigate
planeEndNavigate planeGetTarget oculusCreate
oculusDestroy oculusSetField oculusSetPosition
oculusSetTargetDistance oculusOpen oculusClose
startParticle stopParticle killParticle
showParticle setParticleCount setParticleInterval
setParticleSize setParticleColor setPipelingAxis
setPipelingSection setPipelingForce setPipelingColor
setParticleInitialVelocity explode explode
burn burnInCylinder burnStop
enableJet runJet runJet
camZoomToField camZoomToFieldAnim camZoomToFieldAnimByPath
camSetDisableAllowed camGetCamera camGetCamera
camSetCamera camSetCamera camSetCameraHost
camSetCameraFov camZoom camLift
camSetBasisField camSetVertical camLock
camLock camUnlock camSetWalkSpeed
camGetWalkSpeed camSetCameraStep camGetCameraStep
camSetCameraHeight camGetCameraHeight camSetCameraUpward
camGetCameraUpward camSetGroundField camSetEyeDistance
camSetUIDepth camPlaceGuideCamera camShowGuideCamera
enableCameraCollision camFindRouteTo camFindRoute
camFindRouteTo camZoom moveingCamera
camMove camSetCollisionOffset applyCamera
enableProcess beginProcess beginProcess
endProcess markProcess markProcess
playProcess replayProcess replayProcessCallback
replayProcessEnd getProcessName getCauseName
getProcessNameByCauseId setStepAutoFlag getNextStep
isValidStep isValidStepReport isValidStep
isValidStepEx getStepName getStepName
getStepIndex getStepMark recordStep
recordStepAuto findHistoryStep getHistorySteps
setProcessSteps workshopRead workshopRun
workshopClear workshopExecuteStep workshopExecuteStep
workshopAddMapping workshopFindMapping workshopRemoveMapping
workshopRemoveTriggerOnePart workshopRemoveTriggerOnePart workshopGetTriggerPart
workshopGetTriggerPartCount workshopRemoveTriggerAllParts workshopGetPartField
workshopGetPartID workshopMoveTriggerOnePart workshopGetRGVCurPos
workshopMoveRGVTo workshopSetBufferTime workshopGetPartCount
workshopGetPartStatus workshopInitializeStatus workshopCall
enableSequence playSequence netCreateServer
netConnect netClose netGetHostAddress
netSendMessage netSendData netSend
netTransformField netSetReactionDefaultSetting netSetEditText
netClearReceiveBuffer netSetVariableInt netSetVariableFloat
netSetVariableString netSetVariableLong netCopyVariable
netCopyModuleVariables netCopyField netStartAnimation
netGetIntProperty netGetProperty netGetProperty
netCreateUDP netOpenUDP netSendUDP
netSendUDP netCloseUDP CallbkReceiveUdp
ddsStart ddsStop ddsWrite
ddeCreate ddeClose ddeSetData
ddeUpdateData ddeConnect ddeRequestOnce
ddeStartRequestLoop ddeStopRequestLoop ddeSendCommand
showTable setTablePos setTableTitle
setTableItem setTableValue setTableLineCount
startVolumeSequence stopVolumeSequence resetVolumeSequence
setSubVolume setVolumeSourceFile setFieldVolume
setVolumePoints setVolumeValues getVolumeValue
getVolumeValueByIndex getVolumeValue getVolumeValueByIndex
setVolumeColorSetting clearVolumeColorSettings createVolumeSequenceAnimation
setChartPos setChartSize setChartVariable
setChartColor setPercentCount setPercentColor
setPercentValue setPercentDescr setPercentValueRange
instanceAllChartVariables setGridCellString setGridCellColor
setGridColWidth setHistogramRange setCurveRange
setCurveBackgroundStyle dbConnect dbClose
dbOpenRecordSet dbCloseRecordSet dbFindFirst
dbFindNext dbMoveFirst dbMoveLast
dbMoveNext dbExecuteSQL dbExecuteSQLEx
dbExecuteSQLSyn dbIsBOF dbIsEOF
dbAddNew dbDelete dbUpdate
dbGetRecordCount dbGetString dbGetLong
dbGetBits dbGetFloat dbGetTime
dbGetTime dbSetString dbSetLong
dbSetBits dbSetFloat dbSetTime
mysqlConnect mysqlExecuteSQL mysqlClose
startDataSource stopDataSource appendDataTimeBuffer
interpolateDataTimeBuffer setDataTimeBufferLength setDataTimeBufferCycle
generatorCreate generatorPlay generatorStop
generatorJumpTo setEditText setEditMultiText
insertEditText insertEdit insertEdit
operateEdit getEditText getEditMultiText
getEditLineCount scrollEditLine clearEditContent
setEditFocus setEditBkClr drawLineOnEdit
drawLinesOnEdit csSolvePart csRotatePart
csMovePart csDragPart csMakePoleParallel
csMakePoleAlign csMakePoleCoAxis csMakePoleCoAxis
csClearTempConstrainModel hookKeyboard hookGetKeyboard
calcScore executeScript executeScriptFile
loadScript setVariableInterface initRegTime
GetRegTime GetLastTime GetNonceTime
shellExecute shellExecuteA closeProgram
minProgram maxProgram settingsWorkdir
settingslicense setDialAngle getAnimState
setButtonState createDimension SetWideView
SetMaterialHdrBlend SetSceneSizeXYZR SetSceneSizeR
getTwoOjbDistance SetWrenchEnabld moveWorldField
setNutEnable setOptionValuei setNearFar
getNearFar setOptionValuef setSceneOption
setHomeColor setJitterCount setTwinkle
OnMouseMove OnLButtonDown OnLButtonUp
CQueue ~CQueue Push
Pop Front Back
Empty Size CStringQueue
~CStringQueue Push Pop
Front Back Empty
Size CXmlParser ~CXmlParser
Clear ReadFile ReadXMLString
NewXML GetXMLString RootNode
FirstChild Child Parent
Next Previous NodeName
Attribute InsertChild SetNodeName
SetAttribute InsertText NodePtr
SetCurrentNodeByPtr CFlashPlayer ~CFlashPlayer
Create SetMovie Play
Pause Stop Rewind
GotoFrame Close SetLoop
GetLoop SetPlaying GetPlaying
CallFunction SetVariable GetVariable
CListCtrl ~CListCtrl Create
InsertColumn InsertItem SetItemText
GetItemText Show Clear
CCurve ~CCurve SetNormal
AddLine AddArc Clear
Interplote GetLength CAnimation
~CAnimation SetName Schedule
CreateWait CreateTrack CreateTrack
Reset Stop Clear
SetContinuous CDynaTree ~CDynaTree
SetGridSize FindItem HasItem
GetItemFather GetItemData GetItemChild
GetItemChildCount InsertItem Update

3 函数详情

3.1 系统程序

3.1.1 动画函数

(1) astart播放动画

void astart(string animName);

播放一个动画。

参数:

动画的名称,鼠标右键选中main,新建帧动画

上图的“动画_1”就是动画的名称,怎么创建一个动画,可以查阅用户手册

(2) astart播放动画

void astart(string animName, bool bReverse);

逆着播放一个动画。

参数:

(3) astart播放动画

void astart(string animName, bool bReverse, bool bCopy);

播放一个动画。

参数:

注意:这个函数我没有用过,不知道是什么效果。

(4) astartDelay延时播放动画

void astartDelay(string animName, float delaytime);

延时播放一个动画。

参数:

(5) areset重置播放动画

void areset(string animName);

重新播放一个动画。

参数:

(6) astop停止动画

void areset(string animName);

停止播放动画。

参数:

(7) apause暂停动画

void apause(string animName);

将一个动画暂停。

参数:

(8) acontinue继续播放动画

void acontinue(string animName);

继续播放一个动画。

参数:

下面有一个例子,按下键盘四个按钮,分别按下数字键1、2、3、4,执行动画的播放、停止等效果。

3.1.2 获得key函数

(1) getkey 获得key

dword getkey(string pathname);

获得节点key

参数:

鼠标右键选中平台左边树上的某个节点,点击属性,可以看到该节点的路径,如下图所示

可以是用下面代码,打印出key

dword key = getkey("/scene/modules/main/model/船桨.vis");		
string str = "key="+itoa(key);
printString(0.0, 0.0, str);

打印结果可能如下图所示。

(2) command 执行命令

void command(string cmdStr);

执行命令

参数:

注意:这个函数我没有用过,不知道是有什么效果。

(3) getSelectedKey 获取被选中节点的key

dword getSelectedKey();

获取被选中节点的key

参数:

(3) isChildOf 判断是否是子节点

bool isChildOf(dword key, dword owner_key);

判断两个key的父子关系

参数:

(4) selectByKey 使用key选中节点

void selectByKey(dword key, bool bSel);

通过key选择节点

参数:

(5) getOwnerKey 获得key的父亲key

dword getOwnerKey(dword key);

通过一个key获取父亲key

参数:

( ) enableGroup

void enableGroup(string moduleName, int gid, bool bEnable);

( ) setObjectGroup

void setObjectGroup(string name, int gid);

( ) moveObjectByGroup

void moveObjectByGroup(string moduleName, int gid, float dx, float dy, float dz);

( ) setTransparency

void setTransparency(string pathname, float transp);

( ) setTransparencyByKey

void setTransparencyByKey(dword key, float transp);

( ) createField

dword createField(string pathname);

( ) copyField

dword copyField(dword key, dword newOwnerKey);

( ) teamFieldsOnPipe

void teamFieldsOnPipe(string array& coordNames, int coordCount, dword array& keys, int keyCount, int curveType, float arcRadius);

( ) showFieldBox

void showFieldBox(string pathname, bool bShow);

( ) showFieldBoxByKey

void showFieldBoxByKey(dword key, bool bShow);

( ) rebuildFieldBox

void rebuildFieldBox(string pathname);

( ) hilightField

void hilightField(string pathname, bool bShow);

( ) hilightFieldByKey

void hilightFieldByKey(dword key, bool bShow);

( ) setSelectable

void setSelectable(string pathname, bool bSel);

( ) setSelectableByKey

void setSelectableByKey(dword key, bool bSel);

( ) setOptions

void setOptions(string pathname, string content , string strOption);

( ) setFieldOption

void setFieldOption(string pathname, string content);

( ) setFieldOption

void setFieldOption(string pathname, string content);

( ) unloadFieldFromGPU

void unloadFieldFromGPU(string pathname);

( ) insertStencil

void insertStencil(string pathname, float ox, float oy, float w, float h);

( ) unloadAllObjects

void unloadAllObjects();

( ) loadAllObjects

void loadAllObjects();

( ) setShowAlways

void setShowAlways(string pathname, bool b);

( ) restoreStatus

void restoreStatus(string name);

( ) restoreStatusFile

void restoreStatusFile(string filename);

( ) rotateImage

void rotateImage(string name, float angle);

( ) setMaterialRoughness

void setMaterialRoughness(string fieldname, float f);

( ) setMaterialMetalic

void setMaterialMetalic(string fieldname, float f);

( ) setMaterialOcclusion

void setMaterialOcclusion(string fieldname, float f);

( ) setMaterialReflection

void setMaterialReflection(string fieldname, float f);

( ) getMousePosition

void getMousePosition( float& x, float& y );

( ) captureScreen

// void captureScreen(dword& bits, int& width, int& height);

( ) appSendMessage

void appSendMessage(string appName, string msg);

( ) appSendData

void appSendData(string appName, byte array& bytes, int count);

( ) appSetTitle

void appSetTitle(string title);

( ) appBringToTop

void appBringToTop(string appName);

( ) appTakeToBottom

void appTakeToBottom(string appName);

( ) appExit

void appExit(string appName);

( ) appGetModuleHandle

dword appGetModuleHandle();

( ) appSetGlobalVar

dword appSetGlobalVar(string appName, int val);

( ) appSetFullScreen

void appSetFullScreen(bool bFullScreen);

( ) appPrintLog

void appPrintLog(string file, string name, int val);

( ) appPrintLog

void appPrintLog(string name, int val);

( ) appGetDirectory

string appGetDirectory(string name);

( ) intoModule

bool intoModule(string moduleName);

( ) enableModule

void enableModule(string moduleName, bool b);

( ) setModulePosition2D

void setModulePosition2D(string moduleName, float x, float y, float z);

( ) enableObject

void enableObject(string objectName, bool b);

( ) enableButton

void enableButton(string objectName, bool b);

( ) enableMenu

void enableMenu(string objectName, bool b);

( ) setObjectPosition

void setObjectPosition(string objectName, float x, float y, float z);

( ) deleteObject

void deleteObject(string objectName);

( ) getObjectHandle

dword getObjectHandle(string objectName);

( ) deleteObjectByGroup

void deleteObjectByGroup(string moduleName, int gid);

( ) setObjectAnchor

void setObjectAnchor(string objectName, string anchorName);

( ) setObjectAnchorOffset

void setObjectAnchorOffset(string objectName, float dx, float dy);

( ) unloadResources

void unloadResources(string moduleName, bool bAllChildren);

( ) loadResources

void loadResources(string moduleName, bool bAllChildren);

( ) openInterfaceTable

bool openInterfaceTable();

( ) closeInterfaceTable

bool closeInterfaceTable();

( ) modifyInterfaceTable

bool modifyInterfaceTable();

( ) modifyInterfaceVariable

bool modifyInterfaceVariable(string varName);

( ) refreshInterfaceTable

bool refreshInterfaceTable();

( ) buildVariableMapping

bool buildVariableMapping(string x_name, string y_name, string func_name);

( ) buildModuleVariableReference

void buildModuleVariableReference(string name);

( ) getFullFieldPath

string getFullFieldPath(string localPath);

( ) setVideoSource

bool setVideoSource(string name, string source);

( ) stopVideo

bool stopVideo(string name);

( ) startVideo

bool startVideo(string name);

( ) pauseVideo

bool pauseVideo(string name);

( ) continueVideo

bool continueVideo(string name);

( ) setVideoPosition

bool setVideoPosition(string name, float x, float y, float z);

( ) setVideoSize

bool setVideoSize(string name, float w, float h);

( ) flush

void flush( string pathname );

( ) flush

void flush( dword key );

( ) flushFaces

void flushFaces( dword key );

( ) flushFaces

void flushFaces( string pathname );

( ) lines3d

void lines3d( string pathname, float array& points, int count, float width, int linetype, float lineFactor, float r, float g, float b );

( ) line3d

void line3d(string pathname, float array& pt1, float array& pt2, float width, int linetype, float lineFactor, float r, float g, float b);

( ) lines2d

void lines2d( string pathname, float array& points, int count, float depth, float width, int linetype, float lineFactor, float r, float g, float b );

( ) setLinesPos2d

void setLinesPos2d( string pathname, float array& points, int count, float depth);

( ) setLinesPos2dByKey

void setLinesPos2dByKey( dword key, float array& points, int count, float depth);

( ) drawPipe

void drawPipe( string pathname, float array& points, int count, float radius, int curveType, float arcRadius );

( ) drawPipeByAxis

void drawPipeByAxis( string pathname, float array& points, int count, float radius);

( ) drawSphere

void drawSphere( string pathname, float x, float y, float z, float radius);

( ) drawSphereBLH

void drawSphereBLH(string pathname, float B, float L, float h, float radius);

( ) drawSphere

void drawSphere( string pathname, float x, float y, float z, float radius, float r, float g, float b, float a);

( ) drawSphereLines

void drawSphereLines(string pathname, float x, float y, float z, float radius, float stepAngle);

( ) drawRect

void drawRect( string pathname, float x, float y, float z, float nx, float ny, float nz, float width, float height);

( ) drawPolygon

void drawPolygon( string pathname, float array& points, int count);

( ) drawPolygonExtend

void drawPolygonExtend( string pathname, float array& points, int count, float height);

( ) drawCircle2d

void drawCircle2d( string pathname, float x, float y, float depth, float radius, float width, int linetype, float lineFactor, float r, float g, float b );

( ) drawCircle

void drawCircle(string pathname, float x, float y, float z, float nx, float ny, float nz, float radius, float width, int linetype, float lineFactor, float r, float g, float b);

( ) drawCuboid

void drawCuboid(string pathname, float x, float y, float z, float w, float h, float l, int layers, float array& colors);

( ) setCuboidColors

void setCuboidColors(string pathname, int layers, float array& colors);

( ) drawCameraRange

void drawCameraRange(string pathname, string name, float x, float y, float z, float vx, float vy, float vz, float angle, float length, float r, float g, float b, float a);

( ) drawRadarRange

void drawRadarRange(string pathname, string name, float x, float y, float z, float vx, float vy, float vz, float angle, float length, float r, float g, float b, float a, float ratio);

( ) drawConeRange

void drawConeRange(string pathname, string name, float x, float y, float z, float vx, float vy, float vz, float angle, float length, float r, float g, float b, float a);

( ) drawCubeRange

void drawCubeRange(string pathname, string name, float x, float y, float z, float l, float w, float h, float r, float g, float b, float a);

( ) setLineColor

void setLineColor(string pathname, float r, float g, float b, float a);

( ) drawLightLine

void drawLightLine(string pathname, string name, float x, float y, float z, float x2, float y2, float z2, float width);

( ) drawCommunication

void drawCommunication(string pathname, string name, float array& points, int count, float width, float speed, float exposure, string imageFile);

( ) drawCommunication

void drawCommunication(string pathname, string name, float x1, float y1, float z1, float x2, float y2, float z2, float width, float speed, float exposure, string imageFile);

( ) drawFlow

void drawFlow(string pathname, string name, float array& points, int count, float width, float speed, float exposure, string imageFile);

( ) drawFlowCurve

void drawFlowCurve(string pathname, string name, float array& points, int count, float width, float speed, float exposure, string imageFile);

( ) drawFlow

void drawFlow(string pathname, string name, float x1, float y1, float z1, float x2, float y2, float z2, float width, float speed, float exposure, string imageFile);

( ) setFlowSegment

void setFlowSegment(string pathname, string name, float u1, float u2);

( ) setPosition

void setPosition(string pathname, float x, float y, float z);

( ) setPositionByKey

void setPositionByKey(dword key, float x, float y, float z);

( ) moveField

void moveField(string pathname, float axisx, float axisy, float axisz, float dis);

( ) moveField

void moveField(string pathname, float dx, float dy, float dz);

( ) moveFieldByKey

void moveFieldByKey(dword key, float axisx, float axisy, float axisz, float dis);

( ) moveFieldByKey

void moveFieldByKey(dword key, float dx, float dy, float dz);

( ) moveFieldOnRoute

void moveFieldOnRoute(string pathname, string routeName, float totalTime, float startTime);

( ) moveFieldOnRouteWithSpeed

void moveFieldOnRouteWithSpeed(string pathname, string routeName, float speed, float time, bool reversed);

( ) scaleField

void scaleField(string pathname, float sx, float sy, float sz);

( ) scaleField

void scaleField(string pathname, float ox, float oy, float oz, float sx, float sy, float sz);

( ) scaleFieldByKey

void scaleFieldByKey(dword key, float ox, float oy, float oz, float sx, float sy, float sz);

( ) deleteField

void deleteField(string pathname);

( ) isFieldVisible

bool isFieldVisible(string pathname);

( ) setFieldMatrix

void setFieldMatrix(string pathname, float array matrix);

( ) setFieldMatrixByKey

void setFieldMatrixByKey(dword key, float array matrix);

( ) showFieldMatrix

void showFieldMatrix(string pathname, float array& matrix);

( ) showFieldMatrixByKey

void showFieldMatrixByKey(dword key, float array& matrix);

( ) resetFieldMatrix

void resetFieldMatrix(string pathname);

( ) resetFieldRotation

void resetFieldRotation(string pathname);

( ) resetFieldMatrixByKey

void resetFieldMatrixByKey(dword key);

( ) backupFieldMatrix

void backupFieldMatrix(string pathname);

( ) restoreFieldMatrix

void restoreFieldMatrix(string pathname);

( ) transformBody

bool transformBody(string bodyName);

( ) transformBody

bool transformBody(string bodyName, float x, float y, float z, float head, float pitch, float roll);

( ) transformBody

bool transformBody(string bodyName, float x, float y, float z, float forwardx, float forwardy, float forwardz, float leftx, float lefty, float leftz);

( ) transformFieldTo

void transformFieldTo(string fieldPath1, float array pt1, float array dir1, string fieldPath2, float array pt2, float array dir2);

( ) rotateField

void rotateField(string pathname, float x, float y, float z, float axisx, float axisy, float axisz, float angle);

( ) rotateFieldByKey

void rotateFieldByKey(dword key, float x, float y, float z, float axisx, float axisy, float axisz, float angle);

( ) rotateFieldWorld

void rotateFieldWorld(string pathname, float x, float y, float z, float axisx, float axisy, float axisz, float angle);

( ) rotateFieldAnim

void rotateFieldAnim(string pathname, float x, float y, float z, float axisx, float axisy, float axisz, float angle, float time);

( ) moveFieldAnim

void moveFieldAnim(string pathname, float x, float y, float z, float time);

( ) transparencyFieldAnim

void transparencyFieldAnim(string pathname, float s, float e, float time);

( ) movePipePointAnimByField

void movePipePointAnimByField(string pathname, int pointIndex, float dx, float dy, float dz, float time);

( ) movePipePointAnim

void movePipePointAnim(string name, int pointIndex, float dx, float dy, float dz, float time);

( ) printTextAnim

void printTextAnim(string pathname, float time);

( ) printTextAnim

void printTextAnim(dword key, float time);

( ) decreaseAnimSpeed

void decreaseAnimSpeed(string animName, float factor, long cycle);

( ) setAnimSpeed

void setAnimSpeed(string animName, float factor);

( ) setAnimTime

void setAnimTime(string animName, float time);

( ) setAnimReversed

void setAnimReversed(string animName, BOOL b);

( ) addChildAnimation

void addChildAnimation(string animName, string animNameChild);

( ) loadAnimation

bool loadAnimation(string animFile);

( ) deleteAnimation

bool deleteAnimation(string animName);

( ) deleteAnimationAndChildren

bool deleteAnimationAndChildren(string animName);

( ) playAnimation

bool playAnimation(string animName, float time);

( ) createJetAnimation

void createJetAnimation(string animName, string pathname, float x, float y, float z, float scaleMin, float scaleMax, float life);

( ) createTrackAnimation

bool createTrackAnimation(string animName, float startTime, float endTime, string pathname, float array& points, int count);

( ) createTrackAnimationEx

bool createTrackAnimationEx(string animName, float startTime, float endTime, string pathname, float array& points);

( ) animJumpTo

void animJumpTo(string animName,float factor);

( ) animJumpToTime

void animJumpToTime(string animName, float time);

( ) animMerge

void animMerge(string animName, string animNewName, float time);

( ) setGeometry2DAnimatingTime

void setGeometry2DAnimatingTime(float time);

( ) setGeometry2DMovingTime

void setGeometry2DMovingTime(float time);

( ) modifyAnimationFieldPath

bool modifyAnimationFieldPath(string name, string oldFieldPath, string newFieldPath);

( ) pauseActiveAnimations

void pauseActiveAnimations(string moduleName);

( ) continueActiveAnimations

void continueActiveAnimations(string moduleName);

( ) createSurfaceAnimation

bool createSurfaceAnimation(string animName, string pathname, float scale, string filename);

( ) setSurfaceAnimationColorSetting

void setSurfaceAnimationColorSetting(string name, int index, float value, float r, float g, float b, float a);

( ) clearSurfaceAnimationColorSettings

void clearSurfaceAnimationColorSettings(string name);

( ) createLineFieldAnimation

bool createLineFieldAnimation(string animName, string pathname, float scale, bool bParticle, string filename);

( ) setPriority

void setPriority(string pathname, int pri);

( ) sndSetVolume

void sndSetVolume(float v);

( ) unloadSound

void unloadSound(string module_name);

( ) loadAnimationSound

void loadAnimationSound(string anim_name);

( ) showField

void showField(string pathname, bool bShow);

( ) showFieldByKey

void showFieldByKey(dword key, bool bShow);

( ) showFieldLocalByKey

void showFieldLocalByKey(dword key, bool bShow);

( ) showFieldLocal

void showFieldLocal(string pathname, bool bShow);

( ) showFieldInViewport

void showFieldInViewport(string pathname, string viewport, bool bShow);

( ) showAnnotation

void showAnnotation(string pathname, bool bShow);

( ) modifyFieldPath

bool modifyFieldPath(string oldPath, string newPath);

( ) modifyFieldPath

bool modifyFieldPath(dword oldKey, dword newKey);

( ) getFieldPath

string getFieldPath(dword key);

( ) getFieldPathByPos

string getFieldPathByPos(float x,float y);

( ) getBoxByKey

void getBoxByKey(dword key, float& ox, float& oy, float& oz, float& r);

( ) checkCollisionByKey

bool checkCollisionByKey(dword key1, dword key2);

( ) setFieldCollision

void setFieldCollision(string fieldPath, bool bCollision);

( ) setFieldCollisionByKey

void setFieldCollisionByKey(dword key, bool bCollision);

( ) resetAllOwnerFieldCollisionByKey

void resetAllOwnerFieldCollisionByKey(dword key);

( ) enableModelCollision

void enableModelCollision(bool bCollision);

( ) checkInternalCollision

bool checkInternalCollision(string fieldPath);

( ) checkInternalBoxCollision

bool checkInternalBoxCollision(string fieldPath);

( ) appendEntityToCollisionTable

void appendEntityToCollisionTable(string name);

( ) appendEntityChildrenToCollisionTable

void appendEntityChildrenToCollisionTable(string name);

( ) createCollisionObject

bool createCollisionObject(string name, int interval, int setting);

( ) pickField

dword pickField(float x, float y);

( ) pickField

dword pickField(float x, float y, float z);

( ) pickField

dword pickField(string pathname, float x, float y, float z);

( ) pick2DObject

dword pick2DObject(float x, float y);

( ) getObjectName

string getObjectName(dword key);

( ) getObjectFullName

string getObjectFullName(dword key);

( ) setTextureParam

void setTextureParam( string pathname, float sx, float sy, float angle, float ofx, float ofy );

( ) setTextureName

void setTextureName( string pathname, string tex_name );

( ) setTextureName

void setTextureName( string pathname, string tex_name, int mapType );

( ) setTexture

void setTexture( string pathname, string filename );

( ) setEmissionByKey

void setEmissionByKey( dword key, float r, float g, float b, bool bAllChildren );

( ) setDiffuseByKey

void setDiffuseByKey( dword key, float r, float g, float b, bool bAllChildren );

( ) setSpecularByKey

void setSpecularByKey( dword key, float r, float g, float b, bool bAllChildren );

( ) setAmbientByKey

void setAmbientByKey( dword key, float r, float g, float b, bool bAllChildren );

( ) setEmission

void setEmission( string pathname, float r, float g, float b, bool bAllChildren );

( ) setDiffuse

void setDiffuse( string pathname, float r, float g, float b, bool bAllChildren );

( ) setSpecular

void setSpecular( string pathname, float r, float g, float b, bool bAllChildren );

( ) setAmbient

void setAmbient( string pathname, float r, float g, float b, bool bAllChildren );

( ) setButtonPosition

void setButtonPosition(string Name, float x, float y, float z);

( ) getButtonPosition

void getButtonPosition(string Name, float& x, float& y, float& z);

( ) setImagePosition

void setImagePosition(string Name, float x, float y, float z);

( ) getImagePosition

void getImagePosition(string Name, float& x, float& y, float& z);

( ) setImagePosition

void setImagePosition(string Name, float x, float y, float z, float offx, float offy);

( ) setImagePositionByKey

void setImagePositionByKey(dword key, float x, float y, float z);

( ) setTextPosition

void setTextPosition(string Name, float x, float y, float z);

( ) setButtonDepth

void setButtonDepth(string Name, float z);

( ) setImageDepth

void setImageDepth(string Name, float z);

( ) setTextDepth

void setTextDepth(string Name, float z);

( ) getButtonPath

string getButtonPath(string name);

( ) setButtonCaption

void setButtonCaption(string name, string caption);

( ) getButtonCaption

string getButtonCaption(string name);

( ) setTextContent

void setTextContent(string pathname, string content);

( ) setTextContent

void setTextContent(dword key, string content);

( ) setTextContentMgr

void setTextContentMgr(string strMgr, string content);

( ) insertText

void insertText(string pathname, string content, float x, float y, float z, float sx, float sy, float sz, float r, float g, float b, string font);

( ) insertAnnotation

void insertAnnotation(string pathname, string content, float tarx, float tary, float tarz, float x, float y, float z, float sx, float sy, float sz, float r, float g, float b, string font);

( ) insertText3d

void insertText3d(string pathname, string content, float x, float y, float z, float scale, float r, float g, float b, string font);

( ) setTextRect

void setTextRect(string pathname, float x1, float y1, float x2, float y2);

( ) getTextRect

void getTextRect(string pathname, float& x1, float& y1, float& x2, float& y2);

( ) insertText

void insertText(dword key, string content, float x, float y, float z, float sx, float sy, float sz, float r, float g, float b, string font);

( ) setTextRect

void setTextRect(dword key, float x1, float y1, float x2, float y2);

( ) getTextRect

void getTextRect(dword key, float& x1, float& y1, float& x2, float& y2);

( ) insertImage

dword insertImage(string name, float x, float y, float z, float w, float h, string& bmpFile, string& tempFile, float transparency, bool bWorldPos, float offX, float offY);

( ) insertImage

dword insertImage(string pathname, string name, float x, float y, float z, float w, float h, string& bmpFile, string& tempFile, float transparency, bool bWorldPos, float offX, float offY);

( ) insertImage

dword insertImage(string pathname, string name, float x, float y, float z, float w, float h, string& bmpFile, string& tempFile, float transparency, bool bWorldPos, float offX, float offY, float x0, float y0, float z0, float r, float g, float b, float lineWidth);

( ) insertButton

void insertButton(dword path_key, string name, string ref_name);

( ) insertButton

void insertButton(string pathname, string name, float x, float y, float z, float width, float height, string normalFile, string normalFileMask, string hoverFile, string hoverFileMask, string pushFile, string pushFileMask);

( ) setImageRect

void setImageRect(string pathname, float x1, float y1, float x2, float y2);

( ) setImageRectGlobal

void setImageRectGlobal(string pathname, float x1, float y1, float x2, float y2);

( ) getImageRect

void getImageRect(string pathname, float& x1, float& y1, float& x2, float& y2);

( ) getImageRectGlobal

void getImageRectGlobal(string pathname, float& x1, float& y1, float& x2, float& y2);

( ) setImageSize

void setImageSize(string pathname, float width, float height);

( ) getImageSize

void getImageSize(string pathname, float& width, float& height);

( ) setImageColor

void setImageColor(string pathname, float r, float g, float b, float a);

( ) setImageTexture

void setImageTexture(string pathname, string texName);

( ) unloadImage

void unloadImage(string pathname);

( ) loadImage

void loadImage(string pathname);

( ) getTextContent

string getTextContent(string pathname);

( ) createAvi

void createAvi(string animName, long life, string pathname, string path, float x1, float y1, float x2, float y2, int count, bool bIs2D);

( ) createPipe

void createPipe(string fieldPathname, float array& points, int count, float radius);

( ) createPipe

void createPipe(string fieldPathname, float array& points, int count, float radius,int curveType,float arcRadius);

( ) updateRopes

void updateRopes(string moduleName);

( ) enableCtrlpt

void enableCtrlpt(string Name, bool bEnable);

( ) enableCtrlptGroup

void enableCtrlptGroup(string moduleName, int gid, bool bEnable);

( ) clickCtrlpt

void clickCtrlpt(string Name);

( ) deleteCtrlpt

void deleteCtrlpt(string Name);

( ) lockCtrlpt

void lockCtrlpt(bool bLockMoving, bool bLockAll);

( ) enableKnobNegative

void enableKnobNegative(string Name,bool bEnable);

( ) insertReaction

void insertReaction(string name, string eventType, string animName);

( ) insertReaction

void insertReaction(string name, string eventType, string animName, string varName, string varValue);

( ) createCtrlpt

void createCtrlpt(string name, string fieldPathname, bool bEnable);

( ) createPole

void createPole(string name, string fieldPathname, float array& points);

( ) pushButtonDown

void pushButtonDown(string name);

( ) releaseButtonUp

void releaseButtonUp(string name);

( ) createMarker

void createMarker(string name, int style, float x, float y, float z, float radius);

( ) setMarkerColor

void setMarkerColor(string name, float r, float g, float b);

( ) setMarkerPosition

void setMarkerPosition(string name, float x, float y, float z);

( ) setMarkerRadius

void setMarkerRadius(string name, float radius);

( ) setMarkerDepth

void setMarkerDepth(string name, float depth);

( ) enableTrigger

void enableTrigger(string Name, bool bEnable);

( ) runTrigger

void runTrigger(string Name);

( ) exp

 float exp(float val);

( ) log

 float log(float val);

( ) pow

 float pow(float val, float index);

( ) sqrt

 float sqrt(float val);

( ) atan

 float atan(float val);

( ) sin

 float sin(float val);

( ) cos

 float cos(float val);

( ) tan

 float tan(float val);

( ) acos

 float acos(float val);

( ) asin

 float asin(float val);

( ) rad

 float rad(float val);

( ) deg

 float deg(float val);

( ) rand

 int rand();

( ) rand

 int rand(int fmin, int fmax);

( ) rand

 void rand(int array& arr, int fmin, int fmax, int num);

( ) arc

 bool arc(float array& center, float array& start, float array& end, float delta_angle, bool bCcw, float array& points, float array& count);

( ) ellipse

 void ellipse(float array& center, float array& normal, float a, float b, float angle, float array& point);

( ) orbitInit

dword orbitInit(float A, float E, float o, float O, float I, float T);

( ) orbitCalc

void orbitCalc(dword h, float t, float& x, float& y, float& z);

( ) orbitFree

void orbitFree(dword h);

( ) encrypt

 bool encrypt(string& key, string& strIn, string& strOut);

( ) decrypt

 bool decrypt(string& key, string& strIn, string& strOut);

( ) encryptInDog

// bool encryptInDog(string& key, string& strIn, string& strOut);

( ) encryptInDog

 bool encryptInDog(string& key, int dataLen, byte array& dataIn, byte array& dataOut);

( ) getDateInDog

 bool getDateInDog(int year, int month, int day, int hour, byte array& date);

( ) setDateInDog

 bool setDateInDog(int year, int month, int day, int hour);

( ) encrypt

 bool encrypt(string& key, byte array& btsIn, int countIn, byte array& btsOut, int& countOut);

( ) decrypt

 bool decrypt(string& key, byte array& btsIn, int countIn, byte array& btsOut, int& countOut);

( ) pointInLoop

 bool pointInLoop(float x, float y, float array& loop, int count);

( ) distance

 float distance(float array& pt1, float array& pt2);

( ) distance

 float distance(string coordName1, string coordName2);

( ) distance

 float distance(string coordName1, float array& pt2);

( ) distance

 float distance(float array& pt1, string coordName2);

( ) dot

 float dot(float array& vec1, float array& vec2);

( ) dot

 float dot(string vectorName1, string vectorName2);

( ) dot

 float dot(string vectorName1, float array& vec2);

( ) dot

 float dot(float array& vec1, string vectorName2);

( ) cross

 void cross(float array& vec1, float array& vec2, float array& resVec);

( ) cross

 void cross(string vectorName1, string vectorName2, float array& resVec);

( ) cross

 void cross(string vectorName1, float array& vec2, float array& resVec);

( ) cross

 void cross(float array& vec1, string vectorName2, float array& resVec);

( ) intersect

 bool intersect(float array& pt1, float array& pt2, float array& pt3, float array& pt4, float array& inter);

( ) length

 float length(float array& pt1);

( ) length

 float length(float x, float y, float z);

( ) getArraySize

 int getArraySize(int array& arr);

( ) getArraySize

 int getArraySize(long array& arr);

( ) getArraySize

 int getArraySize(float array& arr);

( ) getArraySize

 int getArraySize(string array& arr);

( ) setArraySize

void setArraySize(int array& arr, int size);

( ) setArraySize

void setArraySize(long array& arr, int size);

( ) setArraySize

void setArraySize(float array& arr, int size);

( ) setArraySize

void setArraySize(string array& arr, int size);

( ) setArraySize

void setArraySize(string arrName, int size);

( ) normalize

 void normalize(float array& arr);

( ) normalize

 void normalize(string vectorName);

( ) setHistoryFloatArray

 void setHistoryFloatArray(float array& arr, float val);

( ) listPushBack

bool listPushBack(string listName, string valName);

( ) listPopBack

bool listPopBack(string listName, string valName);

( ) listPushFront

bool listPushFront(string listName, string valName);

( ) listPopFront

bool listPopFront(string listName, string valName);

( ) listGetFront

bool listGetFront(string listName, string valName);

( ) listGetBack

bool listGetBack(string listName, string valName);

( ) listGetCount

int listGetCount(string listName);

( ) computePositionByKey

 bool computePositionByKey(dword key1, float x1, float y1, float z1, dword key2, float& x2, float& y2, float& z2);

( ) computePositionByKey

 bool computePositionByKey(dword key1, float array& points1, dword key2, float array& points2);

( ) computePositionArray

 bool computePositionArray(string path1, float array& points1, int count, string path2, float array& points2);

( ) computeVectorByKey

 bool computeVectorByKey(dword key1, float x1, float y1, float z1, dword key2, float& x2, float& y2, float& z2);

( ) computeMatrixByKey

 bool computeMatrixByKey(dword key1, float array& matrix1, dword key2, float array& matrix2);

( ) computeMatrixMulti

 void computeMatrixMulti(float array& matrix1, float array& matrix2, float array& matrix);

( ) computePointProjectionOnPlane

 void computePointProjectionOnPlane(float array& pt, float array& basept, float array& normal, float array& proj);

( ) computeIntersection

 bool computeIntersection(float array& pt1, float array& pt2, dword key, float array& inter);

( ) computeIntersection

 bool computeIntersection(float array& pt1, float array& pt2, dword key, float array& inter, float array& normal);

( ) computeReflection

 bool computeReflection(float array& pt1, float array& pt2, dword key, float array& inter, float array& direction);

( ) computeVectorAngleTo

 float computeVectorAngleTo(float array& vec1, float array& vec2, float array& axis);

( ) computeVectorCross

 void computeVectorCross(float array& vec1, float array& vec2, float array& vec3);

( ) computeVectorDot

 float computeVectorDot(float array& vec1, float array& vec2);

( ) setClipPlane

// void setClipPlane(dword key, float array& pt, float array& normal);

( ) setClipPlane

// void setClipPlane(dword key, float x, float y, float z, float nx, float ny, float nz);

( ) resetClipPlane

// void resetClipPlane(dword key);

( ) clearClipPlane

 void clearClipPlane();

( ) setClipPlane

 void setClipPlane(string field_path, string plane_name, float array& pt, float array& normal);

( ) setClipPlane

 void setClipPlane(string field_path, string plane_name, float x, float y, float z, float nx, float ny, float nz);

( ) enableClipPlane

 void enableClipPlane(string plane_name, bool b);

( ) enableSection

 void enableSection(string section_name, bool b);

( ) setSectionPosition

 void setSectionPosition(string section_name, float x, float y, float z);

( ) setSectionNormal

 void setSectionNormal(string section_name, float nx, float ny, float nz);

( ) setSectionRadius

 void setSectionRadius(string section_name, float r);

( ) setSectionLength

 void setSectionLength(string section_name, float l);

( ) setClipPlaneEx

 void setClipPlaneEx(dword key, float array& pt, float array& normal);

( ) setClipPlaneEx

 void setClipPlaneEx(dword key, float x, float y, float z, float nx, float ny, float nz);

( ) resetClipPlaneEx

 void resetClipPlaneEx(dword key);

( ) computeBLToXY

 void computeBLToXY(float b, float l, float& x, float& y);

( ) computeXYToBL

 void computeXYToBL(float x, float y, float& b, float& l);

( ) setArcMask

 void setArcMask(string pathname, float angle, bool bFade);

( ) eraseMask

 void eraseMask(float depth, bool b);

( ) computeLightProjection

 bool computeLightProjection(string lightField, float array position, float array direction, float fov, float radius, float precision, string field, float array& circlePoints, float array& circleNormals, int array& pointCounts, int& num);

( ) findRouteTo

// bool findRouteTo(float x, float y, float z, int timeStep);

( ) buildRouteMap

 bool buildRouteMap();

( ) getRoutePoints

 bool getRoutePoints(string routeName, float u1, float u2, float array& points, int& count);

( ) getDistanceToRoute

 float getDistanceToRoute(float x, float y, float z, string routeName);

( ) itoa

 string itoa(int val);

( ) itoa16

 string itoa16(int val);

( ) atoi

 int atoi(string vstr);

( ) ftoa

 string ftoa(float val, int intNum, int decimalNum);

( ) ftoa

 string ftoa(double val, int intNum, int decimalNum);

( ) atof

 float atof(string vstr);

( ) trim

 string trim(string vstr);

( ) getStringLength

 int getStringLength(string vstr);

( ) getStringContent

 string getStringContent(string vstr, int start, int end);

( ) ascii

 byte ascii(string char);

( ) stringInclude

 bool stringInclude(string str1, string str2);

( ) stringEqual

 bool stringEqual(string str1, string str2);

( ) stringToValues

 void stringToValues(string str, float array& values, int& count);

( ) valuesToString

 void valuesToString(float array& values, int count, string& str);

( ) bytesToString

 void bytesToString(byte array& bytes, int len, string& str);

( ) bytesToString

 void bytesToString(byte array& bytes, int len, string& str, bool isUnicode);

( ) stringToBytes

 void stringToBytes(string str, byte array& bytes, int& len);

( ) stringToBytes

 void stringToBytes(string str, byte array& bytes, int& len, bool isUnicode);

( ) findString

 int findString(string str, string subStr);

( ) splitString

 void splitString(string str, string division, string array& subStrArr, int& count);

( ) makeDword

 dword makeDword(byte bt1, byte bt2, byte bt3, byte bt4);

( ) makeWord

 int makeWord(byte bt1, byte bt2);

( ) splitDword

 void splitDword(dword val, byte& bt1, byte& bt2, byte& bt3, byte& bt4);

( ) splitWord

 void splitWord(int val, byte& bt1, byte& bt2);

( ) calcCRC

 void calcCRC(byte array& bytes, int count, byte& crcHi, byte& crcLo);

( ) calcLRC

 byte calcLRC(byte array& bytes, int count);

( ) calcLRCAscii

 byte calcLRCAscii(byte array& bytes, int count);

( ) getBit

 byte getBit(dword d, int index);

( ) setBit

 void setBit(dword& d, int index, byte val);

( ) floatToWord

 int floatToWord(float val);

( ) floatToDword

 dword floatToDword(float val);

( ) dwordToFloat

 float dwordToFloat(dword val);

( ) and

 byte and(byte byte1, byte byte2);

( ) or

 byte or(byte byte1, byte byte2);

( ) xor

 byte xor(byte byte1, byte byte2);

( ) getBLFromXY

//  void getBLFromXY(float x, float y, float& B, float& L);

( ) setVariableInt

void setVariableInt(string varName, int val);

( ) setVariableFloat

void setVariableFloat(string varName, float val);

( ) setVariableString

void setVariableString(string varName, string str);

( ) setVariableLong

void setVariableLong(string varName, long val);

( ) getVariableInt

int getVariableInt(string varName);

( ) lockVariableInt

int lockVariableInt(string varName);

( ) unlockVariableInt

int unlockVariableInt(string varName);

( ) getVariableFloat

float getVariableFloat(string varName);

( ) getVariableString

string getVariableString(string varName);

( ) getVariableLong

long getVariableLong(string varName);

( ) getVariableHandle

 dword getVariableHandle(string varName);

( ) resetScrew

void resetScrew(string varName);

( ) resetAllScrews

void resetAllScrews();

( ) createVariable

bool createVariable(string varName, string type);

( ) vportSetFollow

void vportSetFollow(string vport, string main_vport, float angle, float lens);

( ) vportGetFollow

void vportGetFollow(string vport, string main_vport, float& angle, float& lens);

( ) vportSetResolution

void vportSetResolution(string vport, int x, int y);

( ) vportGetResolution

void vportGetResolution(string vport, int& x, int& y);

( ) vportSetRect

void vportSetRect(string vport, float x1, float y1, float x2, float y2);

( ) vportGetRect

void vportGetRect(string vport, float& x1, float& y1, float& x2, float& y2);

( ) vportSetPixelFactor

void vportSetPixelFactor(string vport, float f);

( ) vportSetPerspectiveScale

void vportSetPerspectiveScale(float f);

( ) vportSurroundViewports

 void vportSurroundViewports(float horAngle, float verAngle);

( ) vportSetActive

void vportSetActive(string vport);

( ) vportSetClipPlaneParam

void vportSetClipPlaneParam(string vportName, bool bFixed, float fNear, float fFar);

( ) setFieldProjector

void setFieldProjector(string pathname, string name);

( ) setProjectorTextureFile

void setProjectorTextureFile(string name, string fielname);

( ) setProjectorTextureName

void setProjectorTextureName(string name, string texName);

( ) setProjectorBlend

void setProjectorBlend(string name, float b);

( ) setProjectorBlendType

void setProjectorBlendType(string name, int type);

( ) operateField

void operateField(string opType, string fieldPath);

( ) operateField

void operateField(string opType, string fieldPath, float ox, float oy, float oz);

( ) operateField

void operateField(string opType, string fieldPath, float ox, float oy, float oz, float dir_x, float dir_y, float dir_z);

( ) loadField

void loadField(string father, dword buffer, long size);

( ) loadField

void loadField(string father, string filename);

( ) loadModelToModule

void loadModelToModule(string moduleName, string filename, bool bLights);

( ) unloadModelFromModule

void unloadModelFromModule(string moduleName, string modelName);

( ) allKeyToFieldPath

void allKeyToFieldPath(string moduleName);

( ) allFieldPathToKey

void allFieldPathToKey(string moduleName);

( ) linkField

void linkField(string field1, string field2, int linkType);

( ) unlinkField

void unlinkField(string field1, string field2);

( ) linkField

void linkField(string field1, string field2, int linkType, float ox, float oy, float oz, float dir_x, float dir_y, float dir_z);

( ) setFieldHome

void setFieldHome(string field, string home_field, float array home_matrix, float dis, float angle, string animName);

( ) initFieldHome

void initFieldHome(string field, float dis, float angle, string animName);

( ) clearFieldHome

void clearFieldHome(string field);

( ) setToolProperty

void setToolProperty(string filename, string filenameMask, string pathname, string toolType, string toolParam);

( ) setToolObject

void setToolObject(string name);

( ) putFieldBeforeCamera

void putFieldBeforeCamera(string field, bool bVertical);

( ) printString

void printString(float x, float y, string str);

( ) messageBox

 void messageBox( string msg );

( ) pause

 void pause( string msg );

( ) pause

 void pause( int iVal );

( ) pause

 void pause( long lVal );

( ) pause

 void pause( float fVal );

( ) pause

 void pause();

( ) updateDisplay

void updateDisplay();

( ) enableUpdate

void enableUpdate(bool b);

( ) keyboardInput

void keyboardInput(string wndName, string inputStr);

( ) updateMappingWindow

void updateMappingWindow(string wndName);

( ) updateMappingWindowQuickly

void updateMappingWindowQuickly(string wndName);

( ) outputDisplay

void outputDisplay(string display);

( ) setPerspectiveScale

 void setPerspectiveScale(float s);

( ) outputMessage

void outputMessage(string msg);

( ) charaCreate

handle charaCreate(string name, string filename, float scale, string fieldPath);

( ) charaDelete

void charaDelete(handle h);

( ) charaMoveTo

void charaMoveTo(handle h, float time, float x, float y, float z);

( ) charaMoveTo

void charaMoveTo(handle h, float x, float y, float z);

( ) charaMoveTo

void charaMoveTo(string name, float time, float x, float y, float z);

( ) charaGetHandle

handle charaGetHandle(string name);

( ) charaGetCurrent

handle charaGetCurrent();

( ) charaGetName

string charaGetName(handle h);

( ) charaSetID

void charaSetID(handle h, long id);

( ) charaGetID

long charaGetID(handle h);

( ) charaGetKey

long charaGetKey(handle h);

( ) charaStartAction

void charaStartAction(handle h, int index, bool loop);

( ) charaStartAction

void charaStartAction(handle h, int index, bool loop, bool autoLock);

( ) charaStopAction

void charaStopAction(handle h, int index);

( ) charaSetPosition

void charaSetPosition(handle h, float x, float y, float z);

( ) charaUpdate

void charaUpdate(handle h, float delta_time);

( ) charaUpdate

void charaUpdate(handle h, float delta_time, bool sync);

( ) charaSetAngle

void charaSetAngle(handle h, float angle);

( ) charaRotateTo

void charaRotateTo(handle h, float angle);

( ) charaRotate

void charaRotate(handle h, bool bleft);

( ) charaMove

void charaMove(handle h, bool bForward);

( ) charaSetCurrent

void charaSetCurrent(handle h);

( ) charaSetProperty

void charaSetProperty(handle h, string name, string value);

( ) charaGetProperty

float charaGetProperty(handle h, string name);

( ) charaGetStrProperty

string charaGetStrProperty(handle h, string name);

( ) charaGoto

void charaGoto(handle h, float x, float y, float z, float angle, bool isWalking);

( ) getMocapData

void getMocapData(string name, int typeIndex, float array& data, int& length);

( ) getMocapHandTrack

 void getMocapHandTrack( string name, byte type, float array& tranform);

( ) getMocapHandGesture

void getMocapHandGesture(string name, byte type, int& iGesture);

( ) enableMocap

void enableMocap(string name, bool bOpen);

( ) setMocapData

void setMocapData(string name, int typeIndex, float array data, int length);

( ) setMocapProp

void setMocapProp(string name, int boneId, dword keyPart, bool bBind);

( ) setMocapProp

void setMocapProp(string name, int boneId, dword keyPart);

( ) setMocapPropEx

void setMocapPropEx(string name, int boneId, dword keyPart, int type, float x, float y, float z, float axisx, float axisy, float axisz);

( ) setMocapPropEx

void setMocapPropEx(string name, int boneId, dword keyPart, int type, string pole);

( ) setMocapPropEx

void setMocapPropEx(string name, int boneId, dword keyPart, int type);

( ) sendMocapMsg

int sendMocapMsg(string name, string cmd, long value);

( ) sendMocapMsg

int sendMocapMsg(string name, string cmd);

( ) enableShadow

void enableShadow(bool b);

( ) setGlowStrength

void setGlowStrength(float s);

( ) setGlowScale

void setGlowScale(float s);

( ) setMaterialBrightness

void setMaterialBrightness(string fieldname, float b);

( ) renderProbes

 void renderProbes();

( ) setSSAOFactor

void setSSAOFactor(float f);

( ) setSSAORadius

void setSSAORadius(float f);

( ) renderToFile

void renderToFile(string filename, int w, int h, dword key, float ex, float ey, float ez, float tx, float ty, float tz, float fov, int type);

( ) renderToFile

void renderToFile(string filename, int w, int h, string field, float array eye, float array tar, float fov, int type);

( ) createRenderTrack

handle createRenderTrack(int w, int h);

( ) recordRenderTrackBackground

void recordRenderTrackBackground(handle hTrack);

( ) recordRenderTrackFrame

void recordRenderTrackFrame(handle hTrack);

( ) renderTrackToImage

bool renderTrackToImage(handle hTrack, string fieldpath);

( ) releaseRenderTrack

void releaseRenderTrack(handle hTrack);

( ) fileOpen

file fileOpen(string filename, string option);

( ) fileClose

void fileClose(file fp);

( ) fileSeekLine

bool fileSeekLine(file fp, long pos);

( ) fileGetLines

long fileGetLines(file fp);

( ) fileReadString

bool fileReadString(file fp, string& word, string division);

( ) fileReadLine

bool fileReadLine(file fp, string& line);

( ) fileWriteLine

bool fileWriteLine(file fp, string lingString);

( ) fileGetLength

long fileGetLength(file fp);

( ) fileRead

bool fileRead(file fp, dword buffer, long len);

( ) fileWrite

bool fileWrite(file fp, dword buffer, long len);

( ) loadComponent

bool loadComponent(string componentName, string filename);

( ) loadComponent

bool loadComponent(string componentName, string filename, string moduleName);

( ) loadComponent

bool loadComponent(string componentName, string filename, int nType);

( ) unloadComponent

bool unloadComponent(string componentName);

( ) Component2Module

bool Component2Module(string componentName);

( ) executeComponent

bool executeComponent(string componentName, string templModuleName);

( ) createEntity

bool createEntity(string componentName, string templModuleName);

( ) deleteEntity

bool deleteEntity(string componentName);

( ) executeEntity

bool executeEntity(string componentName);

( ) bindEntityToField

bool bindEntityToField(string componentName, string fieldPath);

( ) bindEntities

bool bindEntities(string componentName1, string componentName2);

( ) unbindEntity

void unbindEntity(string componentName);

( ) moveEntityOnRoute

bool moveEntityOnRoute(string componentName, string routeName, float totalTime, float startTime);

( ) moveEntityAutoPath

bool moveEntityAutoPath(string componentName, string fromCoord, string toCoord, float totalTime, float startTime);

( ) moveEntityAutoPath

bool moveEntityAutoPath(string componentName, string fromCoord, string toCoord, float totalTime, float startTime, bool drawPath);

( ) moveEntityAutoPathWithSpeed

bool moveEntityAutoPathWithSpeed(string componentName, string fromCoord, string toCoord, float speed, float startTime);

( ) moveEntityAutoPathWithSpeed

bool moveEntityAutoPathWithSpeed(string componentName, string fromCoord, string toCoord, float speed, float startTime, bool drawPath);

( ) moveEntityOnRouteAnim

string moveEntityOnRouteAnim(string componentName, string routeName, float totalTime, float startTime);

( ) moveEntityAutoPathAnim

string moveEntityAutoPathAnim(string componentName, string fromCoord, string toCoord, float totalTime, float startTime);

( ) moveEntityAutoPathWithSpeedAnim

string moveEntityAutoPathWithSpeedAnim(string componentName, string fromCoord, string toCoord, float speed, float startTime);

( ) placeEntity

void placeEntity(string componentName, float x, float y, float z);

( ) getRouteLength

float getRouteLength(string name);

( ) getValueInt

int getValueInt(string componentName, string varName);

( ) getValueFloat

float getValueFloat(string componentName, string varName);

( ) getValueString

string getValueString(string componentName, string varName);

( ) setValueInt

void setValueInt(string componentName, string varName, int i);

( ) setValueFloat

void setValueFloat(string componentName, string varName, float f);

( ) setValueString

void setValueString(string componentName, string varName, string s);

( ) bindTriggerToVariable

void bindTriggerToVariable(string triName, string componentName, string varName);

( ) bindTriggerToVariable

void bindTriggerToVariable(string triName, string varName);

( ) bindTriggerToVariable

void bindTriggerToVariable(string triName);

( ) sendEntityMessage

void sendEntityMessage(string componentName, string msg);

( ) sendSystemMessage

void sendSystemMessage(string msg);

( ) malloc

dword malloc(long len);

( ) free

void free(dword m);

( ) initialID

void initialID(string IDName, long maxID);

( ) allocID

long allocID(string IDName);

( ) releaseID

void releaseID(string IDName, long ID);

( ) wordOpenFile

handle wordOpenFile(string filename, string templFilename, bool bCreateIfNoExists);

( ) wordCloseFile

void wordCloseFile(handle app);

( ) wordAppendString

bool wordAppendString(handle app, string lineString, string fontName, int fontSize, float array fontColor, bool fontBold, bool fontIterlic, bool underline);

( ) wordExecuteFile

bool wordExecuteFile(string filename);

( ) wordAppendTable

handle wordAppendTable(handle app, int rows, int cols);

( ) wordTableDeleteCell

void wordTableDeleteCell(handle tab, int row, int col);

( ) wordTableMergeCell

void wordTableMergeCell(handle tab, int row, int col, int row2, int col2);

( ) wordSelectionMoveUp

void wordSelectionMoveUp(handle app, int type, int units);

( ) wordSelectionMoveDown

void wordSelectionMoveDown(handle app, int type, int units);

( ) wordSelectionMoveLeft

void wordSelectionMoveLeft(handle app, int type, int units);

( ) wordSelectionMoveRight

void wordSelectionMoveRight(handle app, int type, int units);

( ) wordSelectionTypeText

void wordSelectionTypeText(handle app, string text);

( ) wordSelectionTypeParagraph

void wordSelectionTypeParagraph(handle app);

( ) flashCreate

handle flashCreate(float x1, float y1, float x2, float y2);

( ) flashPlay

void flashPlay(handle flash, string address);

( ) flashStop

void flashStop(handle flash);

( ) flashClose

void flashClose(handle flash);

( ) flashDestroy

void flashDestroy(handle flash);

( ) mediaOpen

bool mediaOpen(string filename);

( ) mediaClose

void mediaClose();

( ) mediaSetWindowPos

void mediaSetWindowPos(float l, float t, float r, float b);

( ) mediaPlay

void mediaPlay();

( ) mediaPause

void mediaPause();

( ) mediaContinue

void mediaContinue();

( ) mediaStop

void mediaStop();

( ) mediaShow

void mediaShow(bool bShow);

( ) mediaGetDuration

float mediaGetDuration();

( ) mediaGetCurrentPosition

float mediaGetCurrentPosition();

( ) mediaSetCurrentPosition

void mediaSetCurrentPosition(float pos);

( ) mediaShowPlayBar

void mediaShowPlayBar(bool b);

( ) recordScreenBegin

void recordScreenBegin(string aviFile, int width, int height);

( ) recordScreenBegin

void recordScreenBegin(string aviFile);

( ) recordScreen

void recordScreen();

( ) recordScreenEnd

void recordScreenEnd();

( ) loadLibrary

handle loadLibrary(string filename);

( ) call

dword call(handle hDll, string funcName, dword param);

( ) dllLoad

handle dllLoad(string filename);

( ) dllFree

bool dllFree(handle hDll);

( ) dllCall

dword dllCall(handle hDll, string funcName, dword param);

( ) dllCall

dword dllCall(handle hDll, string funcName, string param);

( ) dllCall

dword dllCall(handle hDll, string funName, string param1, string param2);

( ) pluginCall

dword pluginCall(string dllName, int index, dword param);

( ) pluginCall

dword pluginCall(string dllName, string funName, dword param);

( ) pluginCall

dword pluginCall(string dllName, string funName, dword param1, dword param2);

( ) pluginCall

dword pluginCall(string dllName, string funName, dword param1, dword param2, dword param3);

( ) pluginCall

dword pluginCall(string dllName, string funName, dword param1, dword param2, dword param3, dword param4);

( ) pluginCall

dword pluginCall(string dllName, string funName, dword param1, dword param2, dword param3, dword param4, dword param5);

( ) pluginCall

dword pluginCall(string dllName, string funName, dword param1, dword param2, dword param3, dword param4, dword param5, dword param6);

( ) pluginCallf

dword pluginCallf(string dllName, string funName, float param);

( ) pluginGetValues

string pluginGetValues(dword dwValue);

( ) pluginGetValuei

int pluginGetValuei(dword dwValue);

( ) pluginGetValuef

float pluginGetValuef(dword dwValue);

( ) pluginIsLoaded

dword pluginIsLoaded(string dllName);

( ) dlgGetNetConnectSetting

int dlgGetNetConnectSetting(string& host, int& port, string& user, string& password);

( ) dlgGetIdName

bool dlgGetIdName(string& id, string& name, string& unit);

( ) dlgGetLoginInfo

bool dlgGetLoginInfo(string& user, string& password);

( ) dlgGetFaults

bool dlgGetFaults(int array& idArray, int& count);

( ) dlgGetSingleFault

bool dlgGetSingleFault(int & causeId);

( ) dlgGetSingleFault

bool dlgGetSingleFault(int & processId, int& causeId);

( ) dlgSetMisfunction

bool dlgSetMisfunction(int array& idArray, int& count);

( ) dlgSetSingleMisfunction

bool dlgSetSingleMisfunction(int & id);

( ) dlgExamination

bool dlgExamination(string questionFile, int questionCount, int limitedTime, int& score);

( ) examInitial

void examInitial(int questionCount, int limitedTime);

( ) examAddQuestion

void examAddQuestion(int type, string title, string option1, string option2, string option3, string option4, float score, int answer);

( ) examShow

void examShow(bool bShow);

( ) examGetScore

float examGetScore();

( ) getDate

void getDate(int& year, int& month, int& day);

( ) getTime

void getTime(int& hour, int& munite, int& seconds);

( ) getWeek

void getWeek(int& week);

( ) getTickCount

dword getTickCount();

( ) getRelativeTickCount

dword getRelativeTickCount();

( ) tick

 dword tick();

( ) appendListener

void appendListener(object& prog);

( ) removeListener

void removeListener(object& prog);

( ) getCurModulePath

string getCurModulePath();

( ) getProgramName

string getProgramName(object& prog);

( ) enableOperator

void enableOperator(bool b);

( ) setCurOperator

dword setCurOperator(string opName, dword param, dword array& selectSet, int count);

( ) setCurOperator

dword setCurOperator(string opName);

( ) setCurOperator

dword setCurOperator(string opName, dword key);

( ) getOperatorType

string getOperatorType(handle hOp);

( ) getMotionTrack

void getMotionTrack(handle hOp, float array& points, float& count);

( ) getImagePath

string getImagePath(string name);

( ) getWholeFilePath

string getWholeFilePath(string localPath);

( ) getCursorPos

void getCursorPos(float& x, float& y);

( ) setCursorPos

void setCursorPos(float x, float y);

( ) createCursor

void createCursor(string cursorName, int width, float height, int hotx, int hoty, string imageFile, string maskFile);

( ) showCursor

void showCursor(bool b);

( ) setCursor

void setCursor(string cursorName);

( ) getWindow

dword getWindow();

( ) getMainWindow

dword getMainWindow();

( ) setMainWindowPosition

void setMainWindowPosition(int x1, int y1, int x2, int y2);

( ) getCurCtrlPoint

string getCurCtrlPoint();

( ) enableMouseButton

void enableMouseButton(int button, bool b);

( ) getWorldPos

void getWorldPos(float sx, float sy, float& x, float& y, float& z);

( ) windowPixelTo2DPos

void windowPixelTo2DPos(int px, int py, float& x, float& y);

( ) screenPixelTo2DPos

void screenPixelTo2DPos(int px, int py, float& x, float& y);

( ) worldPosToScreenPos

void worldPosToScreenPos(float x, float y, float z, float& fx, float& fy);

( ) objectPosToScreenPos

void objectPosToScreenPos(string fieldpath, float x, float y, float z, float& fx, float& fy);

( ) keyDownd

void keyDownd(string key);

( ) keyUp

void keyUp(string key);

( ) setSceneMaxRadius

void setSceneMaxRadius(float r);

( ) setProjectionRatio

void setProjectionRatio(float r);

( ) setTickFactor

void setTickFactor(float f);

( ) setFontPath

void setFontPath(string fontName, string fontFile);

( ) pauseSystem

void pauseSystem();

( ) continueSystem

void continueSystem();

( ) stopSystem

void stopSystem();

( ) sleep

void sleep(int time);

( ) comOpen

dword comOpen(int comm_id);

( ) comSetBaud

dword comSetBaud(dword handle, int buad);

( ) comClose

void comClose(dword handle);

( ) comSend

void comSend(dword handle, byte array& bytes, long count);

( ) OnCommReceive

// void OnCommReceive(dword hComm);

( ) trackPopupMenu

void trackPopupMenu(dword hwnd, int x, int y, string menuName);

( ) showPopupMenuBottom

void showPopupMenuBottom(float x, float y, string menuName);

( ) showPopupMenu

void showPopupMenu(float x, float y, string menuName);

( ) enableMenuItem

void enableMenuItem(string menuName, long id, bool b);

( ) checkMenuItem

void checkMenuItem(string menuName, long id, bool b);

( ) createMenu

void createMenu(string menuName);

( ) addSubMenuItem

void addSubMenuItem(string menuName, string fatherMenuName, string subMenuName, long subId);

( ) clearMenuItems

void clearMenuItems(string menuName);

( ) setMenuBackColor

void setMenuBackColor(string menuName, float r, float g, float b);

( ) showActiveMagicMenu

//void showActiveMagicMenu(bool b);

( ) setActiveMagicMenu

//void setActiveMagicMenu(string menuName);

( ) setMenuCaption

void setMenuCaption(string menuName, string caption);

( ) getMenuCaption

void getMenuCaption(string menuName, string& caption);

( ) updateMenuTreePos

void updateMenuTreePos(string menuName);

( ) selectMenu

void selectMenu(string menuName, string subMenuName);

( ) foldMenu

void foldMenu(string menuName);

( ) moveSubMenuUp

void moveSubMenuUp(string menuName);

( ) moveSubMenuDown

void moveSubMenuDown(string menuName);

( ) setMenuFirstIndex

void setMenuFirstIndex(string menuName, int index);

( ) setMenuMaxVisibleCount

void setMenuMaxVisibleCount(string menuName, int count);

( ) getMenuActiveCount

int getMenuActiveCount(string menuName);

( ) sendCommand

int sendCommand(int id, dword param);

( ) postCommand

bool postCommand(int id, dword param);

( ) notifyCtrlEvent

void notifyCtrlEvent(dword param);

( ) notifyCtrlEvent

void notifyCtrlEvent(int id, dword param);

( ) notifyWebMessage

void notifyWebMessage(string msg);

( ) mapCreate

void mapCreate(string name, string filename, float x, float y, float z, float heightDis);

( ) mapLocatePoint

void mapLocatePoint(string name, string imageName, string pathname, float x, float y, float z);

( ) mapLocateCamera

void mapLocateCamera(string name, string imageName);

( ) mapSetPosition

void mapSetPosition(string name, float x, float y, float z);

( ) mapSetPosition

void mapSetPosition(string name, string posType);

( ) mapFollowPoint

void mapFollowPoint(string pathname, float x, float y, float z);

( ) mapFollowCamera

void mapFollowCamera(string name);

( ) mapGetRoute

void mapGetRoute(int& count, float array& points);

( ) mapSetProp

void mapSetProp(string name, string pname, string pval);

( ) setWaveLevel

void setWaveLevel(int level);

( ) setWaveAmplitude

void setWaveAmplitude(float amp);

( ) setWeather

void setWeather(string type);

( ) setSun

void setSun(float theta, float phi, float exposure);

( ) setSunColor

void setSunColor(float r, float g, float b);

( ) setWind

void setWind(float x, float y, float len);

( ) createWorld

void createWorld();

( ) createSea

void createSea();

( ) setSeaColor

void setSeaColor(float r, float g, float b, float a);

( ) enableSea

void enableSea(bool b);

( ) setSeaPosition

 void setSeaPosition(float x, float y, float z);

( ) enableSun

void enableSun(bool b);

( ) enableAtmosphere

void enableAtmosphere(bool b);

( ) enableLight

void enableLight(int index, bool b);

( ) setLightPosition

void setLightPosition(int index, float x, float y, float z);

( ) setLightDiffuse

void setLightDiffuse(int index, float r, float g, float b);

( ) setLightAmbient

void setLightAmbient(int index, float r, float g, float b);

( ) setLightSpecular

void setLightSpecular(int index, float r, float g, float b);

( ) loadLights

void loadLights(string fieldpath, string filename);

( ) removeLights

void removeLights(string fieldpath);

( ) setFogDensity

void setFogDensity(string vport, float density);

( ) setFogColor

void setFogColor(string vport, float r, float g, float b);

( ) setFogColor

void setFogColor(string vport, float h1, float h2, float r, float g, float b);

( ) enableFog

//void enableFog(string fieldName, bool b);

( ) enableFog

void enableFog(string vport, bool b);

( ) setSkyBox

void setSkyBox(string filename);

( ) createCloud

void createCloud(string name, float B, float L, float H, float sx, float sy, float sz);

( ) setCloudDensity

void setCloudDensity(string name, float d);

( ) setCloudRainFactor

void setCloudRainFactor(string name, float f);

( ) setCloudPosition

void setCloudPosition(string name, float B, float L, float H);

( ) setCloudSize

void setCloudSize(string name, float sx, float sy, float sz);

( ) setCloudWeather

void setCloudWeather(string name, string filename);

( ) createWake

handle createWake(string fieldpath, float ox, float oy, float oz, float fx, float fy, float fz, float ux, float uy, float uz, float l, float w);

( ) enableWake

void enableWake(handle hWake, bool b);

( ) shipCreate

bool shipCreate(string shipName);

( ) shipDelete

bool shipDelete(string shipName);

( ) shipInitialize

void shipInitialize(string shipName, float x, float y, float z, float courseAngle);

( ) shipSetActive

void shipSetActive(string shipName, bool bActive);

( ) shipSetOnSea

void shipSetOnSea(string shipName);

( ) shipSetPropellerSpeed

void shipSetPropellerSpeed(string shipName, float speed);

( ) shipSetRudderAngle

void shipSetRudderAngle(string shipName, float angle);

( ) shipGetPropellerSpeed

void shipGetPropellerSpeed(string shipName, float& speed);

( ) shipGetSpeed

void shipGetSpeed(string shipName, float& speed);

( ) shipGetRudderAngle

void shipGetRudderAngle(string shipName, float& angle);

( ) shipSetMassFactor

void shipSetMassFactor(string shipName, float factor);

( ) shipSetThrustFactor

void shipSetThrustFactor(string shipName, float factor);

( ) shipSetRudderFactor

void shipSetRudderFactor(string shipName, float factor);

( ) shipSetResistFactor

void shipSetResistFactor(string shipName, float factor);

( ) shipSetStabilityFactor

void shipSetStabilityFactor(string shipName, float factor);

( ) shipPutCamera

void shipPutCamera(string shipName, float array values, bool bSway);

( ) shipSetField

void shipSetField(string shipName, string filedPath);

( ) shipSetCenter

void shipSetCenter(string shipName, float x, float y, float z);

( ) shipSetForward

void shipSetForward(string shipName, float x, float y, float z);

( ) shipSetUpward

void shipSetUpward(string shipName, float x, float y, float z);

( ) shipSetWidth

void shipSetWidth(string shipName, float width);

( ) shipSetLength

void shipSetLength(string shipName, float length);

( ) shipSetDeep

void shipSetDeep(string shipName, float deep);

( ) shipSetDraught

void shipSetDraught(string shipName, float draught);

( ) shipSetHeadLength

void shipSetHeadLength(string shipName, float len);

( ) shipGetCourseAngle

void shipGetCourseAngle(string shipName, float& angle);

( ) shipGetHeelingAngle

void shipGetHeelingAngle(string shipName, float& angle);

( ) shipGetTrimmingAngle

void shipGetTrimmingAngle(string shipName, float& angle);

( ) shipGetPosition

void shipGetPosition(string shipName, float& x, float& y);

( ) shipAddRoutePoint

void shipAddRoutePoint(string shipName, float x, float y);

( ) shipClearRoutePoints

void shipClearRoutePoints(string shipName);

( ) shipBeginNavigate

void shipBeginNavigate(string shipName);

( ) shipEndNavigate

void shipEndNavigate(string shipName);

( ) shipGetTarget

bool shipGetTarget(string shipName, int& index, float& dis);

( ) shipSetProperty

void shipSetProperty(string shipName, string propName, string value);

( ) planeCreate

bool planeCreate(string planeName);

( ) planeDelete

bool planeDelete(string planeName);

( ) planeSetField

void planeSetField(string planeName, string filedPath);

( ) planeSetTruss

void planeSetTruss(string planeName, float ox, float oy, float oz, float fx, float fy, float fz, float ux, float uy, float uz);

( ) planeInitialize

void planeInitialize(string planeName, float x, float y, float z, float courseAngle);

( ) planeSetActive

void planeSetActive(string planeName, bool bActive);

( ) planeOperate

void planeOperate(string planeName, string command, float param);

( ) planeGetValue

bool planeGetValue(string planeName, string type, float& value);

( ) planeSetValue

bool planeSetValue(string planeName, string type, float value);

( ) planeSetValues

bool planeSetValues(string planeName, string type, float array& value, int count);

( ) planeGetStatus

bool planeGetStatus(string planeName, string& sta);

( ) planeAddRoutePoint

void planeAddRoutePoint(string planeName, float x, float y, float z);

( ) planeClearRoutePoints

void planeClearRoutePoints(string planeName);

( ) planeBeginNavigate

void planeBeginNavigate(string planeName, bool bEntryOnFirstPoint);

( ) planeEndNavigate

void planeEndNavigate(string planeName);

( ) planeGetTarget

bool planeGetTarget(string planeName, int& index, float& dis);

( ) oculusCreate

handle oculusCreate();

( ) oculusDestroy

void oculusDestroy(handle h);

( ) oculusSetField

void oculusSetField(handle h, string filedPath);

( ) oculusSetPosition

void oculusSetPosition(handle h, float x, float y, float z);

( ) oculusSetTargetDistance

//void oculusSetTargetDistance(handle h, float d);

( ) oculusOpen

void oculusOpen(handle h);

( ) oculusClose

void oculusClose(handle h);

( ) startParticle

void startParticle(string name);

( ) stopParticle

void stopParticle(string name);

( ) killParticle

void killParticle(string name);

( ) showParticle

 void showParticle(string name, bool b);

( ) setParticleCount

void setParticleCount(string name, int count);

( ) setParticleInterval

void setParticleInterval(string name, int interval);

( ) setParticleSize

void setParticleSize(string name, float size);

( ) setParticleColor

void setParticleColor(string name, int index, float age, float r, float g, float b);

( ) setPipelingAxis

void setPipelingAxis(string name, float array& axisArr, int pcount);

( ) setPipelingSection

void setPipelingSection(string name, float array& sectionArr, int pcount);

( ) setPipelingForce

void setPipelingForce(string name, float axisF, float radiusF, float rotateF);

( ) setPipelingColor

void setPipelingColor(string name, float axisPos, float r, float g, float b);

( ) setParticleInitialVelocity

void setParticleInitialVelocity(string name, float angle, float minVal, float maxVal);

( ) explode

void explode(float x, float y, float z, float radius);

( ) explode

void explode(string name, float x, float y, float z, float radius);

( ) burn

void burn(string name, string pathname, float size, float x, float y, float z, float vx, float vy, float vz, float depth);

( ) burnInCylinder

void burnInCylinder(string name, string pathname, float size, float x, float y, float z, float vx, float vy, float vz, float length, float depth);

( ) burnStop

void burnStop(string name);

( ) enableJet

void enableJet(string name, bool b);

( ) runJet

void runJet(string name, float time);

( ) runJet

void runJet(string name);

( ) camZoomToField

void camZoomToField(dword key);

( ) camZoomToFieldAnim

void camZoomToFieldAnim(dword key, float time);

( ) camZoomToFieldAnimByPath

void camZoomToFieldAnimByPath(string pathname, float time);

( ) camSetDisableAllowed

void camSetDisableAllowed(BOOL b);

( ) camGetCamera

void camGetCamera(string vportName, dword& key, float array& values);

( ) camGetCamera

void camGetCamera(string vportName, float array& values);

( ) camSetCamera

void camSetCamera(string vportName, dword key, float array values);

( ) camSetCamera

void camSetCamera(string vportName, dword key, float ex, float ey, float ez, float tx, float ty, float tz, float ux, float uy, float uz);

( ) camSetCameraHost

void camSetCameraHost(string hostName);

( ) camSetCameraFov

void camSetCameraFov(string vportName, float angle);

( ) camZoom

void camZoom(float factor);

( ) camLift

void camLift(float distance);

( ) camSetBasisField

void camSetBasisField(string vportName, dword key, bool bConvertCamera);

( ) camSetVertical

void camSetVertical(float x, float y, float z);

( ) camLock

void camLock(float distance, float minAngle, float maxAngle);

( ) camLock

void camLock(float minDis, float maxDis, float minAngle, float maxAngle);

( ) camUnlock

void camUnlock();

( ) camSetWalkSpeed

void camSetWalkSpeed(float speed);

( ) camGetWalkSpeed

void camGetWalkSpeed(float& speed);

( ) camSetCameraStep

void camSetCameraStep(float step);

( ) camGetCameraStep

void camGetCameraStep(float& step);

( ) camSetCameraHeight

void camSetCameraHeight(float height);

( ) camGetCameraHeight

void camGetCameraHeight(float& height);

( ) camSetCameraUpward

void camSetCameraUpward(float x, float y, float z);

( ) camGetCameraUpward

void camGetCameraUpward(float& x, float& y, float& z);

( ) camSetGroundField

void camSetGroundField(string pathname);

( ) camSetEyeDistance

void camSetEyeDistance(float dis);

( ) camSetUIDepth

void camSetUIDepth(float dis);

( ) camPlaceGuideCamera

void camPlaceGuideCamera(string camName, string vportName, dword key, float array& values, float scale);

( ) camShowGuideCamera

void camShowGuideCamera(string camName, bool b);

( ) enableCameraCollision

void enableCameraCollision(bool bCollision);

( ) camFindRouteTo

bool camFindRouteTo(float array& values);

( ) camFindRoute

bool camFindRoute(float array& values1, float array& values2);

( ) camFindRouteTo

bool camFindRouteTo(float posx, float posy, float posz, float tarx, float tary, float tarz, float upx, float puy, float upz);

( ) camZoom

void camZoom(float dis);

( ) moveingCamera

void moveingCamera(string movingDir,float dis);

( ) camMove

void camMove(string baseField, float x, float y, float z, float dis);

( ) camSetCollisionOffset

void camSetCollisionOffset(float front, float left, float up);

( ) applyCamera

void applyCamera(string ame);

( ) enableProcess

void enableProcess(string processName, bool bEnable, bool bTraning);

( ) beginProcess

void beginProcess(string processName);

( ) beginProcess

void beginProcess(string processName, float width, float height);

( ) endProcess

void endProcess(string processName);

( ) markProcess

float markProcess(string processName, int& missNum, int array& missArr, int& errNum, int array& errArr, int& correctNum, int array& correctArr);

( ) markProcess

float markProcess(string processName, int mainNum, int array& mainSteps, int array& subNum, int array& subSteps, int& missNum, int array& missArr, int& errNum, int array& errArr, int& correctNum, int array& correctArr);

( ) playProcess

void playProcess(string processName);

( ) replayProcess

void replayProcess(string processName);

( ) replayProcessCallback

void replayProcessCallback(string processName);

( ) replayProcessEnd

void replayProcessEnd(string processName);

( ) getProcessName

string getProcessName(int id);

( ) getCauseName

string getCauseName(int id);

( ) getProcessNameByCauseId

string getProcessNameByCauseId(int id);

( ) setStepAutoFlag

void setStepAutoFlag(string processName, bool bEnable);

( ) getNextStep

void getNextStep(string fualtName, int examineId, int stepId, int& nextExamineId, int& nextStepId);

( ) isValidStep

bool isValidStep(string processName, int id);

( ) isValidStepReport

bool isValidStepReport(string processName, int id);

( ) isValidStep

//bool isValidStep(string fualtName, int examineId, int stepId, int nextExamineId, int nextStepId);

( ) isValidStepEx

bool isValidStepEx(string fualtName, int mainNum, int array& mainSteps, int array& subNum, int array& subSteps, int examineId, int stepId, int nextExamineId, int nextStepId);

( ) getStepName

string getStepName(string processName, int id);

( ) getStepName

string getStepName(int id);

( ) getStepIndex

int getStepIndex(string processName, int id);

( ) getStepMark

float getStepMark(string processName, int id);

( ) recordStep

void recordStep(string processName, int id);

( ) recordStepAuto

bool recordStepAuto(string processName, int id);

( ) findHistoryStep

bool findHistoryStep(string processName, long timeBegin, long timeEnd, int& id, int& type);

( ) getHistorySteps

void getHistorySteps(string processName, int& stepCount, int array& steps);

( ) setProcessSteps

void setProcessSteps(string processName, int& missNum, int array& missArr, int& errNum, int array& errArr, int& correctNum, int array& correctArr);

( ) workshopRead

bool workshopRead(string filename);

( ) workshopRun

bool workshopRun();

( ) workshopClear

void workshopClear();

( ) workshopExecuteStep

bool workshopExecuteStep(string part, string action, long time);

( ) workshopExecuteStep

bool workshopExecuteStep(long part, long action, long time);

( ) workshopAddMapping

void workshopAddMapping(string triggerPart, string executePart);

( ) workshopFindMapping

string workshopFindMapping(string triggerPart);

( ) workshopRemoveMapping

void workshopRemoveMapping(string triggerPart);

( ) workshopRemoveTriggerOnePart

void workshopRemoveTriggerOnePart(string trigger);

( ) workshopRemoveTriggerOnePart

void workshopRemoveTriggerOnePart(string trigger, bool bFront);

( ) workshopGetTriggerPart

bool workshopGetTriggerPart(string trigger, string& part);

( ) workshopGetTriggerPartCount

int workshopGetTriggerPartCount(string trigger);

( ) workshopRemoveTriggerAllParts

void workshopRemoveTriggerAllParts(string trigger);

( ) workshopGetPartField

bool workshopGetPartField(string part, string& pathname);

( ) workshopGetPartID

bool workshopGetPartID(string pathname, string& id);

( ) workshopMoveTriggerOnePart

void workshopMoveTriggerOnePart(string triggerFrom, string triggerTo, bool bFront);

( ) workshopGetRGVCurPos

void workshopGetRGVCurPos(string part, string& pos);

( ) workshopMoveRGVTo

void workshopMoveRGVTo(string part, string line, string pos);

( ) workshopSetBufferTime

void workshopSetBufferTime(long time);

( ) workshopGetPartCount

int workshopGetPartCount();

( ) workshopGetPartStatus

bool workshopGetPartStatus(int index, string& pathname, dword& status);

( ) workshopInitializeStatus

int workshopInitializeStatus();

( ) workshopCall

dword workshopCall(string name, string value);

( ) enableSequence

void enableSequence(string name, bool b);

( ) playSequence

void playSequence(string name, bool b);

( ) netCreateServer

bool netCreateServer(string& hostAddress, int port, string user, string password);

( ) netConnect

bool netConnect(string hostAddress, int port, string user, string password);

( ) netClose

void netClose();

( ) netGetHostAddress

void netGetHostAddress(string& hostAddress);

( ) netSendMessage

bool netSendMessage(string address, int port, string message);

( ) netSendData

bool netSendData(string address, int port, byte array& data, int len);

( ) netSend

bool netSend(string address, int port, byte array& data, int len);

( ) netTransformField

void netTransformField(string address, int port, string pathname);

( ) netSetReactionDefaultSetting

void netSetReactionDefaultSetting(string setting);

( ) netSetEditText

void netSetEditText(string address, int port, string editName, int row, string content);

( ) netClearReceiveBuffer

void netClearReceiveBuffer();

( ) netSetVariableInt

void netSetVariableInt(string address, int port, string varName, int val);

( ) netSetVariableFloat

void netSetVariableFloat(string address, int port, string varName, float val);

( ) netSetVariableString

void netSetVariableString(string address, int port, string varName, string str);

( ) netSetVariableLong

void netSetVariableLong(string address, int port, string varName, long val);

( ) netCopyVariable

void netCopyVariable(string address, int port, string varName);

( ) netCopyModuleVariables

void netCopyModuleVariables(string address, int port, string moduleName, bool bApplySub);

( ) netCopyField

void netCopyField(string address, int port, string fieldPath);

( ) netStartAnimation

void netStartAnimation(string address, int port, string animName);

( ) netGetIntProperty

int netGetIntProperty(string name);

( ) netGetProperty

string netGetProperty(string name);

( ) netGetProperty

string netGetProperty(string name, int dwData);

( ) netCreateUDP

bool netCreateUDP(int port, string funcName);

( ) netOpenUDP

bool netOpenUDP(string serverAddr, int port, string funcName);

( ) netSendUDP

bool netSendUDP(int port, byte array& data, int len);

( ) netSendUDP

bool netSendUDP(int port, string message);

( ) netCloseUDP

void netCloseUDP(int port);

( ) CallbkReceiveUdp

void CallbkReceiveUdp(byte array& data, int len);

( ) ddsStart

bool ddsStart(string funcName, string iniXml);

( ) ddsStop

void ddsStop();

( ) ddsWrite

bool ddsWrite(string name, string value);

( ) ddeCreate

bool ddeCreate(bool isServer, string serviceName, string funcName);

( ) ddeClose

void ddeClose(string serviceName);

( ) ddeSetData

dword ddeSetData(string serviceName, string item, string val);

( ) ddeUpdateData

bool ddeUpdateData(string serviceName, string topic, string item);

( ) ddeConnect

bool ddeConnect(string serviceName, string topic);

( ) ddeRequestOnce

bool ddeRequestOnce(string serviceName, string item);

( ) ddeStartRequestLoop

bool ddeStartRequestLoop(string serviceName, string item);

( ) ddeStopRequestLoop

bool ddeStopRequestLoop(string serviceName, string item);

( ) ddeSendCommand

bool ddeSendCommand(string serviceName, string command);

( ) showTable

void showTable(string name, bool b);

( ) setTablePos

void setTablePos(string name, float x, float y, float z);

( ) setTableTitle

void setTableTitle(string name, string title);

( ) setTableItem

void setTableItem(string name, int index, string item);

( ) setTableValue

void setTableValue(string name, int index, string value);

( ) setTableLineCount

void setTableLineCount(string name, int count);

( ) startVolumeSequence

void startVolumeSequence(string name);

( ) stopVolumeSequence

void stopVolumeSequence(string name);

( ) resetVolumeSequence

void resetVolumeSequence(string name);

( ) setSubVolume

void setSubVolume(string name, string subName);

( ) setVolumeSourceFile

bool setVolumeSourceFile(string name, string filename);

( ) setFieldVolume

bool setFieldVolume(string fieldPath, string volumeName);

( ) setVolumePoints

bool setVolumePoints(string name, float array& points, int count);

( ) setVolumeValues

bool setVolumeValues(string name, float array& values, int dimension, int count);

( ) getVolumeValue

bool getVolumeValue(string name, float x, float y, float z, double array& value, int dimension);

( ) getVolumeValueByIndex

bool getVolumeValueByIndex(string name, int index, float x, float y, float z, double array& value, int dimension);

( ) getVolumeValue

bool getVolumeValue(string name, float x, float y, float z, double& value);

( ) getVolumeValueByIndex

bool getVolumeValueByIndex(string name, int index, float x, float y, float z, double& value);

( ) setVolumeColorSetting

void setVolumeColorSetting(string name, int index, float value, float r, float g, float b, float a);

( ) clearVolumeColorSettings

void clearVolumeColorSettings(string name);

( ) createVolumeSequenceAnimation

bool createVolumeSequenceAnimation(string name, string filename);

( ) setChartPos

void setChartPos(string name, float x, float y, float z);

( ) setChartSize

void setChartSize(string name, float w, float h);

( ) setChartVariable

void setChartVariable(string name, string varName);

( ) setChartColor

void setChartColor(string name, int index, float r, float g, float b);

( ) setPercentCount

void setPercentCount(string name, int c);

( ) setPercentColor

void setPercentColor(string name, int i, float r, float g, float b);

( ) setPercentValue

void setPercentValue(string name, int i, float value);

( ) setPercentDescr

void setPercentDescr(string name, int i, string descr);

( ) setPercentValueRange

void setPercentValueRange(string name, float min, float max);

( ) instanceAllChartVariables

void instanceAllChartVariables(string moduleName);

( ) setGridCellString

void setGridCellString(string name, int i, int j, string val);

( ) setGridCellColor

void setGridCellColor(string name, int i, int j, float r, float g, float b);

( ) setGridColWidth

void setGridColWidth(string name, int j, float colWidth);

( ) setHistogramRange

void setHistogramRange(string name, float min, float max);

( ) setCurveRange

void setCurveRange(string name, float minX, float maxX, float minY, float maxY);

( ) setCurveBackgroundStyle

void setCurveBackgroundStyle(string name, int style);

( ) dbConnect

handle dbConnect(string cnnString);

( ) dbClose

void dbClose(handle hCnn);

( ) dbOpenRecordSet

handle dbOpenRecordSet(handle cnn, string tableName);

( ) dbCloseRecordSet

void dbCloseRecordSet(handle record);

( ) dbFindFirst

bool dbFindFirst(handle record, string strFilter);

( ) dbFindNext

bool dbFindNext(handle record, string strFilter);

( ) dbMoveFirst

bool dbMoveFirst(handle record);

( ) dbMoveLast

bool dbMoveLast(handle record);

( ) dbMoveNext

bool dbMoveNext(handle record);

( ) dbExecuteSQL

void dbExecuteSQL(handle record, string strSQL);

( ) dbExecuteSQLEx

handle dbExecuteSQLEx(handle hCnn, string strSQL);

( ) dbExecuteSQLSyn

void dbExecuteSQLSyn(handle hCnn, string strSQL, string callback);

( ) dbIsBOF

bool dbIsBOF(handle record);

( ) dbIsEOF

bool dbIsEOF(handle record);

( ) dbAddNew

bool dbAddNew(handle record);

( ) dbDelete

bool dbDelete(handle record);

( ) dbUpdate

bool dbUpdate(handle record);

( ) dbGetRecordCount

long dbGetRecordCount(handle record);

( ) dbGetString

bool dbGetString(handle record, string fieldName, string& str);

( ) dbGetLong

bool dbGetLong(handle record, string fieldName, long& lVal);

( ) dbGetBits

bool dbGetBits(handle record, string fieldName, dword& buffer, long& count);

( ) dbGetFloat

bool dbGetFloat(handle record, string fieldName, float& lVal);

( ) dbGetTime

bool dbGetTime(handle record, string fieldName, int& year, int& month, int& day, int& hour, int& minute, int& second);

( ) dbGetTime

bool dbGetTime(handle record, string fieldName, int& year, int& month, int& day, int& hour, int& minute, int& second, int& minisec);

( ) dbSetString

bool dbSetString(handle record, string fieldName, string str);

( ) dbSetLong

bool dbSetLong(handle record, string fieldName, long lVal);

( ) dbSetBits

bool dbSetBits(handle record, string fieldName, dword buffer, long count);

( ) dbSetFloat

bool dbSetFloat(handle record, string fieldName, float fVal);

( ) dbSetTime

bool dbSetTime(handle record, string fieldName, int year, int month, int day, int hour, int minute, int second);

( ) mysqlConnect

handle mysqlConnect(string szHost, int uPort, string szDbName, string szUser, string szPawd);

( ) mysqlExecuteSQL

bool mysqlExecuteSQL(handle database, string strSQL, string callback);

( ) mysqlClose

void mysqlClose(handle database);

( ) startDataSource

bool startDataSource(string name);

( ) stopDataSource

bool stopDataSource(string name);

( ) appendDataTimeBuffer

void appendDataTimeBuffer(string name, float time, float array data, int len);

( ) interpolateDataTimeBuffer

bool interpolateDataTimeBuffer(string name, float time, float array& data, int len);

( ) setDataTimeBufferLength

void setDataTimeBufferLength(string name, float timeLen);

( ) setDataTimeBufferCycle

void setDataTimeBufferCycle(string name, float cycle);

( ) generatorCreate

void generatorCreate(string name, string variableName, string filename);

( ) generatorPlay

void generatorPlay(string name);

( ) generatorStop

void generatorStop(string name);

( ) generatorJumpTo

void generatorJumpTo(string name, float time);

( ) setEditText

void setEditText(string name, int lineIndex, string text);

( ) setEditMultiText

void setEditMultiText(string name, string text);

( ) insertEditText

void insertEditText(string name, string text);

( ) insertEdit

void insertEdit(dword key, string name, string nameRef);

( ) insertEdit

void insertEdit(string field, string name, string nameRef);

( ) operateEdit

void operateEdit(string name, string operatorStr);

( ) getEditText

void getEditText(string name, int lineIndex, string& text);

( ) getEditMultiText

void getEditMultiText(string name, string& text);

( ) getEditLineCount

int getEditLineCount(string name);

( ) scrollEditLine

void scrollEditLine(string name, int lineNum);

( ) clearEditContent

void clearEditContent(string name);

( ) setEditFocus

void setEditFocus(string name, bool bFocus);

( ) setEditBkClr

void setEditBkClr(string name, float r, float g, float b);

( ) drawLineOnEdit

void drawLineOnEdit(string name, int x1, int y1, int x2, int y2, float r, float g, float b, int width);

( ) drawLinesOnEdit

void drawLinesOnEdit(string name, int array& points, int count, float r, float g, float b, int width);

( ) csSolvePart

bool csSolvePart(string asmName, string partName);

( ) csRotatePart

bool csRotatePart(string asmName, string partName, float x, float y, float z, float axisx, float axisy, float axisz, float angle);

( ) csMovePart

bool csMovePart(string asmName, string partName, float axisx, float axisy, float axisz, float dis);

( ) csDragPart

bool csDragPart(string asmName, string partName, int freedomIndex, float dis);

( ) csMakePoleParallel

bool csMakePoleParallel(string pole1, string pole2);

( ) csMakePoleAlign

bool csMakePoleAlign(string pole1, string pole2);

( ) csMakePoleCoAxis

bool csMakePoleCoAxis(string pole1, string pole2);

( ) csMakePoleCoAxis

bool csMakePoleCoAxis(string pole1, string pole2, bool samedir);

( ) csClearTempConstrainModel

void csClearTempConstrainModel();

( ) hookKeyboard

void hookKeyboard();

( ) hookGetKeyboard

void hookGetKeyboard(string& keys);

( ) calcScore

float calcScore(int stdNum, int array& stdArr, int array& stdScores, int freeNum, int array& freeArr, int opNum, int array& opArr, int& missNum, int array& missArr, int& errNum, int array& errArr, int& correctNum, int array& correctArr);

( ) executeScript

bool executeScript( string strScript );

( ) executeScriptFile

bool executeScriptFile( string filename );

( ) loadScript

 bool loadScript(string filename);

( ) setVariableInterface

bool setVariableInterface( string filename,string type );

( ) initRegTime

void initRegTime(string strReg);

( ) GetRegTime

int GetRegTime(string strReg);

( ) GetLastTime

int GetLastTime(string strReg);

( ) GetNonceTime

int GetNonceTime();

( ) shellExecute

void shellExecute(string strExePath);

( ) shellExecuteA

void shellExecuteA(string strExePath);

( ) closeProgram

void closeProgram(string strExePath);

( ) minProgram

void minProgram(string strExePath);

( ) maxProgram

void maxProgram(string strExePath);

( ) settingsWorkdir

void settingsWorkdir(string strExePath);

( ) settingslicense

void settingslicense(string strExePath);

( ) setDialAngle

void setDialAngle(string strExePath,float fDial);

( ) getAnimState

bool getAnimState( string animName ,string strType);

( ) setButtonState

bool setButtonState( string butName,string strType );

( ) createDimension

dword createDimension(float x1, float y1, float z1, float x2, float y2, float z2, string text);

( ) SetWideView

void SetWideView(bool bFocus);

( ) SetMaterialHdrBlend

void SetMaterialHdrBlend(string strExePath,float reflectRatio);

( ) SetSceneSizeXYZR

void SetSceneSizeXYZR(float x,float y,float z,float r);

( ) SetSceneSizeR

void SetSceneSizeR(float r);

( ) getTwoOjbDistance

float getTwoOjbDistance( string objPath1 ,string objPath2 ,string objPostion1,string objPostion2);

( ) SetWrenchEnabld

void SetWrenchEnabld(string strWrench,BOOL bEnable);

( ) moveWorldField

void moveWorldField(string pathname, float axisx, float axisy, float axisz, float dis);

( ) setNutEnable

void setNutEnable(string strNut, BOOL bEnable);

( ) setOptionValuei

void setOptionValuei(string option_name, int value);

( ) setNearFar

void setNearFar(string vportName, float near, float faraway);

( ) getNearFar

void getNearFar(string vportName, float& near, float& faraway);

( ) setOptionValuef

void setOptionValuef(string option_name, float value);

( ) setSceneOption

void setSceneOption(string option_name, string value);

( ) setHomeColor

void setHomeColor(float x,float y,float z,float r);

( ) setJitterCount

void setJitterCount(int nCount);

( ) setTwinkle

void setTwinkle(string strPath,bool bTwinkle);

( ) OnMouseMove

virtual void OnMouseMove( long nFlags, float x, float y );

( ) OnLButtonDown

virtual void OnLButtonDown( long nFlags, float x, float y );

( ) OnLButtonUp

virtual void OnLButtonUp( long nFlags, float x, float y );

( ) CQueue

void CQueue();

( ) ~CQueue

void ~CQueue();

( ) Push

void Push( int id );

( ) Pop

void Pop( );

( ) Front

int Front( );

( ) Back

int Back( );

( ) Empty

void Empty( );

( ) Size

int Size( );

( ) CStringQueue

void CStringQueue();

( ) ~CStringQueue

void ~CStringQueue();

( ) Push

void Push( string str );

( ) Pop

void Pop( );

( ) Front

string Front( );

( ) Back

string Back( );

( ) Empty

void Empty( );

( ) Size

int Size( );

( ) CXmlParser

void CXmlParser();

( ) ~CXmlParser

void ~CXmlParser();

( ) Clear

void Clear();

( ) ReadFile

bool ReadFile( string filename );

( ) ReadXMLString

bool ReadXMLString( string filename );

( ) NewXML

bool NewXML();

( ) GetXMLString

bool GetXMLString(string& xmlstring);

( ) RootNode

bool RootNode();

( ) FirstChild

bool FirstChild();

( ) Child

int Child(string childname, int index);

( ) Parent

bool Parent();

( ) Next

bool Next();

( ) Previous

bool Previous();

( ) NodeName

string NodeName();

( ) Attribute

string Attribute( string name );

( ) InsertChild

bool InsertChild(string nodename);

( ) SetNodeName

bool SetNodeName(string nodename);

( ) SetAttribute

void SetAttribute( string name, string value );

( ) InsertText

bool InsertText(string text);

( ) NodePtr

dword NodePtr();

( ) SetCurrentNodeByPtr

bool SetCurrentNodeByPtr(dword ptr);

( ) CFlashPlayer

void CFlashPlayer();

( ) ~CFlashPlayer

void ~CFlashPlayer();

( ) Create

void Create(float x1, float y1, float x2, float y2);

( ) SetMovie

void SetMovie(string address);

( ) Play

void Play();

( ) Pause

void Pause();

( ) Stop

void Stop();

( ) Rewind

void Rewind();

( ) GotoFrame

void GotoFrame(long iFrame);

( ) Close

void Close();

( ) SetLoop

void SetLoop(bool b);

( ) GetLoop

bool GetLoop();

( ) SetPlaying

void SetPlaying(bool b);

( ) GetPlaying

bool GetPlaying();

( ) CallFunction

string CallFunction(string name);

( ) SetVariable

void SetVariable(string name, string val);

( ) GetVariable

string GetVariable(string name);

( ) CListCtrl

void CListCtrl();

( ) ~CListCtrl

void ~CListCtrl();

( ) Create

void Create(dword dwStyle, float x1, float y1, float x2, float y2);

( ) InsertColumn

void InsertColumn(int nCol, string title, int width);

( ) InsertItem

void InsertItem(int nItem, string itemStr);

( ) SetItemText

void SetItemText(int nItem, int nSubItem, string itemStr);

( ) GetItemText

void GetItemText(int nItem, int nSubItem, string& itemStr);

( ) Show

void Show(bool bShow);

( ) Clear

void Clear();

( ) CCurve

void CCurve();

( ) ~CCurve

void ~CCurve();

( ) SetNormal

void SetNormal(float x, float y, float z);

( ) AddLine

void AddLine(float array& start, float array& end);

( ) AddArc

void AddArc(float array& center, float array& start, float array& end, bool bCw);

( ) Clear

void Clear();

( ) Interplote

void Interplote(float u, float array& point);

( ) GetLength

float GetLength();

( ) CAnimation

void CAnimation();

( ) ~CAnimation

void ~CAnimation();

( ) SetName

void SetName(string name);

( ) Schedule

void Schedule(long time);

( ) CreateWait

void CreateWait(long startTime, long endTime);

( ) CreateTrack

void CreateTrack(dword key, long startTime, long endTime, handle hOpMotion);

( ) CreateTrack

void CreateTrack(dword key, long startTime, long endTime, dword array& keys, int keyNum, float array& normal, float array& points, int count );

( ) Reset

void Reset();

( ) Stop

void Stop();

( ) Clear

void Clear();

( ) SetContinuous

void SetContinuous(bool b);

( ) CDynaTree

void CDynaTree();

( ) ~CDynaTree

void ~CDynaTree();

( ) SetGridSize

void SetGridSize(float width, float height);

( ) FindItem

int FindItem(float x, float y);

( ) HasItem

bool HasItem(int id);

( ) GetItemFather

int GetItemFather(int id);

( ) GetItemData

dword GetItemData(int id);

( ) GetItemChild

int GetItemChild(int id, int index);

( ) GetItemChildCount

int GetItemChildCount(int id);

( ) InsertItem

void InsertItem(int id, int father_id, int after_id, dword data, dword key);

( ) Update

void Update();

( ) DeleteItem

void DeleteItem(int id);

3.2 鼠标监听器

3.3 Flash播放器

3.4 xml解析器

3.5 队列

3.6 字符串队列

3.7 Web浏览器

3.8 列表控制

3.9 动画

3.10 动态树

3.11 曲线