2dccb76184
- aggiunta possibilità di scalare la tavola - migliorata NewName (se si propone Nome_1 ora se già esiste prova con Nome_2, Nome_3 e non Nome_1_1, ...) - in milling curve composite gestite come entità atomiche per sequenziamento - in milling gestito offset longitudinale - in milling migliorato calcolo elevazione per attacchi/uscite - in simulazione tolto reset iniziale utensili.
50 lines
1.7 KiB
C++
50 lines
1.7 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2015-2015
|
|
//----------------------------------------------------------------------------
|
|
// File : Table.h Data : 25.05.15 Versione : 1.6e7
|
|
// Contenuto : Dichiarazione della classe Table.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 25.05.15 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "Machine.h"
|
|
#include "/EgtDev/Include/EGkUserObj.h"
|
|
#include "/EgtDev/Include/EGkPoint3d.h"
|
|
|
|
//----------------------------------------------------------------------------
|
|
class Table : public IUserObj
|
|
{
|
|
public : // IUserObj
|
|
Table* Clone( void) const override ;
|
|
const std::string& GetClassName( void) const override ;
|
|
bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const override ;
|
|
bool SetOwner( int nId, IGeomDB* pGDB) override ;
|
|
int GetOwner( void) const override ;
|
|
IGeomDB* GetGeomDB( void) const override ;
|
|
|
|
public :
|
|
Table( void) ;
|
|
bool Set( const std::string& sName, int nType, const Point3d& ptRef1, const BBox3d& b3Area1) ;
|
|
const std::string& GetName( void)
|
|
{ return m_sName ; }
|
|
int GetType( void)
|
|
{ return m_nType ; }
|
|
const Point3d& GetRef1( void)
|
|
{ return m_ptRef1 ; }
|
|
const BBox3d& GetArea1( void)
|
|
{ return m_b3Area1 ; }
|
|
|
|
private :
|
|
int m_nOwnerId ;
|
|
IGeomDB* m_pGeomDB ;
|
|
std::string m_sName ;
|
|
int m_nType ;
|
|
Point3d m_ptRef1 ;
|
|
BBox3d m_b3Area1 ;
|
|
} ; |