//---------------------------------------------------------------------------- // EgalTech 2014-2014 //---------------------------------------------------------------------------- // File : EExExportStl.h Data : 07.08.14 Versione : 1.5h2 // Contenuto : Dichiarazione della interfaccia IExportStl. // // // // Modifiche : 07.08.14 DS Creazione modulo. // // //---------------------------------------------------------------------------- #pragma once #include "/EgtDev/Include/EGkGeomDB.h" #include "/EgtDev/Include/EExExportConst.h" #include #include "/EgtDev/Include/EGrScene.h" //----------------------- Macro per import/export ---------------------------- #undef EEK_EXPORT #if defined( I_AM_EEX) // da definirsi solo nella DLL #define EEX_EXPORT __declspec( dllexport) #else #define EEX_EXPORT __declspec( dllimport) #endif //----------------------------------------------------------------------------- class __declspec(novtable) IExportThreeJS { public: virtual ~IExportThreeJS( void) {} virtual bool SetOptions( int nFilter) = 0 ; virtual bool Export( IGeomDB* pGDB, int nId, const std::string& sFile, IEGrScene* pScene, bool bUdm) = 0 ; }; //----------------------------------------------------------------------------- extern "C" { EEX_EXPORT bool SetThreeJSAuxDir( const std::string& sThreeJSAuxDir) ; EEX_EXPORT IExportThreeJS* CreateExportThreeJS( void) ; }