0ca47c7bef
- in export DXF e STL gestite anche le regioni - in import BTL aggiunto flag per mettere i pezzi di piatto - in import BTL aggiynto al pezzo testo con nome.
42 lines
1.4 KiB
C++
42 lines
1.4 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2014-2014
|
|
//----------------------------------------------------------------------------
|
|
// File : ExportStl.h Data : 07.08.14 Versione : 1.5h2
|
|
// Contenuto : Dichiarazione della classe ExportStl.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 07.08.14 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "/EgtDev/Include/EExExportStl.h"
|
|
|
|
class IGdbIterator ;
|
|
class IGeoObj ;
|
|
class Frame3d ;
|
|
|
|
//----------------------------------------------------------------------------
|
|
class ExportStl : public IExportStl
|
|
{
|
|
public :
|
|
virtual bool SetOptions( int nFilter) ;
|
|
virtual bool Export( IGeomDB* pGDB, int nId, const std::string& sFile) ;
|
|
|
|
public :
|
|
ExportStl( void) : m_nFilter( EEXFLT_DEFAULT) {}
|
|
|
|
private :
|
|
bool ExportObject( const IGdbIterator& iIter, std::ofstream& OutFile) ;
|
|
bool ScanGroup( const IGdbIterator& iIter, std::ofstream& OutFile) ;
|
|
bool TestFilter( int nLev, int nMode, int nStat) ;
|
|
bool ExportSFR( const std::string& sName, const IGeoObj* pGeoObj, const Frame3d& frFrame, std::ofstream& OutFile) ;
|
|
bool ExportSTM( const std::string& sName, const IGeoObj* pGeoObj, const Frame3d& frFrame, std::ofstream& OutFile) ;
|
|
|
|
private :
|
|
int m_nFilter ;
|
|
} ;
|