Files
Include/EInAPI.h
T
Dario Sassi a36586fae5 Include :
- aggiornamento prototipi.
2014-10-21 10:50:51 +00:00

318 lines
21 KiB
C

//----------------------------------------------------------------------------
// EgalTech 2014-2014
//----------------------------------------------------------------------------
// File : EInAPI.h Data : 26.08.14 Versione : 1.5h1
// Contenuto : API (application programming interface).
//
//
//
// Modifiche : 26.08.14 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
#pragma once
#include <windows.h>
//----------------------- Macro per import/export ----------------------------
#undef EIN_EXPORT
#if defined( I_AM_EIN) // da definirsi solo nella DLL
#define EIN_EXPORT __declspec( dllexport)
#else
#define EIN_EXPORT __declspec( dllimport)
#endif
//-----------------------------------------------------------------------------
#ifdef __cplusplus
extern "C" {
#endif
// API
// General
EIN_EXPORT BOOL __stdcall EgtInit( int nDebug, const wchar_t* sLogFile) ;
EIN_EXPORT BOOL __stdcall EgtExit( void) ;
EIN_EXPORT BOOL __stdcall EgtSetKey( const wchar_t* sKey) ;
EIN_EXPORT BOOL __stdcall EgtSetFont( const wchar_t* sNfeFontDir, const wchar_t* sDefaultFont) ;
EIN_EXPORT BOOL __stdcall EgtFreeMemory( void* pMem) ;
// Geo Base
EIN_EXPORT BOOL __stdcall EgtVectorNormalize( double* pdX, double* pdY, double* pdZ,
double dEps = EPS_SMALL) ;
EIN_EXPORT BOOL __stdcall EgtVectorRotate( double* pdX, double* pdY, double* pdZ,
const double vtAx[3], double dAngRotDeg) ;
EIN_EXPORT BOOL __stdcall EgtVectorScale( double* pdX, double* pdY, double* pdZ,
const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3],
double dCoeffX, double dCoeffY, double dCoeffZ) ;
EIN_EXPORT BOOL __stdcall EgtVectorMirror( double* pdX, double* pdY, double* pdZ,
const double vtNorm[3]) ;
EIN_EXPORT BOOL __stdcall EgtVectorShear( double* pdX, double* pdY, double* pdZ,
const double vtNorm[3], const double vtDir[3], double dCoeff) ;
EIN_EXPORT BOOL __stdcall EgtVectorToGlob( double* pdX, double* pdY, double* pdZ,
const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3]) ;
EIN_EXPORT BOOL __stdcall EgtVectorToLoc( double* pdX, double* pdY, double* pdZ,
const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3]) ;
EIN_EXPORT BOOL __stdcall EgtVectorLocToLoc( double* pdX, double* pdY, double* pdZ,
const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3],
const double ptO2[3], const double vtX2[3], const double vtY2[3], const double vtZ2[3]) ;
EIN_EXPORT BOOL __stdcall EgtPointTranslate( double* pdX, double* pdY, double* pdZ,
const double vtMove[3]) ;
EIN_EXPORT BOOL __stdcall EgtPointRotate( double* pdX, double* pdY, double* pdZ,
const double ptAx[3], const double vtAx[3], double dAngRotDeg) ;
EIN_EXPORT BOOL __stdcall EgtPointScale( double* pdX, double* pdY, double* pdZ,
const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3],
double dCoeffX, double dCoeffY, double dCoeffZ) ;
EIN_EXPORT BOOL __stdcall EgtPointMirror( double* pdX, double* pdY, double* pdZ,
const double ptOn[3], const double vtNorm[3]) ;
EIN_EXPORT BOOL __stdcall EgtPointShear( double* pdX, double* pdY, double* pdZ,
const double ptOn[3], const double vtNorm[3], const double vtDir[3], double dCoeff) ;
EIN_EXPORT BOOL __stdcall EgtPointToGlob( double* pdX, double* pdY, double* pdZ,
const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3]) ;
EIN_EXPORT BOOL __stdcall EgtPointToLoc( double* pdX, double* pdY, double* pdZ,
const double ptOrig[3], const double vtX[3], const double vtY[3], const double vtZ[3]) ;
EIN_EXPORT BOOL __stdcall EgtPointLocToLoc( double* pdX, double* pdY, double* pdZ,
const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3],
const double ptO2[3], const double vtX2[3], const double vtY2[3], const double vtZ2[3]) ;
EIN_EXPORT BOOL __stdcall EgtFrameTranslate( double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3],
const double vtMove[3]) ;
EIN_EXPORT BOOL __stdcall EgtFrameRotate( double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3],
const double ptAx[3], const double vtAx[3], double dAngRotDeg) ;
EIN_EXPORT BOOL __stdcall EgtFrameToGlob( double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3],
const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3]) ;
EIN_EXPORT BOOL __stdcall EgtFrameToLoc( double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3],
const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3]) ;
EIN_EXPORT BOOL __stdcall EgtFrameLocToLoc( double ptOrig[3], double vtX[3], double vtY[3], double vtZ[3],
const double ptO1[3], const double vtX1[3], const double vtY1[3], const double vtZ1[3],
const double ptO2[3], const double vtX2[3], const double vtY2[3], const double vtZ2[3]) ;
// GeomDB
EIN_EXPORT int __stdcall EgtInitGeomDB( void) ;
EIN_EXPORT BOOL __stdcall EgtSetCurrentContext( int nGseCtx) ;
EIN_EXPORT BOOL __stdcall EgtResetCurrentContext( void) ;
EIN_EXPORT int __stdcall EgtGetCurrentContext( void) ;
EIN_EXPORT BOOL __stdcall EgtSetDefaultMaterial( int nRed, int nGreen, int nBlue) ;
EIN_EXPORT BOOL __stdcall EgtNewFile( void) ;
EIN_EXPORT BOOL __stdcall EgtOpenFile( const wchar_t* wsFilePath) ;
EIN_EXPORT BOOL __stdcall EgtSaveFile( const wchar_t* wsFilePath, int nFlag) ;
// GeomDB Create
EIN_EXPORT int __stdcall EgtCreateGroup( int nParentId, const double vOrig[3],
const double vX[3], const double vY[3], const double vZ[3]) ;
EIN_EXPORT int __stdcall EgtCreateGeoPoint( int nParentId, const double ptP[3]) ;
EIN_EXPORT int __stdcall EgtCreateGeoVector( int nParentId, const double vtV[3], const double ptB[3]) ;
EIN_EXPORT int __stdcall EgtCreateGeoFrame( int nParentId, const double ptOrig[3],
const double vX[3], const double vY[3], const double vZ[3]) ;
EIN_EXPORT int __stdcall EgtCreateCurveLine( int nParentId,
const double ptIni[3], const double ptFin[3]) ;
EIN_EXPORT int __stdcall EgtCreateCurveLineMinPointCurve( int nParentId,
const double ptStart[3], int nCrvId, double dNearPar) ;
EIN_EXPORT int __stdcall EgtCreateCurveCircle( int nParentId,
const double ptCen[3], const double vtN[3], double dRad) ;
EIN_EXPORT int __stdcall EgtCreateCurveCircle3P( int nParentId,
const double ptP1[3], const double ptP2[3], const double ptP3[3]) ;
EIN_EXPORT int __stdcall EgtCreateCurveCircleXY( int nParentId,
const double ptCen[3], double dRad) ;
EIN_EXPORT int __stdcall EgtCreateCurveArc( int nParentId,
const double ptCen[3], const double vtN[3], double dRad,
const double vtS[3], double dAngCenDeg, double dDeltaN) ;
EIN_EXPORT int __stdcall EgtCreateCurveArcXY( int nParentId,
const double ptCen[3], double dRad,
double dAngStartDeg, double dAngCenDeg, double dDeltaZ) ;
EIN_EXPORT int __stdcall EgtCreateCurveArc3P( int nParentId,
const double ptP1[3], const double ptP2[3], const double ptP3[3]) ;
EIN_EXPORT int __stdcall EgtCreateCurveBezier( int nParentId, int nDegree,
const double ptCtrls[/*3x(nDegree+1)*/]) ;
EIN_EXPORT int __stdcall EgtCreateCurveBezierRational( int nParentId, int nDegree,
const double ptCtrlWs[/*4x(nDegree+1)*/]) ;
EIN_EXPORT int __stdcall EgtCreateCurveBezierFromArc( int nParentId, int nArcId, BOOL bErase) ;
EIN_EXPORT int __stdcall EgtCreateCurveCompo( int nParentId, int nNumId, const int nIds[], BOOL bErase) ;
EIN_EXPORT int __stdcall EgtCreateCurveCompoFromPoints( int nParentId, int nP, const double ptPs[/*3 x nP*/]) ;
EIN_EXPORT int __stdcall EgtCreateCurveCompoFromPointBulges( int nParentId, int nPB, const double ptPBs[/*4 x nPB*/]) ;
EIN_EXPORT int __stdcall EgtCreateCurveCompoFromPolygonSide( int nParentId, int nNumSides,
const double ptIni[3], const double ptFin[3]) ;
EIN_EXPORT int __stdcall EgtCreateSurfTriMeshByContour( int nParentId, int nCrvId, double dLinTol) ;
EIN_EXPORT int __stdcall EgtCreateText( int nParentId, const wchar_t* wsText,
const double ptP[3], double dAngRotDeg, double dH) ;
EIN_EXPORT int __stdcall EgtCreateTextEx( int nParentId, const wchar_t* wsText,
const double ptP[3], double dAngRotDeg, const wchar_t* wsFont,
int nW, BOOL bItalic, double dH, double dRat, double dAddAdv, int nInsPos) ;
// GeomDB Modify
EIN_EXPORT BOOL __stdcall EgtChangeVectorBase( int nId, const double ptB[3]) ;
EIN_EXPORT BOOL __stdcall EgtModifyText( int nId, const wchar_t* wsNewText) ;
EIN_EXPORT BOOL __stdcall EgtChangeTextFont( int nId, const wchar_t* wsNewFont) ;
EIN_EXPORT BOOL __stdcall EgtFlipText( int nId) ;
EIN_EXPORT BOOL __stdcall EgtMirrorText( int nId, BOOL bOnL) ;
EIN_EXPORT BOOL __stdcall EgtTextToOutline( int nId, int nDestGroupId) ;
EIN_EXPORT BOOL __stdcall EgtSplitText( int nId, int nDestGroupId) ;
// GeomDB Objects
EIN_EXPORT BOOL __stdcall EgtExistsObj( int nId) ;
EIN_EXPORT int __stdcall EgtGetGroupObjs( int nId) ;
EIN_EXPORT int __stdcall EgtGetFirstInGroup( int nGroupId) ;
EIN_EXPORT int __stdcall EgtGetNext( int nId) ;
EIN_EXPORT int __stdcall EgtGetLastInGroup( int nGroupId) ;
EIN_EXPORT int __stdcall EgtGetPrev( int nId) ;
EIN_EXPORT BOOL __stdcall EgtGetBBox( int nId, int nFlag, double ptMin[3], double ptMax[3]) ;
EIN_EXPORT BOOL __stdcall EgtGetBBoxGlob( int nId, int nFlag, double ptMin[3], double ptMax[3]) ;
EIN_EXPORT int __stdcall EgtCopy( int nSouId, int nRefId, int nSonBeforeAfter) ;
EIN_EXPORT int __stdcall EgtCopyGlob( int nSouId, int nRefId, int nSonBeforeAfter) ;
EIN_EXPORT BOOL __stdcall EgtRelocate( int nSouId, int nRefId, int nSonBeforeAfter) ;
EIN_EXPORT BOOL __stdcall EgtRelocateGlob( int nSouId, int nRefId, int nSonBeforeAfter) ;
EIN_EXPORT BOOL __stdcall EgtErase( int nId) ;
EIN_EXPORT int __stdcall EgtGetType( int nId) ;
EIN_EXPORT BOOL __stdcall EgtGetTitle( int nId, wchar_t*& wsTitle) ;
EIN_EXPORT BOOL __stdcall EgtGroupDump( int nId, wchar_t*& wsDump) ;
EIN_EXPORT BOOL __stdcall EgtGeoObjDump( int nId, wchar_t*& wsDump) ;
// GeomDB Obj Attributes
EIN_EXPORT BOOL __stdcall EgtSetLevel( int nId, int nLevel) ;
EIN_EXPORT BOOL __stdcall EgtRevertLevel( int nId) ;
EIN_EXPORT BOOL __stdcall EgtGetLevel( int nId, int* pnLevel) ;
EIN_EXPORT BOOL __stdcall EgtGetCalcLevel( int nId, int* pnLevel) ;
EIN_EXPORT BOOL __stdcall EgtSetMode( int nId, int nMode) ;
EIN_EXPORT BOOL __stdcall EgtRevertMode( int nId) ;
EIN_EXPORT BOOL __stdcall EgtGetMode( int nId, int* pnMode) ;
EIN_EXPORT BOOL __stdcall EgtGetCalcMode( int nId, int* pnMode) ;
EIN_EXPORT BOOL __stdcall EgtSetStatus( int nId, int nStat) ;
EIN_EXPORT BOOL __stdcall EgtRevertStatus( int nId) ;
EIN_EXPORT BOOL __stdcall EgtGetStatus( int nId, int* pnStat) ;
EIN_EXPORT BOOL __stdcall EgtGetCalcStatus( int nId, int* pnStat) ;
EIN_EXPORT BOOL __stdcall EgtSetMark( int nId) ;
EIN_EXPORT BOOL __stdcall EgtResetMark( int nId) ;
EIN_EXPORT BOOL __stdcall EgtGetMark( int nId, BOOL* pnMark) ;
EIN_EXPORT BOOL __stdcall EgtGetCalcMark( int nId, BOOL* pnMark) ;
EIN_EXPORT BOOL __stdcall EgtStdColor( const wchar_t* wsName, int& nRed, int& nGreen, int& nBlue, int& nAlpha) ;
EIN_EXPORT BOOL __stdcall EgtSetColor( int nId, int nRed, int nGreen, int nBlue, int nAlpha) ;
EIN_EXPORT BOOL __stdcall EgtGetColor( int nId, int& nRed, int& nGreen, int& nBlue, int& nAlpha) ;
EIN_EXPORT BOOL __stdcall EgtGetCalcColor( int nId, int& nRed, int& nGreen, int& nBlue, int& nAlpha) ;
EIN_EXPORT BOOL __stdcall EgtSetName( int nId, const wchar_t* wsName) ;
EIN_EXPORT BOOL __stdcall EgtGetName( int nId, wchar_t*& wsName) ;
EIN_EXPORT BOOL __stdcall EgtExistsName( int nId) ;
EIN_EXPORT BOOL __stdcall EgtRemoveName( int nId) ;
EIN_EXPORT BOOL __stdcall EgtSetInfo( int nId, const wchar_t* wsKey, const wchar_t* wsInfo) ;
EIN_EXPORT BOOL __stdcall EgtGetInfo( int nId, const wchar_t* wsKey, wchar_t*& wsInfo) ;
EIN_EXPORT BOOL __stdcall EgtExistsInfo( int nId, const wchar_t* wsKey) ;
EIN_EXPORT BOOL __stdcall EgtRemoveInfo( int nId, const wchar_t* wsKey) ;
// GeomDb Obj Selection
EIN_EXPORT BOOL __stdcall EgtSelectObj( int nId) ;
EIN_EXPORT BOOL __stdcall EgtDeselectObj( int nId) ;
EIN_EXPORT BOOL __stdcall EgtDeselectAll( void) ;
EIN_EXPORT BOOL __stdcall EgtIsSelectedObj( int nId) ;
EIN_EXPORT int __stdcall EgtGetFirstSelectedObj( void) ;
EIN_EXPORT int __stdcall EgtGetNextSelectedObj( void) ;
// GeomDb CurveModif
EIN_EXPORT BOOL __stdcall EgtInvertCurve( int nId) ;
EIN_EXPORT BOOL __stdcall EgtModifyCurveStartPoint( int nId, const double ptP[3]) ;
EIN_EXPORT BOOL __stdcall EgtModifyCurveEndPoint( int nId, const double ptP[3]) ;
EIN_EXPORT BOOL __stdcall EgtModifyCurveExtrusion( int nId, const double vtExtr[3]) ;
EIN_EXPORT BOOL __stdcall EgtModifyCurveThickness( int nId, double dThick) ;
EIN_EXPORT BOOL __stdcall EgtTrimCurveStartAtLen( int nId, double dLen) ;
EIN_EXPORT BOOL __stdcall EgtTrimCurveEndAtLen( int nId, double dLen) ;
EIN_EXPORT BOOL __stdcall EgtTrimCurveStartAtParam( int nId, double dPar) ;
EIN_EXPORT BOOL __stdcall EgtTrimCurveEndAtParam( int nId, double dPar) ;
EIN_EXPORT BOOL __stdcall EgtTrimCurveStartEndAtParam( int nId, double dParS, double dParE) ;
// Geo Snap Points
EIN_EXPORT BOOL __stdcall EgtStartPoint( int nId, double ptP[3]) ;
EIN_EXPORT BOOL __stdcall EgtEndPoint( int nId, double ptP[3]) ;
EIN_EXPORT BOOL __stdcall EgtMidPoint( int nId, double ptP[3]) ;
EIN_EXPORT BOOL __stdcall EgtCenterPoint( int nId, double ptP[3]) ;
EIN_EXPORT BOOL __stdcall EgtAtParamPoint( int nId, double dU, double ptP[3]) ;
EIN_EXPORT BOOL __stdcall EgtStartVector( int nId, double vtV[3]) ;
EIN_EXPORT BOOL __stdcall EgtEndVector( int nId, double vtV[3]) ;
EIN_EXPORT BOOL __stdcall EgtMidVector( int nId, double vtV[3]) ;
EIN_EXPORT BOOL __stdcall EgtAtParamVector( int nId, double dU, int nSide, double vtV[3]) ;
EIN_EXPORT BOOL __stdcall EgtFrame( int nId, double ptOrig[3],
double vtX[3], double vtY[3], double vtZ[3]) ;
// Geo Transform
EIN_EXPORT BOOL __stdcall EgtMove( int nId, double vVtMove[3]) ;
EIN_EXPORT BOOL __stdcall EgtMoveGlob( int nId, double vVtMove[3]) ;
EIN_EXPORT BOOL __stdcall EgtMoveGroup( int nId, double vVtMove[3]) ;
EIN_EXPORT BOOL __stdcall EgtRotate( int nId, double vPtAx[3], double vVtAx[3], double dAngRotDeg) ;
EIN_EXPORT BOOL __stdcall EgtRotateGlob( int nId, double vPtAx[3], double vVtAx[3], double dAngRotDeg) ;
EIN_EXPORT BOOL __stdcall EgtRotateGroup( int nId, double vPtAx[3], double vVtAx[3], double dAngRotDeg) ;
EIN_EXPORT BOOL __stdcall EgtScale( int nId, const double vOrig[3],
const double vX[3], const double vY[3], const double vZ[3],
double dCoeffX, double dCoeffY, double dCoeffZ) ;
EIN_EXPORT BOOL __stdcall EgtScaleGlob( int nId, const double vOrig[3],
const double vX[3], const double vY[3], const double vZ[3],
double dCoeffX, double dCoeffY, double dCoeffZ) ;
EIN_EXPORT BOOL __stdcall EgtScaleGroup( int nId, const double vOrig[3],
const double vX[3], const double vY[3], const double vZ[3],
double dCoeffX, double dCoeffY, double dCoeffZ) ;
EIN_EXPORT BOOL __stdcall EgtMirror( int nId, const double vPnt[3], const double vN[3]) ;
EIN_EXPORT BOOL __stdcall EgtMirrorGlob( int nId, const double vPnt[3], const double vN[3]) ;
EIN_EXPORT BOOL __stdcall EgtMirrorGroup( int nId, const double vPnt[3], const double vN[3]) ;
EIN_EXPORT BOOL __stdcall EgtShear( int nId, const double vPnt[3], const double vN[3],
const double vDir[3], double dCoeff) ;
EIN_EXPORT BOOL __stdcall EgtShearGlob( int nId, const double vPnt[3], const double vN[3],
const double vDir[3], double dCoeff) ;
EIN_EXPORT BOOL __stdcall EgtShearGroup( int nId, const double vPnt[3], const double vN[3],
const double vDir[3], double dCoeff) ;
// Scene
EIN_EXPORT BOOL __stdcall EgtInitScene( HWND hWnd, int nDriver, int b2Buff, int nColorBits, int nDepthBits) ;
EIN_EXPORT BOOL __stdcall EgtSetBackground( int nTopRed, int nTopGreen, int nTopBlue,
int nBottomRed, int nBottomGreen, int nBottomBlue, BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtSetMarkAttribs( int nRed, int nGreen, int nBlue) ;
EIN_EXPORT BOOL __stdcall EgtSetGeoLineAttribs( int nRed, int nGreen, int nBlue) ;
EIN_EXPORT BOOL __stdcall EgtSetWinRectAttribs( BOOL bOutline, int nRed, int nGreen, int nBlue, int nAlpha) ;
EIN_EXPORT BOOL __stdcall EgtResize( int nW, int nH) ;
EIN_EXPORT BOOL __stdcall EgtDraw( void) ;
EIN_EXPORT BOOL __stdcall EgtSelect( int nWinX, int nWinY, int nSelW, int nSelH, int* pnSel) ;
EIN_EXPORT int __stdcall EgtGetFirstObjInSelWin( void) ;
EIN_EXPORT int __stdcall EgtGetNextObjInSelWin( void) ;
EIN_EXPORT BOOL __stdcall EgtUnselectableAdd( int nId) ;
EIN_EXPORT BOOL __stdcall EgtUnselectableRemove( int nId) ;
EIN_EXPORT BOOL __stdcall EgtUnselectableClearAll( void) ;
EIN_EXPORT BOOL __stdcall EgtGetSelectedSnapPoint( int nSnap, int nWinX, int nWinY, int nSelW, int nSelH,
double ptP[3]) ;
EIN_EXPORT BOOL __stdcall EgtSetShowMode( int nShowMode, BOOL bRedraw) ;
EIN_EXPORT int __stdcall EgtGetShowMode( void) ;
EIN_EXPORT BOOL __stdcall EgtSetShowCurveDirection( BOOL bShow, BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtGetShowCurveDirection( void) ;
EIN_EXPORT BOOL __stdcall EgtZoom( int nZoom, BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtZoomOnPoint( int nWinX, int nWinY, double dCoeff, BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtSetGeoLine( const double ptP1[3], const double ptP2[3], BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtResetGeoLine( BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtSetWinRect( int nPrevX, int nPrevY, int nCurrX, int nCurrY, BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtResetWinRect( BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtZoomWin( int nPrevX, int nPrevY, int nCurrX, int nCurrY, BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtSetView( int nView, BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtSetGenericView( double dAngVertDeg, double dAngHorizDeg, BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtSetViewCenter( const double ptP[3], BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtPanCamera( int nPrevX, int nPrevY, int nCurrX, int nCurrY, BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtRotateCamera( int nPrevX, int nPrevY, int nCurrX, int nCurrY, BOOL bRedraw) ;
EIN_EXPORT BOOL __stdcall EgtGetCameraDir( int* pnDir) ;
EIN_EXPORT BOOL __stdcall EgtUnProjectPoint( int nWinX, int nWinY, double ptP[3]) ;
EIN_EXPORT BOOL __stdcall EgtProjectPoint( const double ptP[3], double ptWin[3]) ;
// Exchange
EIN_EXPORT int __stdcall EgtGetFileType( const wchar_t* wsFilePath) ;
EIN_EXPORT BOOL __stdcall EgtImportDxf( const wchar_t* wsFilePath) ;
EIN_EXPORT BOOL __stdcall EgtImportStl( const wchar_t* wsFilePath) ;
EIN_EXPORT BOOL __stdcall EgtImportCnc( const wchar_t* wsFilePath) ;
EIN_EXPORT BOOL __stdcall EgtExportDxf( int nId, const wchar_t* wsFilePath) ;
EIN_EXPORT BOOL __stdcall EgtExportStl( int nId, const wchar_t* wsFilePath) ;
// Tsc Executor
EIN_EXPORT BOOL __stdcall EgtInitTscExec( void) ;
EIN_EXPORT BOOL __stdcall EgtTscExecFile( const wchar_t* wsFilePath) ;
EIN_EXPORT BOOL __stdcall EgtTscExecLine( const wchar_t* wsLine) ;
// LUA Executor
EIN_EXPORT BOOL __stdcall EgtLuaExecLine( const wchar_t* wsLine) ;
EIN_EXPORT BOOL __stdcall EgtLuaExecFile( const wchar_t* wsFilePath) ;
EIN_EXPORT BOOL __stdcall EgtLuaGetLastError( wchar_t*& wsError) ;
#ifdef __cplusplus
}
#endif