f54f1f8969
- aggiunta importazione formato OFF (Object File Format).
38 lines
1.0 KiB
C++
38 lines
1.0 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2024-2024
|
|
//----------------------------------------------------------------------------
|
|
// File : ImportOff.h Data : 28.11.24 Versione : 2.6k2
|
|
// Contenuto : Dichiarazione della classe ImportOff.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 28.11.24 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "/EgtDev/Include/EExImportOff.h"
|
|
#include "/EgtDEv/Include/EGnScanner.h"
|
|
|
|
class Triangle3d ;
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
//----------------------------------------------------------------------------
|
|
class ImportOff : public IImportOff
|
|
{
|
|
public :
|
|
virtual bool Import( const std::string& sFile, IGeomDB* pGDB, int nIdGroup, double dScaleFactor = 1) ;
|
|
|
|
private :
|
|
bool ReadData( void) ;
|
|
|
|
private :
|
|
Scanner m_theScanner ;
|
|
IGeomDB* m_pGDB ;
|
|
int m_nIdGroup ;
|
|
double m_dScaleFactor ;
|
|
} ;
|