//---------------------------------------------------------------------------- // 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 ; } ;