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

Calculation program. More...

#include <TYCalcul.h>

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

Public Types

enum  CalculState { Locked , Actif }
 The different possible states for a calculation. More...
 

Public Member Functions

 TYCalcul ()
 
 TYCalcul (const TYCalcul &other)
 ‍** More...
 
virtual ~TYCalcul ()
 Destructor. Destructor of the TYCalcul class. More...
 
TYCalculoperator= (const TYCalcul &other)
 Operator =. More...
 
bool operator== (const TYCalcul &other) const
 Operator ==. More...
 
bool operator!= (const TYCalcul &other) const
 Operator !=. 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 ()
 Reset this calculation. More...
 
void clearResult ()
 
TYProjetgetProjet ()
 
int getNumero () const
 Get the number. More...
 
void setNumero (int num)
 Set the number. More...
 
QString getAuteur () const
 Get zuthor name. More...
 
void setAuteur (QString auteur)
 Set author name. More...
 
QString getDateCreation () const
 Set/Get of creation date. More...
 
void setDateCreation (const QString &date)
 
QString getDateModif () const
 Get modification date. More...
 
void setDateModif (const QString &date)
 Set modification date. More...
 
QString getComment () const
 Get comments. More...
 
void setComment (const QString &comment)
 Set comments. More...
 
bool getIsUpTodate () const
 Get the calculated state up to date or not link to the infrastructure. More...
 
void setIsUpTodate (bool upTodate)
 Set the calculated state up to date or not link to the infrastructure. More...
 
TYListID getElementSelection () const
 Get the selection of active elements in this Calculation. More...
 
bool addToSelection (TYUUID id)
 Adds the item to the selection of this Calculation. More...
 
void addToSelection (TYElement *pElt, bool recursif=true)
 Adds the item to the selection of this Calculation. More...
 
bool remToSelection (TYUUID id)
 Removes the item from the selection of this Calculation. More...
 
bool remToSelection (TYElement *pElt, bool recursif=true)
 Removes the item from the selection of this Calculation. More...
 
bool isInSelection (TYUUID id)
 Tests if the element is present in the selection of this Calculation. More...
 
bool isInSelection (LPTYElement pElt)
 Tests if the element is present in the selection of this Calculation. More...
 
TYMapPtrElementBoolgetEmitAcVolNode ()
 Get array containing the state of each volumeNode in transmission. More...
 
const TYMapPtrElementBoolgetEmitAcVolNode () const
 Get array containing the state of each volumeNode in transmission. More...
 
TYMapPtrElementIntgetMapElementRegime ()
 Get from the regime. More...
 
const TYMapPtrElementIntgetMapElementRegime () const
 Get regime tab. More...
 
bool addPtCtrlToResult (LPTYPointControl pPoint)
 Add a checkpoint to the results array. More...
 
bool remPtCtrlFromResult (LPTYPointControl pPoint)
 Deletes a checkpoint from the results table. 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
 Get result. More...
 
LPTYResultat getResultat ()
 Get result. More...
 
void getCalculElements (LPTYSiteNode pSite)
 Recover all the elements of the scene which take part in the calculation. More...
 
void setSite (LPTYSiteNode pSite)
 Definition of the site on which the calculation will be done. More...
 
LPTYSiteNode getSite ()
 Get calculation site. More...
 
void setState (int state)
 Set editable attribute. More...
 
int getState ()
 Get calculation state. More...
 
const int getState () const
 Get calculation state. More...
 
bool getStatusPartialResult () const
 Get conservation of partial results. More...
 
void setStatusPartialResult (const bool &status)
 Partial result retention set. More...
 
void setSolverId (const OGenID &iD)
 Set solver ID. More...
 
const OGenID getSolverId () const
 Get solver ID. More...
 
OGenID getSolverId ()
 Get solver ID. More...
 
void goPostprocessing ()
 
TYTabRaygetTabRays ()
 Returns an array containing all the rays found by ray tracing. 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...
 
TYMapIdSpectre getMapPointCtrlSpectre ()
 Returns map of control points with spectrum. More...
 
bool hasResuCtrlPoints ()
 Method used for migrating T310 project \ returns true if ResuCtrlPnts exists in xml project else returns false. More...
 
- Public Member Functions inherited from TYElement
 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 ()
 
void * getAllUses ()
 
void setAllUses (void *allUses)
 
void cleanAllUses ()
 
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
 Calculation number. More...
 
QString _auteur
 Author name. More...
 
QString _dateCreation
 Creation date. More...
 
QString _dateModif
 Modification date. More...
 
QString _comment
 Comments. More...
 
bool _upTodate
 Calculation up to date or not. More...
 
int _state
 Calculation state Active or Blocked. More...
 
LPTYSiteNode _pSiteCalcul
 Site on which the calculation will be carried out. More...
 
TYListID _elementSelection
 Array of IDs of elements present in the scene. More...
 
TYMapPtrElementBool _emitAcVolNode
 State (radiating/non-radiating) of the elements of the scene. More...
 
TYMapPtrElementInt _mapElementRegime
 Regime of scene elements. More...
 
TYMapIdSpectre _mapPointCtrlSpectre
 
TYMapIdTabSpectre _noiseMapsSpectrums
 
LPTYResultat _pResultat
 Results. More...
 
TYTabRay _tabRays
 
bool _hasResuCtrlPnts
 
- 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

Calculation program.

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

The program that defines the Calculations.

Definition at line 49 of file TYCalcul.h.

Member Enumeration Documentation

◆ CalculState

The different possible states for a calculation.

Enumerator
Locked 

The calculation cannot be executed (modified).

Actif 

The calculation can be executed (modified).

Definition at line 60 of file TYCalcul.h.

Constructor & Destructor Documentation

◆ TYCalcul() [1/2]

TYCalcul::TYCalcul ( )

Definition at line 48 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ TYCalcul() [2/2]

TYCalcul::TYCalcul ( const TYCalcul other)

‍**

Constructor by copy.

Parameters
otherConstructor by copying the TYCalcul class.

Definition at line 58 of file TYCalcul.cpp.

◆ ~TYCalcul()

TYCalcul::~TYCalcul ( )
virtual

Destructor. Destructor of the TYCalcul class.

Definition at line 63 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 1312 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)

Add a checkpoint to the results array.

Parameters
pPointPointer to the point to add

Definition at line 1140 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 ( TYElement pElt,
bool  recursif = true 
)

Adds the item to the selection of this Calculation.

Definition at line 885 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ addToSelection() [2/2]

bool TYCalcul::addToSelection ( TYUUID  id)

Adds the item to the selection of this Calculation.

Definition at line 872 of file TYCalcul.cpp.

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

◆ clearCtrlPointsSpectrums()

void TYCalcul::clearCtrlPointsSpectrums ( )
private

Definition at line 1181 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ clearNoiseMapsSpectrums()

void TYCalcul::clearNoiseMapsSpectrums ( )
private

Definition at line 1190 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ clearResult()

void TYCalcul::clearResult ( )

Empty the result of this calculation

Definition at line 844 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 1202 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

Performs a copy by allocating memory (deep copy) and not by copying only the pointers (shallow copy). This method is used as the equal operator. ID may not be copied, parent is never copied.

Parameters
pOtherThe element to copy.
copyIdCopy unique id or not.
pUseCopyTagcopy tag usage
Returns
true if copying is possible; false otherwise.

Reimplemented from TYElement.

Definition at line 178 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 348 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ getAuteur()

QString TYCalcul::getAuteur ( ) const
inline

Get zuthor name.

Returns
_auteur

Definition at line 165 of file TYCalcul.h.

◆ getCalculElements()

void TYCalcul::getCalculElements ( LPTYSiteNode  pSite)

Recover all the elements of the scene which take part in the calculation.

Parameters
pSiteSite from which the selection is made.

Definition at line 1037 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 comments.

Returns
_comment

Definition at line 218 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getDateCreation()

QString TYCalcul::getDateCreation ( ) const
inline

Set/Get of creation date.

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

Returns
_dateCreation

Definition at line 185 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getDateModif()

QString TYCalcul::getDateModif ( ) const
inline

Get modification date.

fn QString getDateModif()

Returns
_dateModif

Definition at line 199 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getElementSelection()

TYListID TYCalcul::getElementSelection ( ) const
inline

Get the selection of active elements in this Calculation.

Returns
_elementSelection

Definition at line 256 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getEmitAcVolNode() [1/2]

TYMapPtrElementBool & TYCalcul::getEmitAcVolNode ( )
inline

Get array containing the state of each volumeNode in transmission.

Returns
_emitAcVolNode

Definition at line 304 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getEmitAcVolNode() [2/2]

const TYMapPtrElementBool & TYCalcul::getEmitAcVolNode ( ) const
inline

Get array containing the state of each volumeNode in transmission.

Returns
_emitAcVolNode

Definition at line 313 of file TYCalcul.h.

◆ getIsUpTodate()

bool TYCalcul::getIsUpTodate ( ) const
inline

Get the calculated state up to date or not link to the infrastructure.

Returns
_upTodate

Definition at line 237 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getMapElementRegime() [1/2]

TYMapPtrElementInt & TYCalcul::getMapElementRegime ( )
inline

Get from the regime.

Returns
_mapElementRegime

Definition at line 323 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getMapElementRegime() [2/2]

const TYMapPtrElementInt & TYCalcul::getMapElementRegime ( ) const
inline

Get regime tab.

Returns
_mapElementRegime

Definition at line 333 of file TYCalcul.h.

◆ getMapPointCtrlSpectre()

TYMapIdSpectre TYCalcul::getMapPointCtrlSpectre ( )

Returns map of control points with spectrum.

Definition at line 1386 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ getNumero()

int TYCalcul::getNumero ( ) const
inline

Get the number.

Returns
_numero

Definition at line 146 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getProjet()

TYProjet * TYCalcul::getProjet ( )

Returns the parent project.

Definition at line 68 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 1261 of file TYCalcul.cpp.

◆ getResultat() [1/2]

LPTYResultat TYCalcul::getResultat ( )
inline

Get result.

Returns
_pResultat

Definition at line 377 of file TYCalcul.h.

◆ getResultat() [2/2]

LPTYResultat TYCalcul::getResultat ( ) const
inline

Get result.

Returns
_pResultat

Definition at line 367 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getSite()

LPTYSiteNode TYCalcul::getSite ( )

Get calculation site.

Returns
_pSiteCalcul

Definition at line 856 of file TYCalcul.cpp.

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

◆ getSolverId() [1/2]

OGenID TYCalcul::getSolverId ( )
inline

Get solver ID.

Returns
_solverId

Definition at line 475 of file TYCalcul.h.

◆ getSolverId() [2/2]

OGenID TYCalcul::getSolverId ( ) const
inline

Get solver ID.

Returns
_solverId

Definition at line 465 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getSpectre() [1/2]

LPTYSpectre TYCalcul::getSpectre ( const TYPointControl pPoint)

Definition at line 1218 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ getSpectre() [2/2]

LPTYSpectre TYCalcul::getSpectre ( const TYUUID id_pt)

Get the spectrum for a given control point

Definition at line 1223 of file TYCalcul.cpp.

Here is the caller 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 1300 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 1295 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ getState() [1/2]

int TYCalcul::getState ( )
inline

Get calculation state.

Returns
_state

Definition at line 416 of file TYCalcul.h.

Here is the caller graph for this function:

◆ getState() [2/2]

const int TYCalcul::getState ( ) const
inline

Get calculation state.

Returns
_state

Definition at line 426 of file TYCalcul.h.

◆ getStatusPartialResult()

bool TYCalcul::getStatusPartialResult ( ) const
inline

Get conservation of partial results.

Returns
_pResultat->getPartialState()

Definition at line 436 of file TYCalcul.h.

Here is the call graph for this function:

◆ getTabRays()

TYTabRay& TYCalcul::getTabRays ( )
inline

Returns an array containing all the rays found by ray tracing.

Returns
Returns the Tympanum ray array

Definition at line 488 of file TYCalcul.h.

◆ goPostprocessing()

void TYCalcul::goPostprocessing ( )

Definition at line 1020 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ hasResuCtrlPoints()

bool TYCalcul::hasResuCtrlPoints ( )
inline

Method used for migrating T310 project \ returns true if ResuCtrlPnts exists in xml project else returns false.

Definition at line 543 of file TYCalcul.h.

Here is the caller graph for this function:

◆ isInSelection() [1/2]

bool TYCalcul::isInSelection ( LPTYElement  pElt)
inline

Tests if the element is present in the selection of this Calculation.

Definition at line 293 of file TYCalcul.h.

Here is the call graph for this function:

◆ isInSelection() [2/2]

bool TYCalcul::isInSelection ( TYUUID  id)

Tests if the element is present in the selection of this Calculation.

Definition at line 1003 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ operator!=()

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

Operator !=.

Definition at line 173 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ operator=()

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

Operator =.

Definition at line 73 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ operator==()

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

Operator ==.

Definition at line 100 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ purge()

void TYCalcul::purge ( )

Reset this calculation.

Definition at line 824 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 1358 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)

Deletes a checkpoint from the results table.

Parameters
pPointPointer to the point to delete

Definition at line 1163 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 ( TYElement pElt,
bool  recursif = true 
)

Removes the item from the selection of this Calculation.

Definition at line 968 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ remToSelection() [2/2]

bool TYCalcul::remToSelection ( TYUUID  id)

Removes the item from the selection of this Calculation.

Definition at line 961 of file TYCalcul.cpp.

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

◆ setAuteur()

void TYCalcul::setAuteur ( QString  auteur)
inline

Set author name.

Definition at line 174 of file TYCalcul.h.

◆ setComment()

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

Set comments.

Definition at line 227 of file TYCalcul.h.

◆ setDateCreation()

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

Definition at line 189 of file TYCalcul.h.

◆ setDateModif()

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

Set modification date.

fn void setDateModif(const QString& date)

Definition at line 208 of file TYCalcul.h.

◆ setIsUpTodate()

void TYCalcul::setIsUpTodate ( bool  upTodate)
inline

Set the calculated state up to date or not link to the infrastructure.

Definition at line 246 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 1375 of file TYCalcul.cpp.

Here is the call 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 1381 of file TYCalcul.cpp.

◆ setNumero()

void TYCalcul::setNumero ( int  num)
inline

Set the number.

Definition at line 155 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 1273 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ setSite()

void TYCalcul::setSite ( LPTYSiteNode  pSite)

Definition of the site on which the calculation will be done.

Definition at line 867 of file TYCalcul.cpp.

Here is the caller graph for this function:

◆ setSolverId()

void TYCalcul::setSolverId ( const OGenID iD)
inline

Set solver ID.

Returns
void

Definition at line 455 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 1256 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 1237 of file TYCalcul.cpp.

Here is the call graph for this function:

◆ setState()

void TYCalcul::setState ( int  state)
inline

Set editable attribute.

Definition at line 406 of file TYCalcul.h.

Here is the caller graph for this function:

◆ setStatusPartialResult()

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

Partial result retention set.

Definition at line 445 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 228 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 233 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 1336 of file TYCalcul.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _auteur

QString TYCalcul::_auteur
protected

Author name.

Definition at line 561 of file TYCalcul.h.

◆ _comment

QString TYCalcul::_comment
protected

Comments.

Definition at line 567 of file TYCalcul.h.

◆ _dateCreation

QString TYCalcul::_dateCreation
protected

Creation date.

Definition at line 563 of file TYCalcul.h.

◆ _dateModif

QString TYCalcul::_dateModif
protected

Modification date.

Definition at line 565 of file TYCalcul.h.

◆ _elementSelection

TYListID TYCalcul::_elementSelection
protected

Array of IDs of elements present in the scene.

Definition at line 578 of file TYCalcul.h.

◆ _emitAcVolNode

TYMapPtrElementBool TYCalcul::_emitAcVolNode
protected

State (radiating/non-radiating) of the elements of the scene.

Definition at line 581 of file TYCalcul.h.

◆ _hasResuCtrlPnts

bool TYCalcul::_hasResuCtrlPnts
protected

Definition at line 600 of file TYCalcul.h.

◆ _mapElementRegime

TYMapPtrElementInt TYCalcul::_mapElementRegime
protected

Regime of scene elements.

Definition at line 584 of file TYCalcul.h.

◆ _mapPointCtrlSpectre

TYMapIdSpectre TYCalcul::_mapPointCtrlSpectre
protected

Definition at line 587 of file TYCalcul.h.

◆ _noiseMapsSpectrums

TYMapIdTabSpectre TYCalcul::_noiseMapsSpectrums
protected

Definition at line 590 of file TYCalcul.h.

◆ _numero

int TYCalcul::_numero
protected

Calculation number.

Definition at line 559 of file TYCalcul.h.

◆ _pResultat

LPTYResultat TYCalcul::_pResultat
protected

Results.

Definition at line 593 of file TYCalcul.h.

◆ _pSiteCalcul

LPTYSiteNode TYCalcul::_pSiteCalcul
protected

Site on which the calculation will be carried out.

Definition at line 575 of file TYCalcul.h.

◆ _solverId

OGenID TYCalcul::_solverId
protected

Definition at line 556 of file TYCalcul.h.

◆ _state

int TYCalcul::_state
protected

Calculation state Active or Blocked.

Definition at line 572 of file TYCalcul.h.

◆ _tabRays

TYTabRay TYCalcul::_tabRays
protected

Definition at line 596 of file TYCalcul.h.

◆ _upTodate

bool TYCalcul::_upTodate
protected

Calculation up to date or not.

Definition at line 570 of file TYCalcul.h.

◆ solverParams

QString TYCalcul::solverParams

Definition at line 482 of file TYCalcul.h.


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