Files
DarioS c59b85ba42 EgtExchange 2.4g2 :
- a BeamMgr aggiunta funzione GetSideData.
2022-07-06 17:44:23 +02:00

57 lines
2.5 KiB
C++

//----------------------------------------------------------------------------
// EgalTech 2020-2021
//----------------------------------------------------------------------------
// File : BeamMgr.h Data : 01.06.21 Versione : 2.2f1
// Contenuto : Dichiarazione della classe BeamMgr.
//
//
//
// Modifiche : 30.08.20 DS Creazione modulo.
// 01.06.21 DS Aggiunti parametri vsUAtt per Process.
//
//----------------------------------------------------------------------------
#pragma once
#include "BtlGeom.h"
#include "/EgtDev/Include/EExBeamMgr.h"
//----------------------------------------------------------------------------
class BeamMgr : public IBeamMgr
{
public :
bool Init( IGeomDB* pGDB, int nFlag = 0) override ;
bool SetFlag( int nFlag) override ;
int CreatePart( void) override ;
bool SetPart( int nPartId) override ;
bool ErasePart( void) override ;
bool UpdatePart( void) override ;
bool SetPartProdNbr( int nProdNbr) override ;
bool SetPartName( const std::string& sName) override ;
bool SetPartCount( int nCount) override ;
bool SetPartBox( double dLength, double dHeight, double dWidth, bool bUpdate = true) override ;
bool GetSideData( int nSide, Frame3d& frRef, double& dLength, double& dWidth, double& dHeight) override ;
int AddProcess( int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId,
const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, const STRVECTOR& vsUAtt,
int nCrvId, int nCrv2Id, bool bUpdate = true) override ;
int ModifyProcess( int nGeomId, int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId,
const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, const STRVECTOR& vsUAtt,
int nCrvId, int nCrv2Id, bool bUpdate = true) override ;
bool EraseProcess( int nGeomId, bool bUpdate = true) override ;
bool EnableProcess( int nGeomId, bool bEnable, bool bUpdate = true) override ;
bool CalcSolid( int nPartId, bool bRecalc = false) override ;
int GetSolid( int nPartId) const override ;
bool ShowSolid( int nPartId, bool bShow) override ;
bool GetBuildingIsOn( void) const override ;
bool ShowBuilding( bool bShow) override ;
public :
BeamMgr( void) ;
private :
private :
IGeomDB* m_pGDB ;
BtlGeom m_BtlGeom ; // gestore geometria pezzi Btl
} ;