Include :
- aggiunti prototipi per camera prospettica.
This commit is contained in:
@@ -75,6 +75,8 @@ class IEGrScene
|
||||
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 ;
|
||||
virtual bool SetCameraType( bool bOrthoOrPersp) = 0 ;
|
||||
virtual bool SetZoomType( int nZoomMode) = 0 ;
|
||||
// ShowMode
|
||||
virtual bool SetShowMode( int nShowMode) = 0 ;
|
||||
virtual int GetShowMode( void) const = 0 ;
|
||||
@@ -171,6 +173,9 @@ enum CameraDir { CT_NONE = 0,
|
||||
CT_ISO_NE = 9,
|
||||
CT_ISO_NW = 10,
|
||||
CT_CPLANE = 11} ;
|
||||
//------------------------ Costanti per tipologia di zoom nel caso prospettico ---------------------
|
||||
enum PerspZoom { ZT_STD = 0,
|
||||
ZT_DOLLY = 1} ;
|
||||
//------------------------ Costanti per tipo di visualizzazione --------------
|
||||
enum ShowMode { SM_WIREFRAME = 0,
|
||||
SM_HIDDENLINE = 1,
|
||||
|
||||
@@ -1070,6 +1070,8 @@ EIN_EXPORT BOOL __stdcall EgtGetTextureDimensions( const wchar_t* wsName, double
|
||||
EIN_EXPORT BOOL __stdcall EgtChangeTextureDimensions( const wchar_t* wsName, double dDimX, double dDimY) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtGetImage( int nShowMode, const int TopCol[4], const int BottomCol[4],
|
||||
int nWidth, int nHeight, const wchar_t* wsName) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtSetCameraType( BOOL bOrthoOrPersp, BOOL bRedraw) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtSetZoomType( int nZoomType, BOOL bRedraw) ;
|
||||
|
||||
// Image
|
||||
EIN_EXPORT BOOL __stdcall EgtGetImagePixels( const wchar_t* wsFile, int* pnPixelX, int* pnPixelY) ;
|
||||
|
||||
@@ -1380,6 +1380,8 @@ EXE_EXPORT bool ExeGetTextureDimensions( const std::string& sName, double& dDimX
|
||||
EXE_EXPORT bool ExeChangeTextureDimensions( const std::string& sName, double dDimX, double dDimY) ;
|
||||
EXE_EXPORT bool ExeGetImage( int nShowMode, Color colBackTop, Color colBackBottom,
|
||||
int nWidth, int nHeight, const std::string& sFile) ;
|
||||
EXE_EXPORT bool ExeSetCameraType( bool bOrthoOrPersp, bool bRedraw) ;
|
||||
EXE_EXPORT bool ExeSetZoomType( int nMode, bool bRedraw) ;
|
||||
|
||||
// Image
|
||||
EXE_EXPORT bool ExeGetImagePixels( const std::string& sFile, int& nPixelX, int& nPixelY) ;
|
||||
|
||||
Reference in New Issue
Block a user