7dca18130b
- in BeamMgr aggiunta funzione UpdatePart - in BeamMgr sviluppata la funzione EnableProcess - migliorie varie in BtlGeom.
53 lines
2.2 KiB
C++
53 lines
2.2 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2020-2020
|
|
//----------------------------------------------------------------------------
|
|
// File : BeamMgr.h Data : 30.08.20 Versione : 2.2i1
|
|
// Contenuto : Dichiarazione della classe BeamMgr.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 30.08.20 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "BtlGeom.h"
|
|
#include "/EgtDev/Include/EExBeamMgr.h"
|
|
|
|
//----------------------------------------------------------------------------
|
|
class BeamMgr : public IBeamMgr
|
|
{
|
|
public :
|
|
bool Init( IGeomDB* pGDB, int nFlag = 0) 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 ;
|
|
int AddProcess( int nGroup, int nProc, int nSide, const std::string& sDes, int nProcId,
|
|
const Frame3d& frRef, const DBLVECTOR& vdPar, const std::string& sPar, 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, 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
|
|
} ;
|