From bd07c89b1888cbe5bd605c1640f3b2647b2fd9e7 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 26 Feb 2014 13:13:36 +0000 Subject: [PATCH] Include : - modifiche a Scene. --- EGrScene.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/EGrScene.h b/EGrScene.h index 90d5979..d91f6cc 100644 --- a/EGrScene.h +++ b/EGrScene.h @@ -44,7 +44,6 @@ class IEGrScene virtual std::string GetGLSLInfo( void) = 0 ; virtual std::string GetPixelFormatInfo( void) = 0 ; virtual bool RedrawWindow( void) = 0 ; - virtual bool SetExtension( const BBox3d& b3Ext) = 0 ; virtual bool Reshape( int nW, int nH) = 0 ; virtual bool SetBackground( Color BackTop, Color BackBottom) = 0 ; virtual bool Prepare( void) = 0 ; @@ -65,6 +64,14 @@ class IEGrScene virtual bool ZoomAll( void) = 0 ; virtual bool ZoomChange( double dCoeff) = 0 ; virtual bool ZoomOnPoint( const Point3d& ptWin, double dCoeff) = 0 ; + virtual bool ZoomWin( const Point3d& ptWin1, const Point3d& ptWin2) = 0 ; + // Geometry + virtual bool SetExtension( const BBox3d& b3Ext) = 0 ; + virtual bool UpdateExtension( void) = 0 ; + // Aux + virtual bool SetWinRectAttribs( bool bOutline, Color WRcol) = 0 ; + virtual bool SetWinRect( const Point3d& ptWinRectP1, const Point3d& ptWinRectP2) = 0 ; + virtual bool ResetWinRect( void) = 0 ; } ; //-----------------------------------------------------------------------------