From d16330e4124e0077b92ff2f083d3d6b99f907776 Mon Sep 17 00:00:00 2001 From: DarioS Date: Wed, 1 Dec 2021 10:13:36 +0100 Subject: [PATCH] Include : - aggiornamento prototipi. --- EExBeamMgr.h | 4 +++- EInAPI.h | 4 +++- EXeExecutor.h | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/EExBeamMgr.h b/EExBeamMgr.h index 6c98f7e..4558c3f 100644 --- a/EExBeamMgr.h +++ b/EExBeamMgr.h @@ -32,6 +32,7 @@ class __declspec( novtable) IBeamMgr virtual ~IBeamMgr( void) {} virtual bool Init( IGeomDB* pGDB, int nFlag = 0) = 0 ; + virtual bool SetFlag( int nFlag) = 0 ; virtual int CreatePart( void) = 0 ; virtual bool SetPart( int nPartId) = 0 ; virtual bool ErasePart( void) = 0 ; @@ -41,7 +42,8 @@ class __declspec( novtable) IBeamMgr virtual bool SetPartCount( int nCount) = 0 ; virtual bool SetPartBox( double dLength, double dHeight, double dWidth, bool bUpdate = true) = 0 ; virtual int AddProcess( int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId, - const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, const STRVECTOR& vsUAtt, bool bUpdate = true) = 0 ; + const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, const STRVECTOR& vsUAtt, + int nCrvId, int nCrv2Id, bool bUpdate = true) = 0 ; virtual int ModifyProcess( int nGeomId, int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId, const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, const STRVECTOR& vsUAtt, bool bUpdate = true) = 0 ; virtual bool EraseProcess( int nGeomId, bool bUpdate = true) = 0 ; diff --git a/EInAPI.h b/EInAPI.h index aa73a09..5085abd 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -118,6 +118,7 @@ EIN_EXPORT BOOL __stdcall EgtExportSvg( int nId, const wchar_t* wsFilePath) ; // BeamManager EIN_EXPORT BOOL __stdcall EgtInitBeamMgr( int nFlag) ; +EIN_EXPORT BOOL __stdcall EgtBeamSetFlag( int nFlag) ; EIN_EXPORT int __stdcall EgtBeamCreatePart( void) ; EIN_EXPORT BOOL __stdcall EgtBeamSetPart( int nPartId) ; EIN_EXPORT BOOL __stdcall EgtBeamErasePart( void) ; @@ -128,7 +129,8 @@ EIN_EXPORT BOOL __stdcall EgtBeamSetPartCount( int nCount) ; EIN_EXPORT BOOL __stdcall EgtBeamSetPartBox( double dLength, double dHeight, double dWidth, BOOL bUpdate) ; EIN_EXPORT int __stdcall EgtBeamAddProcess( int nGroup, int nProc, int nSide, const wchar_t* wsDes, int nProcId, const double ptOrig[3], const double vX[3], const double vY[3], const double vZ[3], - int nPar, const double vPar[], const wchar_t* wsPar, const wchar_t* wsUAtts, BOOL bUpdate) ; + int nPar, const double vPar[], const wchar_t* wsPar, const wchar_t* wsUAtts, + int nCrvId, int nCrv2Id, BOOL bUpdate) ; EIN_EXPORT int __stdcall EgtBeamModifyProcess( int nGeomId, int nGroup, int nProc, int nSide, const wchar_t* wsDes, int nProcId, const double ptOrig[3], const double vX[3], const double vY[3], const double vZ[3], int nPar, const double vPar[], const wchar_t* wsPar, const wchar_t* wsUAtts, BOOL bUpdate) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index eb098e9..79e2985 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -125,6 +125,7 @@ EXE_EXPORT bool ExeExportSvg( int nId, const std::string& sFilePath, int nFilter // BeamManager EXE_EXPORT bool ExeInitBeamMgr( int nFlag) ; +EXE_EXPORT bool ExeBeamSetFlag( int nFlag) ; EXE_EXPORT int ExeBeamCreatePart( void) ; EXE_EXPORT bool ExeBeamSetPart( int nPartId) ; EXE_EXPORT bool ExeBeamErasePart( void) ; @@ -134,7 +135,8 @@ EXE_EXPORT bool ExeBeamSetPartName( const std::string& sName) ; EXE_EXPORT bool ExeBeamSetPartCount( int nCount) ; EXE_EXPORT bool ExeBeamSetPartBox( double dLength, double dHeight, double dWidth, bool bUpdate = true) ; EXE_EXPORT int ExeBeamAddProcess( int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId, - const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, const STRVECTOR& vsUAtt, bool bUpdate = true) ; + const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, const STRVECTOR& vsUAtt, + int nCrvId, int nCrv2Id, bool bUpdate = true) ; EXE_EXPORT int ExeBeamModifyProcess( int nGeomId, int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId, const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, const STRVECTOR& vsUAtt, bool bUpdate = true) ; EXE_EXPORT bool ExeBeamEraseProcess( int nGeomId, bool bUpdate = true) ;