Code_TYMPAN  4.2.0
Industrial site acoustic simulation
Public Types | Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | List of all members
TYCalcul Class Reference

Programme de calcul. More...

#include <TYCalcul.h>

Inheritance diagram for TYCalcul:
Inheritance graph
[legend]
Collaboration diagram for TYCalcul:
Collaboration graph
[legend]

Public Types

enum  CalculState { Locked, Actif }
 Les differents etats possible pour un calcul. More...
 

Public Member Functions

 TYCalcul ()
 
 TYCalcul (const TYCalcul &other)
 build a calcul giving his parent. Constructeur de la classe TYCalcul. More...
 
virtual ~TYCalcul ()
 Destructeur. Deconstructeur de la classe TYCalcul. More...
 
TYCalculoperator= (const TYCalcul &other)
 Operateur =. More...
 
bool operator== (const TYCalcul &other) const
 Operateur ==. More...
 
bool operator!= (const TYCalcul &other) const
 Operateur !=. More...
 
virtual bool deepCopy (const TYElement *pOther, bool copyId=true, bool pUseCopyTag=false)
 
virtual std::string toString () const
 
virtual DOM_Element toXML (DOM_Element &domElement)
 
virtual int fromXML (DOM_Element domElement)
 
bool getPtCtrlStatus (const TYUUID &id_pt)
 Get the status of a point for this calcul. More...
 
void setPtCtrlStatus (const TYUUID &id_pt, bool bStatus)
 Set the status of a point for this calcul. More...
 
void purge ()
 Reinitialise ce calcul. More...
 
void clearResult ()
 
TYProjetgetProjet ()
 
int getNumero () const
 Get du numero. More...
 
void setNumero (int num)
 Set du numero. More...
 
QString getAuteur () const
 Get du nom de l'auteur. More...
 
void setAuteur (QString auteur)
 Set du nom de l'auteur. More...
 
QString getDateCreation () const
 Set/Get de la date de creation. More...
 
void setDateCreation (const QString &date)
 
QString getDateModif () const
 Get de la date de modification. More...
 
void setDateModif (const QString &date)
 Set de la date de modification. More...
 
QString getComment () const
 Get des commentaires. More...
 
void setComment (const QString &comment)
 Set des commentaires. More...
 
bool getIsUpTodate () const
 Get de l'etat calcul a jour ou non par rapport a l'infrastructure. More...
 
void setIsUpTodate (bool upTodate)
 Set de l'etat calcul a jour ou non par rapport a l'infrastructure. More...
 
TYListID getElementSelection () const
 Get de la selection d'elements actifs dans ce Calcul. More...
 
bool addToSelection (TYUUID id)
 Ajoute l'element a la selection de ce Calcul. More...
 
void addToSelection (TYElement *pElt, bool recursif=true)
 Ajoute l'element a la selection de ce Calcul. More...
 
bool remToSelection (TYUUID id)
 Supprime l'element de la selection de ce Calcul. More...
 
bool remToSelection (TYElement *pElt, bool recursif=true)
 Supprime l'element de la selection de ce Calcul. More...
 
bool isInSelection (TYUUID id)
 Test si l'element est present dans la selection de ce Calcul. More...
 
bool isInSelection (LPTYElement pElt)
 Test si l'element est present dans la selection de ce Calcul. More...
 
TYMapPtrElementBoolgetEmitAcVolNode ()
 Get du tableau contenant l'etat de chaque volumeNode en emission. More...
 
const TYMapPtrElementBoolgetEmitAcVolNode () const
 Get du tableau contenant l'etat de chaque volumeNode en emission. More...
 
TYMapPtrElementIntgetMapElementRegime ()
 Get du tableau des regimes. More...
 
const TYMapPtrElementIntgetMapElementRegime () const
 Get du tableau des regimes. More...
 
bool addPtCtrlToResult (LPTYPointControl pPoint)
 Ajoute un point de controle au tableau des resultats. More...
 
bool remPtCtrlFromResult (LPTYPointControl pPoint)
 Supprime un point de controle au tableau des resultats. More...
 
LPTYSpectre getSpectre (const TYUUID &id_pt)
 
LPTYSpectre getSpectre (const TYPointControl *pPoint)
 
void setSpectre (const TYUUID &id_pt, TYSpectre *pSpectre)
 
void setSpectre (TYPointCalcul *pPoint, TYSpectre *pSpectre)
 
const LPTYResultat getResultat () const
 
LPTYResultat getResultat ()
 Get du resultat. More...
 
void getCalculElements (LPTYSiteNode pSite)
 Recupere tous les elements de la scene qui participent au calcul. More...
 
void setSite (LPTYSiteNode pSite)
 Definition du site sur lequel va s'effectuer le calcul. More...
 
LPTYSiteNode getSite ()
 Recuperation du site de calcul. More...
 
void setState (int state)
 Set attribut modifiable. More...
 
int getState ()
 Get de l'etat du calcul. More...
 
const int getState () const
 Get de l'etat du calcul. More...
 
bool getStatusPartialResult () const
 Get de la conservation des resultats partiels. More...
 
void setStatusPartialResult (const bool &status)
 Set de la conservation des resultats partiels. More...
 
void setSolverId (const OGenID &iD)
 
const OGenID getSolverId () const
 
OGenID getSolverId ()
 Get/Set du solveur ID. More...
 
void goPostprocessing ()
 
TYTabRaygetTabRays ()
 Renvoie un tableau contenant tous les rayons trouvés par le lancer de rayons. More...
 
std::vector< LPTYSpectre > * getSpectrumDatas (const TYUUID &id)
 Return spectrums for a given noise map. More...
 
std::vector< LPTYSpectre > * getSpectrumDatas (TYMaillage *pMaillage)
 Return spectrums for a given noise map. More...
 
bool addMaillage (TYMaillage *pMaillage)
 Add this maillage to calcul. More...
 
bool remMaillage (TYMaillage *pMaillage)
 Remove a maillage from calcul. More...
 
bool updateMaillage (TYMaillage *pMaillage)
 update a noisemap after modification More...
 
void setNoiseMapSpectrums (const TYMaillage *pMaillage, TYTabLPSpectre &tabSpectrum)
 set spectrum vector for a given noise map More...
 
void setNoiseMapSpectrums (const TYUUID &id, TYTabLPSpectre &tabSpectrum)
 set spectrum vector for a given noise map More...
 
- Public Member Functions inherited from TYElement
void * getAllUses ()
 
void setAllUses (void *allUses)
 
void cleanAllUses ()
 
 TYElement ()
 
 TYElement (TYElement *pParent, bool PutInInstanceList=true)
 
 TYElement (const TYElement &other, bool PutInInstanceList=true)
 
virtual ~TYElement ()
 
void setID (TYUUID id)
 
void setID (const QString &str_id)
 
const TYUUIDgetID () const
 
QString getStringID () const
 
bool hasNullID () const
 
void regenerateID ()
 
void setName (QString name)
 
void setName (std::string name)
 
virtual QString getName () const
 
void setParent (TYElement *pParent)
 
TYElementgetParent () const
 
virtual void setIsAcousticModified (bool isModified)
 
bool getIsAcousticModified ()
 
virtual void setIsGeometryModified (bool isModified)
 
bool getIsGeometryModified ()
 
TYElementoperator= (const TYElement &other)
 
bool operator== (const TYElement &other) const
 
bool operator!= (const TYElement &other) const
 
bool callFromXMLIfEqual (DOM_Element &domElement, int *pRetVal=NULL)
 
std::string getMetierName ()
 
virtual void updateCurrentCalcul (TYListID &listID, bool recursif=true)
 
virtual void getChilds (LPTYElementArray &childs, bool recursif=true)
 
virtual void setInCurrentCalcul (bool state, bool recurschild=true, bool recursparent=true)
 
virtual bool isInCurrentCalcul ()
 
void addCopy ()
 Increment le compteur de nombre de copies. More...
 
void setCopyCount (const unsigned int copyCount)
 Modifie la vaeur du compteur. More...
 
- Public Member Functions inherited from IRefCount
 IRefCount ()
 
virtual ~IRefCount ()
 
virtual int incRef ()
 
virtual int decRef ()
 
int getRefCount () const
 
- Public Member Functions inherited from OPrototype
virtual ~OPrototype ()
 
virtual OPrototypeclone () const =0
 
virtual const char * getClassName () const
 
bool isA (const char *className) const
 

Public Attributes

QString solverParams
 

Protected Attributes

OGenID _solverId
 
int _numero
 Numero du Calcul. More...
 
QString _auteur
 Nom de l'auteur. More...
 
QString _dateCreation
 Date de creation. More...
 
QString _dateModif
 Date de modification. More...
 
QString _comment
 Commentaires. More...
 
bool _upTodate
 etat a jour du calcul More...
 
int _state
 Etat du calcul actif/bloque. More...
 
LPTYSiteNode _pSiteCalcul
 Site sur lequel va s'effectuer le calcul. More...
 
TYListID _elementSelection
 Tableau des ID des elements presents dans la scene. More...
 
TYMapPtrElementBool _emitAcVolNode
 Etat (rayonnant/non rayonnant) des elements de la scene. More...
 
TYMapPtrElementInt _mapElementRegime
 Regime des elemenst de la scene. More...
 
TYMapIdSpectre _mapPointCtrlSpectre
 
TYMapIdTabSpectre _noiseMapsSpectrums
 
LPTYResultat _pResultat
 Resultat. More...
 
TYTabRay _tabRays
 
- Protected Attributes inherited from TYElement
QString _name
 Nom courant de l'element. More...
 
TYElement_pParent
 Reference sur l'element parent. More...
 
bool _bPutInInstanceList
 
unsigned int _copyCount
 
bool _inCurrentCalcul
 Indique si cet element est actif dans le Calcul courant. More...
 
bool _isAcousticModified
 Indicateur de modification acoustique. More...
 
bool _isGeometryModified
 Indicateur de modification de la geometrie. More...
 
LPTYElementGraphic _pGraphicObject
 L'object graphique metier associe a cet element. More...
 
void * _allUses
 Multi purpose void pointer (use for compatibility actually) More...
 
- Protected Attributes inherited from IRefCount
int m_refCount
 The reference counter. More...
 

Private Member Functions

void clearCtrlPointsSpectrums ()
 
void clearNoiseMapsSpectrums ()
 
void copyNoiseMapSpectrums (TYMapIdTabSpectre &otherNoiseMap)
 

Additional Inherited Members

- Static Public Member Functions inherited from TYElement
static LPTYElementArray findTypeCollectionAndCallFromXML (DOM_Element parentElem, const char *type)
 
static void setLogInstances (bool log)
 
static bool getLogInstances ()
 
static TYElementgetInstance (TYUUID uuid)
 
static void purgeInstances ()
 
static bool testId (const TYUUID &id, const TYElement *pElem)
 
static TYUUID newID ()
 
static TYUUID fromString (QString id)
 
static QString toString (TYUUID &uuid)
 
static uint64 getConstructorCount ()
 
static uint64 getDestructorCount ()
 
static uint64 getIdGenerationCount ()
 
static bool getIsSavedOk ()
 
static void setIsSavedOk (const bool &toSave)
 
static void setRegenerateID (const bool &bRegenerate)
 
static bool getRegenerateID ()
 
- Static Public Member Functions inherited from OPrototype
static OPrototypefindAndClone (const char *className)
 
static int findPrototype (const char *className)
 
static OPrototypesafeDownCast (OPrototype *pObject)
 
static void add_factory (const char *, IOProtoFactory::ptr_type factory)
 
- Protected Member Functions inherited from OPrototype
 OPrototype ()
 

Detailed Description

Programme de calcul.

Version
v 1.2
Author
Projet_Tympan
Date
2008/01/25 14:06:42

Le programme qui definit les Calculs.

Definition at line 49 of file TYCalcul.h.

Member Enumeration Documentation

◆ CalculState

Les differents etats possible pour un calcul.

Enumerator
Locked 

Le calcul ne peut etre execute (modifie).

Actif 

Le calcul peut etre execute (modifie).

Definition at line 60 of file TYCalcul.h.

Constructor & Destructor Documentation

◆ TYCalcul() [1/2]

TYCalcul::TYCalcul ( )

Definition at line 47 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ TYCalcul() [2/2]

TYCalcul::TYCalcul ( const TYCalcul other)

build a calcul giving his parent. Constructeur de la classe TYCalcul.

Parameters
LPTYProjetpParent=Nulle Constructeur par copie.
otherConstructeur par copie de la classe TYCalcul.

Definition at line 63 of file TYCalcul.cpp.

◆ ~TYCalcul()

TYCalcul::~TYCalcul ( )
virtual

Destructeur. Deconstructeur de la classe TYCalcul.

Definition at line 68 of file TYCalcul.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addMaillage()

bool TYCalcul::addMaillage ( TYMaillage pMaillage)

Add this maillage to calcul.

Definition at line 1192 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addPtCtrlToResult()

bool TYCalcul::addPtCtrlToResult ( LPTYPointControl  pPoint)

Ajoute un point de controle au tableau des resultats.

Parameters
TYPoint* : Pointeur sur le point a ajouter

Definition at line 1038 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addToSelection() [1/2]

bool TYCalcul::addToSelection ( TYUUID  id)

Ajoute l'element a la selection de ce Calcul.

Definition at line 781 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addToSelection() [2/2]

bool TYCalcul::addToSelection ( TYElement pElt,
bool  recursif = true 
)

Ajoute l'element a la selection de ce Calcul.

Definition at line 794 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ clearCtrlPointsSpectrums()

void TYCalcul::clearCtrlPointsSpectrums ( )
private

Definition at line 1073 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ clearNoiseMapsSpectrums()

void TYCalcul::clearNoiseMapsSpectrums ( )
private

Definition at line 1082 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ clearResult()

void TYCalcul::clearResult ( )

Vide le resultat de ce calcul

Definition at line 752 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyNoiseMapSpectrums()

void TYCalcul::copyNoiseMapSpectrums ( TYMapIdTabSpectre otherNoiseMap)
private

Definition at line 1094 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ deepCopy()

bool TYCalcul::deepCopy ( const TYElement pOther,
bool  copyId = true,
bool  pUseCopyTag = false 
)
virtual

Effectue une copie en allouant de la memoire (deep copy) et non pas en copiant seulement les pointeurs (shallow copy). Cette methode s'utilise comme l'operateur egal. L'ID peut ne pas etre copie, le parent n'est jamais copie.

Parameters
pOtherL'element a copier.
copyIdCopie l'identifiant unique ou pas.
Returns
true si la copie est possible; false sinon.

Reimplemented from TYElement.

Definition at line 133 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fromXML()

int TYCalcul::fromXML ( DOM_Element  domElement)
virtual

Extrait les informations a partir du noeud DOM passe afin de recuperer les parametres de la classe.

Parameters
domElementLe noeud DOM a partir duquel les parametres doivent etre recuperes.
Returns
1 si la recuperation des parametres a reussie.

Reimplemented from TYElement.

Definition at line 298 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ getAuteur()

QString TYCalcul::getAuteur ( ) const
inline

Get du nom de l'auteur.

Returns
_auteur

Definition at line 146 of file TYCalcul.h.

◆ getCalculElements()

void TYCalcul::getCalculElements ( LPTYSiteNode  pSite)

Recupere tous les elements de la scene qui participent au calcul.

Parameters
pSiteSite a partir duquel se fait la selection.

Definition at line 941 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getComment()

QString TYCalcul::getComment ( ) const
inline

Get des commentaires.

Returns
_comment

Definition at line 181 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getDateCreation()

QString TYCalcul::getDateCreation ( ) const
inline

Set/Get de la date de creation.

fn QString getDateCreation() void setDateCreation(const QString& date)

Returns
_dateCreation

Definition at line 160 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getDateModif()

QString TYCalcul::getDateModif ( ) const
inline

Get de la date de modification.

fn QString getDateModif()

Returns
_dateModif

Definition at line 168 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getElementSelection()

TYListID TYCalcul::getElementSelection ( ) const
inline

Get de la selection d'elements actifs dans ce Calcul.

Returns
_elementSelection

Definition at line 207 of file TYCalcul.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEmitAcVolNode() [1/2]

TYMapPtrElementBool & TYCalcul::getEmitAcVolNode ( )
inline

Get du tableau contenant l'etat de chaque volumeNode en emission.

Returns
_emitAcVolNode

Definition at line 248 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getEmitAcVolNode() [2/2]

const TYMapPtrElementBool & TYCalcul::getEmitAcVolNode ( ) const
inline

Get du tableau contenant l'etat de chaque volumeNode en emission.

Returns
_emitAcVolNode

Definition at line 254 of file TYCalcul.h.

◆ getIsUpTodate()

bool TYCalcul::getIsUpTodate ( ) const
inline

Get de l'etat calcul a jour ou non par rapport a l'infrastructure.

Returns
_upTodate

Definition at line 194 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getMapElementRegime() [1/2]

TYMapPtrElementInt & TYCalcul::getMapElementRegime ( )
inline

Get du tableau des regimes.

Returns
_mapElementRegime

Definition at line 261 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getMapElementRegime() [2/2]

const TYMapPtrElementInt & TYCalcul::getMapElementRegime ( ) const
inline

Get du tableau des regimes.

Returns
_mapElementRegime

Definition at line 268 of file TYCalcul.h.

Here is the call graph for this function:

◆ getNumero()

int TYCalcul::getNumero ( ) const
inline

Get du numero.

Returns
_numero

Definition at line 133 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getProjet()

TYProjet * TYCalcul::getProjet ( )

Retourne le projet parent.

Definition at line 73 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPtCtrlStatus()

bool TYCalcul::getPtCtrlStatus ( const TYUUID id_pt)

Get the status of a point for this calcul.

Definition at line 1149 of file TYCalcul.cpp.

◆ getResultat() [1/2]

const LPTYResultat TYCalcul::getResultat ( ) const
inline

Definition at line 299 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getResultat() [2/2]

LPTYResultat TYCalcul::getResultat ( )
inline

Get du resultat.

Returns
_pResultat

Definition at line 300 of file TYCalcul.h.

Here is the call graph for this function:

◆ getSite()

LPTYSiteNode TYCalcul::getSite ( )

Recuperation du site de calcul.

Returns
_pSiteCalcul

Definition at line 764 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSolverId() [1/2]

const OGenID TYCalcul::getSolverId ( ) const
inline

Definition at line 362 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getSolverId() [2/2]

OGenID TYCalcul::getSolverId ( )
inline

Get/Set du solveur ID.

Definition at line 363 of file TYCalcul.h.

Here is the call graph for this function:

◆ getSpectre() [1/2]

LPTYSpectre TYCalcul::getSpectre ( const TYUUID id_pt)

Get the spectrum for a given control point

Definition at line 1115 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ getSpectre() [2/2]

LPTYSpectre TYCalcul::getSpectre ( const TYPointControl pPoint)

Definition at line 1110 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ getSpectrumDatas() [1/2]

std::vector< LPTYSpectre > * TYCalcul::getSpectrumDatas ( const TYUUID id)

Return spectrums for a given noise map.

Definition at line 1183 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ getSpectrumDatas() [2/2]

std::vector< LPTYSpectre > * TYCalcul::getSpectrumDatas ( TYMaillage pMaillage)

Return spectrums for a given noise map.

Definition at line 1178 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ getState() [1/2]

int TYCalcul::getState ( )
inline

Get de l'etat du calcul.

Returns
_state

Definition at line 333 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getState() [2/2]

const int TYCalcul::getState ( ) const
inline

Get de l'etat du calcul.

Returns
_state

Definition at line 340 of file TYCalcul.h.

◆ getStatusPartialResult()

bool TYCalcul::getStatusPartialResult ( ) const
inline

Get de la conservation des resultats partiels.

Returns
_pResultat->getPartialState()

Definition at line 347 of file TYCalcul.h.

Here is the call graph for this function:

◆ getTabRays()

TYTabRay& TYCalcul::getTabRays ( )
inline

Renvoie un tableau contenant tous les rayons trouvés par le lancer de rayons.

Returns
Renvoie le tableau de rayons Tympan

Definition at line 373 of file TYCalcul.h.

Here is the call graph for this function:

◆ goPostprocessing()

void TYCalcul::goPostprocessing ( )

Definition at line 924 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isInSelection() [1/2]

bool TYCalcul::isInSelection ( TYUUID  id)

Test si l'element est present dans la selection de ce Calcul.

Definition at line 907 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ isInSelection() [2/2]

bool TYCalcul::isInSelection ( LPTYElement  pElt)
inline

Test si l'element est present dans la selection de ce Calcul.

Definition at line 241 of file TYCalcul.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

bool TYCalcul::operator!= ( const TYCalcul other) const

Operateur !=.

Definition at line 128 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ operator=()

TYCalcul & TYCalcul::operator= ( const TYCalcul other)

Operateur =.

Definition at line 78 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ operator==()

bool TYCalcul::operator== ( const TYCalcul other) const

Operateur ==.

Definition at line 104 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ purge()

void TYCalcul::purge ( )

Reinitialise ce calcul.

Definition at line 732 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remMaillage()

bool TYCalcul::remMaillage ( TYMaillage pMaillage)

Remove a maillage from calcul.

Definition at line 1232 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remPtCtrlFromResult()

bool TYCalcul::remPtCtrlFromResult ( LPTYPointControl  pPoint)

Supprime un point de controle au tableau des resultats.

Parameters
TYPoint* : Pointeur sur le point a ajouter

Definition at line 1058 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remToSelection() [1/2]

bool TYCalcul::remToSelection ( TYUUID  id)

Supprime l'element de la selection de ce Calcul.

Definition at line 865 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remToSelection() [2/2]

bool TYCalcul::remToSelection ( TYElement pElt,
bool  recursif = true 
)

Supprime l'element de la selection de ce Calcul.

Definition at line 872 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ setAuteur()

void TYCalcul::setAuteur ( QString  auteur)
inline

Set du nom de l'auteur.

Definition at line 152 of file TYCalcul.h.

◆ setComment()

void TYCalcul::setComment ( const QString &  comment)
inline

Set des commentaires.

Definition at line 187 of file TYCalcul.h.

◆ setDateCreation()

void TYCalcul::setDateCreation ( const QString &  date)
inline

Definition at line 161 of file TYCalcul.h.

◆ setDateModif()

void TYCalcul::setDateModif ( const QString &  date)
inline

Set de la date de modification.

fn void setDateModif(const QString& date)

Definition at line 174 of file TYCalcul.h.

◆ setIsUpTodate()

void TYCalcul::setIsUpTodate ( bool  upTodate)
inline

Set de l'etat calcul a jour ou non par rapport a l'infrastructure.

Definition at line 200 of file TYCalcul.h.

Here is the caller graph for this function:

◆ setNoiseMapSpectrums() [1/2]

void TYCalcul::setNoiseMapSpectrums ( const TYMaillage pMaillage,
TYTabLPSpectre tabSpectrum 
)

set spectrum vector for a given noise map

Definition at line 1249 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNoiseMapSpectrums() [2/2]

void TYCalcul::setNoiseMapSpectrums ( const TYUUID id,
TYTabLPSpectre tabSpectrum 
)

set spectrum vector for a given noise map

Definition at line 1255 of file TYCalcul.cpp.

◆ setNumero()

void TYCalcul::setNumero ( int  num)
inline

Set du numero.

Definition at line 139 of file TYCalcul.h.

Here is the caller graph for this function:

◆ setPtCtrlStatus()

void TYCalcul::setPtCtrlStatus ( const TYUUID id_pt,
bool  bStatus 
)

Set the status of a point for this calcul.

Definition at line 1158 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ setSite()

void TYCalcul::setSite ( LPTYSiteNode  pSite)

Definition du site sur lequel va s'effectuer le calcul.

Definition at line 776 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ setSolverId()

void TYCalcul::setSolverId ( const OGenID iD)
inline

Definition at line 361 of file TYCalcul.h.

Here is the caller graph for this function:

◆ setSpectre() [1/2]

void TYCalcul::setSpectre ( const TYUUID id_pt,
TYSpectre pSpectre 
)

Set the spectrum for a given control point

Definition at line 1144 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ setSpectre() [2/2]

void TYCalcul::setSpectre ( TYPointCalcul pPoint,
TYSpectre pSpectre 
)

Definition at line 1124 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ setState()

void TYCalcul::setState ( int  state)
inline

Set attribut modifiable.

Definition at line 326 of file TYCalcul.h.

Here is the caller graph for this function:

◆ setStatusPartialResult()

void TYCalcul::setStatusPartialResult ( const bool &  status)
inline

Set de la conservation des resultats partiels.

Definition at line 353 of file TYCalcul.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toString()

std::string TYCalcul::toString ( ) const
virtual

Retourne une chaine de caractere donnant des informations sur cet objet (utile pour le debugage).

Returns
Une chaine de caractere informative sur cet objet.

Reimplemented from TYElement.

Definition at line 178 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ toXML()

DOM_Element TYCalcul::toXML ( DOM_Element domElement)
virtual

Construit une arborescence DOM a partir du noeud passe afin de sauvegarder les parametres au format XML.

Parameters
domElementLe noeud DOM parent a partir duquel l'arborescence doit etre creee.
Returns
Le noeud DOM nouvellement cree.

Reimplemented from TYElement.

Definition at line 183 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ updateMaillage()

bool TYCalcul::updateMaillage ( TYMaillage pMaillage)

update a noisemap after modification

Definition at line 1213 of file TYCalcul.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _auteur

QString TYCalcul::_auteur
protected

Nom de l'auteur.

Definition at line 427 of file TYCalcul.h.

◆ _comment

QString TYCalcul::_comment
protected

Commentaires.

Definition at line 433 of file TYCalcul.h.

◆ _dateCreation

QString TYCalcul::_dateCreation
protected

Date de creation.

Definition at line 429 of file TYCalcul.h.

◆ _dateModif

QString TYCalcul::_dateModif
protected

Date de modification.

Definition at line 431 of file TYCalcul.h.

◆ _elementSelection

TYListID TYCalcul::_elementSelection
protected

Tableau des ID des elements presents dans la scene.

Definition at line 444 of file TYCalcul.h.

◆ _emitAcVolNode

TYMapPtrElementBool TYCalcul::_emitAcVolNode
protected

Etat (rayonnant/non rayonnant) des elements de la scene.

Definition at line 446 of file TYCalcul.h.

◆ _mapElementRegime

TYMapPtrElementInt TYCalcul::_mapElementRegime
protected

Regime des elemenst de la scene.

Definition at line 448 of file TYCalcul.h.

◆ _mapPointCtrlSpectre

TYMapIdSpectre TYCalcul::_mapPointCtrlSpectre
protected

Definition at line 451 of file TYCalcul.h.

◆ _noiseMapsSpectrums

TYMapIdTabSpectre TYCalcul::_noiseMapsSpectrums
protected

Definition at line 454 of file TYCalcul.h.

◆ _numero

int TYCalcul::_numero
protected

Numero du Calcul.

Definition at line 425 of file TYCalcul.h.

◆ _pResultat

LPTYResultat TYCalcul::_pResultat
protected

Resultat.

Definition at line 457 of file TYCalcul.h.

◆ _pSiteCalcul

LPTYSiteNode TYCalcul::_pSiteCalcul
protected

Site sur lequel va s'effectuer le calcul.

Definition at line 441 of file TYCalcul.h.

◆ _solverId

OGenID TYCalcul::_solverId
protected

Definition at line 422 of file TYCalcul.h.

◆ _state

int TYCalcul::_state
protected

Etat du calcul actif/bloque.

Definition at line 438 of file TYCalcul.h.

◆ _tabRays

TYTabRay TYCalcul::_tabRays
protected

Definition at line 460 of file TYCalcul.h.

◆ _upTodate

bool TYCalcul::_upTodate
protected

etat a jour du calcul

Definition at line 436 of file TYCalcul.h.

◆ solverParams

QString TYCalcul::solverParams

Definition at line 367 of file TYCalcul.h.


The documentation for this class was generated from the following files: