Include :
- Aggiunti prototipi per ExportThreeJS.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// 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, const std::string& sFileM, IEGrScene* pScene) = 0 ;
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
extern "C" {
|
||||
EEX_EXPORT IExportThreeJS* CreateExportThreeJS( void) ;
|
||||
}
|
||||
@@ -72,6 +72,7 @@ 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 void GetOrthoCamParam(double* pdWidth, double* pdHeight, double* pdNear, double* pdFar) const = 0;
|
||||
// ShowMode
|
||||
virtual bool SetShowMode( int nShowMode) = 0 ;
|
||||
virtual int GetShowMode( void) const = 0 ;
|
||||
@@ -93,6 +94,7 @@ class IEGrScene
|
||||
virtual bool SetGridShow( bool bShowGrid, bool bShowFrame) = 0 ;
|
||||
virtual bool SetGridGeo( double dSnapStep, int nMinLineSstep, int nMajLineSstep, int nExtSstep) = 0 ;
|
||||
virtual bool SetGridColor( Color colMinLine, Color colMajLine) = 0 ;
|
||||
virtual void GetGridParam(double* pdSnapStep, int* pnExtStep) const = 0;
|
||||
// Glob Frame
|
||||
virtual bool SetGlobFrameShow( bool bShow) = 0 ;
|
||||
// Direct
|
||||
@@ -139,6 +141,8 @@ class IEGrScene
|
||||
// Image
|
||||
virtual bool GetImage( int nShowMode, Color colBackTop, Color colBackBottom,
|
||||
int nDestWidth, int nDestHeight, const std::string& sFile) = 0 ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -125,6 +125,7 @@ EXE_EXPORT bool ExeExportDxf( int nId, const std::string& sFilePath, int nFlag =
|
||||
EXE_EXPORT bool ExeExportStl( int nId, const std::string& sFilePath) ;
|
||||
EXE_EXPORT bool ExeExport3MF( int nId, const std::string& sFilePath) ;
|
||||
EXE_EXPORT bool ExeExportSvg( int nId, const std::string& sFilePath, int nFilter = 393) ;
|
||||
EXE_EXPORT bool ExeExportThreeJS( int nId, const std::string& sFilePath, const std::string& sFilePathM) ;
|
||||
|
||||
// BeamManager
|
||||
EXE_EXPORT bool ExeInitBeamMgr( int nFlag) ;
|
||||
|
||||
Reference in New Issue
Block a user