7fbce2b593
- aggiunta gestione oggetti per verifica collisioni nei link tra lavorazioni anche nelle tavole - in fresatura standard migliorati approcci e retrazioni per frese che non lavorano di testa - in simulazione migliorata gestione comandi ausiliari di start in Disposizioni senza movimenti.
53 lines
1.8 KiB
C++
53 lines
1.8 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 STRVECTOR& vsColl) ;
|
|
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 ; }
|
|
const STRVECTOR& GetCollGroups( void) const
|
|
{ return m_vsColl ; }
|
|
|
|
private :
|
|
int m_nOwnerId ;
|
|
IGeomDB* m_pGeomDB ;
|
|
std::string m_sName ;
|
|
int m_nType ;
|
|
Point3d m_ptRef1 ;
|
|
BBox3d m_b3Area1 ;
|
|
STRVECTOR m_vsColl ;
|
|
} ; |