//---------------------------------------------------------------------------- // EgalTech 2015-2015 //---------------------------------------------------------------------------- // File : Head.h Data : 25.05.15 Versione : 1.6e7 // Contenuto : Dichiarazione della classe Head. // // // // Modifiche : 25.05.15 DS Creazione modulo. // // //---------------------------------------------------------------------------- #pragma once #include "Machine.h" #include "/EgtDev/Include/EGkUserObj.h" #include "/EgtDev/Include/EGkPoint3d.h" //---------------------------------------------------------------------------- class Exit : public IUserObj { public : // IUserObj Exit* 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 : Exit( void) ; bool Set( const std::string& sName, const Point3d& ptPos, const Vector3d& vtTDir) ; bool Modify( const Point3d& ptPos, double dExitMaxAdjust) ; bool SetTool( const std::string& sTool) ; const std::string& GetName( void) { return m_sName ; } const Point3d& GetPos( void) { return m_ptPos ; } const Vector3d& GetTDir( void) { return m_vtTDir ; } const std::string& GetTool( void) { return m_sTool ; } private : int m_nOwnerId ; IGeomDB* m_pGeomDB ; std::string m_sName ; Point3d m_ptPos ; Vector3d m_vtTDir ; std::string m_sTool ; } ;