Files
Include/EExExportThreeJS.h
Riccardo Elitropi 24c1414752 Include :
- aggiornamento e aggiunta prototipi ExportThreeJS.
2022-10-20 15:56:25 +02:00

43 lines
1.4 KiB
C++

//----------------------------------------------------------------------------
// 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 <string>
#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) ;
}