From afd3221823806b752b0862ec47aa350fd0ef73ad Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 29 Nov 2016 09:46:03 +0000 Subject: [PATCH] Include : - aggiornamenti per GetViewUp. --- EGrScene.h | 1 + EInAPI.h | 1 + EXeExecutor.h | 1 + 3 files changed, 3 insertions(+) diff --git a/EGrScene.h b/EGrScene.h index a05db50..aada6bc 100644 --- a/EGrScene.h +++ b/EGrScene.h @@ -62,6 +62,7 @@ class IEGrScene virtual Point3d GetProjectedCenter( void) const = 0 ; virtual void GetCamera( double* pdAngVertDeg, double* pdAngOrizzDeg, double* pdDist = nullptr) const = 0 ; virtual int GetCameraDir( void) const = 0 ; + virtual const Vector3d& GetCameraUp( void) const = 0 ; 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 ; diff --git a/EInAPI.h b/EInAPI.h index 9d5446a..9fbc7db 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -755,6 +755,7 @@ EIN_EXPORT BOOL __stdcall EgtPanView( int nPrevX, int nPrevY, int nCurrX, int nC EIN_EXPORT BOOL __stdcall EgtRotateView( int nPrevX, int nPrevY, int nCurrX, int nCurrY, BOOL bRedraw) ; EIN_EXPORT BOOL __stdcall EgtGetView( int* pnDir) ; EIN_EXPORT BOOL __stdcall EgtGetGenericView( double* pdAngVertDeg, double* pdAngHorizDeg) ; +EIN_EXPORT BOOL __stdcall EgtGetViewUp( double vtUp[3]) ; EIN_EXPORT BOOL __stdcall EgtProjectPoint( const double ptP[3], double ptWin[3]) ; EIN_EXPORT BOOL __stdcall EgtUnProjectPoint( int nWinX, int nWinY, double ptP[3]) ; EIN_EXPORT BOOL __stdcall EgtLoadTexture( const wchar_t* wsName, const wchar_t* wsFile, diff --git a/EXeExecutor.h b/EXeExecutor.h index 8a9b2b8..368ddde 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -821,6 +821,7 @@ EXE_EXPORT bool ExePanView( int nPrevX, int nPrevY, int nCurrX, int nCurrY, bool EXE_EXPORT bool ExeRotateView( int nPrevX, int nPrevY, int nCurrX, int nCurrY, bool bRedraw) ; EXE_EXPORT bool ExeGetView( int* pnDir) ; EXE_EXPORT bool ExeGetGenericView( double* pdAngVertDeg, double* pdAngHorizDeg) ; +EXE_EXPORT bool ExeGetViewUp( Vector3d& vtUp) ; EXE_EXPORT bool ExeProjectPoint( const Point3d& ptP, Point3d& ptWin) ; EXE_EXPORT bool ExeUnProjectPoint( int nWinX, int nWinY, Point3d& ptP) ; EXE_EXPORT bool ExeLoadTexture( const std::string& sName, const std::string& sFile,