diff --git a/EGrScene.h b/EGrScene.h index 1aec5bc..36a9c4f 100644 --- a/EGrScene.h +++ b/EGrScene.h @@ -66,6 +66,7 @@ class IEGrScene virtual bool PanCamera( const Point3d& ptWinOld, const Point3d& ptWinNew) = 0 ; virtual bool RotateCamera( const Point3d& ptWinOld, const Point3d& ptWinNew) = 0 ; virtual bool ZoomAll( void) = 0 ; + virtual bool ZoomObject( int nId) = 0 ; virtual bool ZoomRadius( double dRadius) = 0 ; virtual bool ZoomChange( double dCoeff) = 0 ; virtual bool ZoomOnPoint( const Point3d& ptWin, double dCoeff) = 0 ; diff --git a/EInAPI.h b/EInAPI.h index 51cb994..ac64e2f 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -791,6 +791,8 @@ 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 EgtZoomRadius( double dRadius, BOOL bRedraw) ; +EIN_EXPORT BOOL __stdcall EgtZoomObject( int nId, 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) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index 34db327..fd91f07 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -887,6 +887,7 @@ 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 ExeZoomObject( int nId, bool bRedraw) ; EXE_EXPORT bool ExeZoomOnPoint( int nWinX, int nWinY, double dCoeff, bool bRedraw) ; EXE_EXPORT bool ExeSetGeoLine( const Point3d& ptP1, const Point3d& ptP2, bool bRedraw) ; EXE_EXPORT bool ExeResetGeoLine( bool bRedraw) ;