Include :
- aggiunta interfaccia per gestore immagini.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// EgalTech 2017-2017
|
||||
//----------------------------------------------------------------------------
|
||||
// File : EGrImageMgr.h Data : 05.07.17 Versione : 1.8g1
|
||||
// Contenuto : Dichiarazione della interfaccia IImageMgr.
|
||||
//
|
||||
//
|
||||
//
|
||||
// Modifiche : 05.07.17 DS Creazione modulo.
|
||||
//
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
//----------------------- Macro per import/export ----------------------------
|
||||
#undef EGR_EXPORT
|
||||
#if defined( I_AM_EGR) // da definirsi solo nella DLL
|
||||
#define EGR_EXPORT __declspec( dllexport)
|
||||
#else
|
||||
#define EGR_EXPORT __declspec( dllimport)
|
||||
#endif
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
class __declspec( novtable) IEgrImageMgr
|
||||
{
|
||||
public :
|
||||
virtual ~IEgrImageMgr( void) {}
|
||||
virtual bool GetImagePixels( const std::string& sFile, int& nPixelX, int& nPixelY) = 0 ;
|
||||
} ;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
extern "C" {
|
||||
EGR_EXPORT IEgrImageMgr* CreateEgrImageMgr( void) ;
|
||||
}
|
||||
@@ -879,6 +879,9 @@ EXE_EXPORT bool ExeChangeTextureDimensions( const std::string& sName, double dDi
|
||||
EXE_EXPORT bool ExeGetImage( int nShowMode, Color colBackTop, Color colBackBottom,
|
||||
int nWidth, int nHeight, const std::string& sFile) ;
|
||||
|
||||
// Image
|
||||
EXE_EXPORT bool ExeGetImagePixels( const std::string& sFile, int& nPixelX, int& nPixelY) ;
|
||||
|
||||
// Photo
|
||||
EXE_EXPORT int ExeAddPhoto( const std::string& sName, const std::string& sPath,
|
||||
const Point3d& ptOri, const Point3d& ptCen, double dMMxPixel,
|
||||
|
||||
Reference in New Issue
Block a user