diff --git a/EGrScene.h b/EGrScene.h index 41316af..37a7ebb 100644 --- a/EGrScene.h +++ b/EGrScene.h @@ -75,6 +75,8 @@ class IEGrScene virtual bool GetShowCurveDirection( void) = 0 ; virtual void SetShowTriaAdvanced( bool bAdvanced)= 0 ; virtual bool GetShowTriaAdvanced( void) = 0 ; + virtual void SetShowZmap( int nMode) = 0 ; + virtual int GetShowZmap( void) = 0 ; // Geometry virtual bool SetExtension( const BBox3d& b3Ext) = 0 ; virtual bool UpdateExtension( void) = 0 ; @@ -169,3 +171,7 @@ enum SnapPoint { SP_NONE = 0, enum TxrRepeat { TXR_CLAMP = 0, TXR_REPEAT = 1, TXR_MIRROR = 2} ; +//------------------------ Costanti per tipo visualizz. Zmap ----------------- +enum ZmapShowMode { ZSM_SURF = 1, + ZSM_LINES = 2, + ZSM_BOTH = 3} ; diff --git a/EInAPI.h b/EInAPI.h index 6fd0606..80b3188 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -688,6 +688,8 @@ EIN_EXPORT BOOL __stdcall EgtSetShowCurveDirection( BOOL bShow, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtGetShowCurveDirection( void) ; EIN_EXPORT BOOL __stdcall EgtSetShowTriaAdv( BOOL bAdvanced, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtGetShowTriaAdv( void) ; +EIN_EXPORT BOOL __stdcall EgtSetShowZmap( int nMode, BOOL bRedraw) ; +EIN_EXPORT int __stdcall EgtGetShowZmap( 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) ; diff --git a/EMkMachiningGeoConst.h b/EMkMachiningGeoConst.h index 85260f5..e61b461 100644 --- a/EMkMachiningGeoConst.h +++ b/EMkMachiningGeoConst.h @@ -55,3 +55,7 @@ static std::string MCH_PV_KEY_RELOCATE = "PvId" ; // Chiave info per angoli in XY con entità successiva e precedente static std::string MCH_PV_KEY_NEXTANG = "NextAng" ; static std::string MCH_PV_KEY_PREVANG = "PrevAng" ; +// Chiave info in gruppo CL per versore estrusione (normale al piano di interpolazione) +static std::string KEY_EXTR = "EXTR" ; +// Chiave info in gruppo CL per punto iniziale +static std::string KEY_START = "START" ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 7f9d096..1a53b94 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -749,6 +749,8 @@ EXE_EXPORT bool ExeSetShowCurveDirection( bool bShow, bool bRedraw) ; EXE_EXPORT bool ExeGetShowCurveDirection( void) ; EXE_EXPORT bool ExeSetShowTriaAdv( bool bAdvanced, bool bRedraw) ; EXE_EXPORT bool ExeGetShowTriaAdv( void) ; +EXE_EXPORT bool ExeSetShowZmap( int nMode, bool bRedraw) ; +EXE_EXPORT int ExeGetShowZmap( void) ; EXE_EXPORT bool ExeZoomRadius( double dRadius, bool bRedraw) ; EXE_EXPORT bool ExeZoom( int nZoom, bool bRedraw) ; EXE_EXPORT bool ExeZoomOnPoint( int nWinX, int nWinY, double dCoeff, bool bRedraw) ;