Files
EgtExchange/ExportStl.h
T
Dario Sassi 0ca47c7bef EgtExchange 1.6i1 :
- 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.
2015-09-02 13:05:48 +00:00

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