108 virtual bool deepCopy(
const TYElement* pOther,
bool copyId =
true,
bool pUseCopyTag =
false);
110 virtual std::string
toString()
const;
std::map< TYUUID, SmartPtr< TYSpectre > > TYMapIdSpectre
Tableau associant un spectre a un id (identifiant d'objet)
std::map< TYUUID, std::vector< SmartPtr< TYSpectre > > > TYMapIdTabSpectre
Tableau associant un id a un tableau de spectres.
std::map< TYElement *, bool > TYMapPtrElementBool
Etat d'utilisation des elements (utilise par les calculs)
std::vector< LPTYSpectre > TYTabLPSpectre
Collection de TYSpectre.
std::map< TYElement *, int > TYMapPtrElementInt
Tableau associatif des elements et d'un entier (utilise pour gerer les regimes)
std::list< TYUUID > TYListID
Collection d'identifiants.
#define TY_EXT_GRAPHIC_DECL_ONLY(classname)
#define OPROTODECL(classname)
#define TY_EXTENSION_DECL_ONLY(classname)
std::vector< LPTYRay > TYTabRay
void copyNoiseMapSpectrums(TYMapIdTabSpectre &otherNoiseMap)
bool getPtCtrlStatus(const TYUUID &id_pt)
Get the status of a point for this calcul.
LPTYResultat _pResultat
Results.
TYMapIdSpectre _mapPointCtrlSpectre
int getState()
Get calculation state.
void setSite(LPTYSiteNode pSite)
Definition of the site on which the calculation will be done.
TYMapPtrElementInt _mapElementRegime
Regime of scene elements.
void setAuteur(QString auteur)
Set author name.
bool addPtCtrlToResult(LPTYPointControl pPoint)
Add a checkpoint to the results array.
bool isInSelection(LPTYElement pElt)
Tests if the element is present in the selection of this Calculation.
TYListID getElementSelection() const
Get the selection of active elements in this Calculation.
int _numero
Calculation number.
CalculState
The different possible states for a calculation.
LPTYResultat getResultat()
Get result.
TYMapPtrElementBool _emitAcVolNode
State (radiating/non-radiating) of the elements of the scene.
const TYMapPtrElementBool & getEmitAcVolNode() const
Get array containing the state of each volumeNode in transmission.
void purge()
Reset this calculation.
OGenID getSolverId()
Get solver ID.
bool getStatusPartialResult() const
Get conservation of partial results.
TYCalcul & operator=(const TYCalcul &other)
Operator =.
bool hasResuCtrlPoints()
Method used for migrating T310 project \ returns true if ResuCtrlPnts exists in xml project else retu...
TYMapIdTabSpectre _noiseMapsSpectrums
void setSpectre(const TYUUID &id_pt, TYSpectre *pSpectre)
int _state
Calculation state Active or Blocked.
void setPtCtrlStatus(const TYUUID &id_pt, bool bStatus)
Set the status of a point for this calcul.
const int getState() const
Get calculation state.
void getCalculElements(LPTYSiteNode pSite)
Recover all the elements of the scene which take part in the calculation.
void setNoiseMapSpectrums(const TYMaillage *pMaillage, TYTabLPSpectre &tabSpectrum)
set spectrum vector for a given noise map
QString getDateModif() const
Get modification date.
void setStatusPartialResult(const bool &status)
Partial result retention set.
virtual ~TYCalcul()
Destructor. Destructor of the TYCalcul class.
bool _upTodate
Calculation up to date or not.
void setDateModif(const QString &date)
Set modification date.
bool updateMaillage(TYMaillage *pMaillage)
update a noisemap after modification
virtual int fromXML(DOM_Element domElement)
virtual DOM_Element toXML(DOM_Element &domElement)
bool remMaillage(TYMaillage *pMaillage)
Remove a maillage from calcul.
bool remToSelection(TYUUID id)
Removes the item from the selection of this Calculation.
void setSolverId(const OGenID &iD)
Set solver ID.
bool isInSelection(TYUUID id)
Tests if the element is present in the selection of this Calculation.
QString getAuteur() const
Get zuthor name.
TYMapPtrElementInt & getMapElementRegime()
Get from the regime.
LPTYSpectre getSpectre(const TYUUID &id_pt)
void setComment(const QString &comment)
Set comments.
void setDateCreation(const QString &date)
QString getDateCreation() const
Set/Get of creation date.
bool operator==(const TYCalcul &other) const
Operator ==.
TYMapPtrElementBool & getEmitAcVolNode()
Get array containing the state of each volumeNode in transmission.
LPTYSiteNode _pSiteCalcul
Site on which the calculation will be carried out.
const TYMapPtrElementInt & getMapElementRegime() const
Get regime tab.
void clearNoiseMapsSpectrums()
int getNumero() const
Get the number.
void setIsUpTodate(bool upTodate)
Set the calculated state up to date or not link to the infrastructure.
virtual bool deepCopy(const TYElement *pOther, bool copyId=true, bool pUseCopyTag=false)
const OGenID getSolverId() const
Get solver ID.
bool addMaillage(TYMaillage *pMaillage)
Add this maillage to calcul.
void setNumero(int num)
Set the number.
QString _auteur
Author name.
TYListID _elementSelection
Array of IDs of elements present in the scene.
bool remPtCtrlFromResult(LPTYPointControl pPoint)
Deletes a checkpoint from the results table.
const LPTYResultat getResultat() const
Get result.
void setState(int state)
Set editable attribute.
TYTabRay & getTabRays()
Returns an array containing all the rays found by ray tracing.
QString _dateCreation
Creation date.
QString getComment() const
Get comments.
TYMapIdSpectre getMapPointCtrlSpectre()
Returns map of control points with spectrum.
bool getIsUpTodate() const
Get the calculated state up to date or not link to the infrastructure.
virtual std::string toString() const
QString _comment
Comments.
void clearCtrlPointsSpectrums()
bool operator!=(const TYCalcul &other) const
Operator !=.
QString _dateModif
Modification date.
LPTYSiteNode getSite()
Get calculation site.
bool addToSelection(TYUUID id)
Adds the item to the selection of this Calculation.
std::vector< LPTYSpectre > * getSpectrumDatas(const TYUUID &id)
Return spectrums for a given noise map.
const TYUUID & getID() const
Classe de definition d'un maillage.
Classe de definition d'un point de calcul.C'est une classe derivee a TYPoint avec en plus un spectrep...
Classe de definition d'un point de controle.Le point de controle est un point de calcul avec une haut...
classe de definition d'un projet.
void setPartialState(const bool &bPartial)
Get/Set du parametre de conservation de la matrice brut _bPartial.
bool getPartialState() const