|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
#include <TYMurElement.h>


Public Member Functions | |
| TYMurElement () | |
| TYMurElement (const TYMurElement &other) | |
| virtual | ~TYMurElement () |
| TYMurElement & | operator= (const TYMurElement &other) |
| Operateur =. More... | |
| bool | operator== (const TYMurElement &other) const |
| Operateur ==. More... | |
| bool | operator!= (const TYMurElement &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) |
| virtual void | setColor (const OColor &color) |
| virtual TYTabSourcePonctuelleGeoNode | getSrcs () const |
| virtual TYSourcePonctuelle | srcPonctEquiv () const |
| virtual void | distriSrcs () |
| virtual bool | setSrcsLw () |
| virtual double | surface () const |
| virtual int | intersects (const TYSurfaceInterface *pSurf, OSegment3D &seg) const |
| virtual int | intersects (const OSegment3D &seg, OPoint3D &pt) const |
| virtual LPTYMateriauConstruction | getMateriau () const |
| LPTYParoi | getParoi () |
| const LPTYParoi | getParoi () const |
| void | setParoi (const LPTYParoi pParoi) |
Public Member Functions inherited from TYAcousticRectangle | |
| TYAcousticRectangle () | |
| TYAcousticRectangle (const TYAcousticRectangle &other) | |
| virtual | ~TYAcousticRectangle () |
| TYAcousticRectangle & | operator= (const TYAcousticRectangle &other) |
| Operateur =. More... | |
| bool | operator== (const TYAcousticRectangle &other) const |
| Operateur ==. More... | |
| bool | operator!= (const TYAcousticRectangle &other) const |
| Operateur !=. More... | |
| virtual OVector3D | normal () const |
| virtual OPlan | plan () const |
| virtual TYTabPoint | getContour (int n=-1) const |
| virtual TYTabPoint3D | getOContour (int n=-1) const |
| TYRectangle * | getShape () |
| virtual void | inverseNormale () |
| virtual void | exportMesh (std::deque< OPoint3D > &points, std::deque< OTriangle > &triangles, const TYGeometryNode &geonode) const |
| Export the surface as a triangular mesh. More... | |
Public Member Functions inherited from TYAcousticSurface | |
| TYAcousticSurface () | |
| TYAcousticSurface (const TYAcousticSurface &other) | |
| virtual | ~TYAcousticSurface () |
| TYAcousticSurface & | operator= (const TYAcousticSurface &other) |
| Operateur =. More... | |
| bool | operator== (const TYAcousticSurface &other) const |
| Operateur ==. More... | |
| bool | operator!= (const TYAcousticSurface &other) const |
| Operateur !=. More... | |
| virtual void | setIsAcousticModified (bool isModified) |
| virtual void | setDensiteSrcsH (double densite, bool recursif=true) |
| virtual void | setDensiteSrcsV (double densite, bool recursif=true) |
| virtual void | propagateRegime () |
| virtual void | propagateAtt (LPTYAttenuateur pAtt) |
| virtual void | setCurRegime (int regime) |
| virtual void | remAllSrcs () |
| virtual bool | updateAcoustic (const bool &force=false) |
| virtual int | intersects (const OPoint3D &pt) const |
| virtual LPTYSpectre | getRealPowerSpectrum () |
| virtual const OPlan & | getPlan () const |
| LPTYSourceSurfacic | getSrcSurf () |
| const LPTYSourceSurfacic | getSrcSurf () const |
| void | setSrcSurf (const LPTYSourceSurfacic pSrcSurf) |
| TYRectangle * | getBoundingRect () |
| bool | getIsSub () |
| void | setIsSub (bool isSub) |
| TYSpectre | setGlobalLW (const TYSpectre &spectre, const double &surfGlobale, const int ®ime=-1) |
| virtual void | setIsRayonnant (bool rayonnant=true, bool recursif=true) |
| Get/set de l'etat rayonnant ou pas. More... | |
| virtual void | exportCSV (std::ofstream &ofs) |
| Export au format csv sur un flux transmis. 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 TYUUID & | getID () 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) |
| TYElement * | getParent () const |
| bool | getIsAcousticModified () |
| virtual void | setIsGeometryModified (bool isModified) |
| bool | getIsGeometryModified () |
| TYElement & | operator= (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 OPrototype * | clone () const =0 |
| virtual const char * | getClassName () const |
| bool | isA (const char *className) const |
Public Member Functions inherited from TYColorInterface | |
| TYColorInterface () | |
| TYColorInterface (const TYColorInterface &other) | |
| virtual | ~TYColorInterface () |
| TYColorInterface & | operator= (const TYColorInterface &other) |
| bool | operator== (const TYColorInterface &other) const |
| bool | operator!= (const TYColorInterface &other) const |
| void | deepCopy (const TYColorInterface *pOther, bool copyId=true, bool pUseCopyTag=false) |
| DOM_Element | toXML (DOM_Element &domElement) |
| int | fromXML (DOM_Element domElement) |
| OColor | getColor () const |
| virtual void | updateColor () |
Public Member Functions inherited from TYAcousticInterface | |
| TYAcousticInterface () | |
| TYAcousticInterface (const TYAcousticInterface &other) | |
| virtual | ~TYAcousticInterface () |
| TYAcousticInterface & | operator= (const TYAcousticInterface &other) |
| bool | operator== (const TYAcousticInterface &other) const |
| bool | operator!= (const TYAcousticInterface &other) const |
| void | deepCopy (const TYAcousticInterface *pOther, bool copyId=true, bool pUseCopyTag=false) |
| DOM_Element | toXML (DOM_Element &domElement) |
| int | fromXML (DOM_Element domElement) |
| double | getDensiteSrcsH () const |
| double | getDensiteSrcsV () const |
| double | getDensiteSrcs () const |
| virtual void | setDensiteSrcs (double densite, bool recursif=true) |
| bool | getIsRayonnant () |
| int | getTypeDistribution () const |
| void | setTypeDistribution (int typeDistri) |
| bool | getUseAtt () const |
| virtual void | setUseAtt (bool state) |
| LPTYAttenuateur | getAtt () |
| const LPTYAttenuateur | getAtt () const |
| void | setAtt (LPTYAttenuateur pAtt) |
| TYSpectre & | getCurrentSpectre () |
| virtual void | setRegime (TYSpectre &Spectre, int regime=-1, bool recursif=false) |
| virtual int | addRegime (const TYRegime ®ime) |
| virtual int | addRegime () |
| virtual bool | remRegime (int regime) |
| virtual void | loadRegime (int regimeNb=-1) |
| size_t | getNbRegimes () const |
| void | setNbRegimes (unsigned int nb) |
| TYRegime & | getRegimeNb (const int &nb, bool &status) |
| const TYRegime & | getRegimeNb (const int &nb, bool &status) const |
| int | getCurRegime () const |
| virtual TYRegime | buildRegime () |
| virtual void | updateCurrentRegime () |
| bool | getIsRegimeChangeAble () |
| virtual int | getNextRegimeNb () |
| virtual const int | getNextRegimeNb () const |
| virtual void | setNextRegimeNb (const int &next) |
| virtual QString | getRegimeName () |
| virtual const QString | getRegimeName () const |
| virtual void | setRegimeName (const QString &name) |
Public Member Functions inherited from TYSurfaceInterface | |
| TYSurfaceInterface () | |
| virtual | ~TYSurfaceInterface () |
| virtual int | intersectsPlan (const OPlan &plan, OSegment3D &seg) const |
Protected Attributes | |
| LPTYParoi | _pParoi |
| Paroi. More... | |
Protected Attributes inherited from TYAcousticSurface | |
| LPTYSourceSurfacic | _pSrcSurf |
| Source surfacique. More... | |
| LPTYRectangle | _pBoundingRect |
| Rectangle englobant. More... | |
| bool | _isSub |
| Indicateur qui precise si la surface est un sous-element d'une face (fenetre ou bouche d'aeration). More... | |
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... | |
Protected Attributes inherited from TYColorInterface | |
| OColor | _color |
Protected Attributes inherited from TYAcousticInterface | |
| double | _densiteSrcsH |
| Densite horizontale de sources. More... | |
| double | _densiteSrcsV |
| Densite verticale de sources. More... | |
| double | _offsetSources |
| Offset de decalage des sources ponctuelles sur les surfaces. More... | |
| bool | _isRayonnant |
| Etat courant de l'element (rayonnant ou non rayonnant) More... | |
| bool | _regimeChangeAble |
| Indique si un element peux changer de regime de lui meme. More... | |
| int | _typeDistribution |
| Indique le type de distribution a utiliser. pour l'etat courant. More... | |
| int | _curRegime |
| Numero du regime de fonctionnement courant. More... | |
| int | _nextRegime |
| Numero d'ordre du regime suivant. More... | |
| TYSpectre | _pCurrentSpectre |
| bool | _useAtt |
| Indique l'utilisation d'un attenuateur pour l'etat courant. More... | |
| LPTYAttenuateur | _pAtt |
| Attenuateur de l'etat courant. More... | |
| TYTabRegimes | _tabRegimes |
| Tableau des regimes de fonctionnement. More... | |
Additional Inherited Members | |
Public Types inherited from TYAcousticInterface | |
| enum | TypeDistribution { TY_PUISSANCE_CALCULEE , TY_PUISSANCE_IMPOSEE } |
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 TYElement * | getInstance (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 OPrototype * | findAndClone (const char *className) |
| static int | findPrototype (const char *className) |
| static OPrototype * | safeDownCast (OPrototype *pObject) |
| static void | add_factory (const char *, IOProtoFactory::ptr_type factory) |
Protected Member Functions inherited from OPrototype | |
| OPrototype () | |
Comprend les proprietes acoustiques et geometriques d'un element de mur.
Definition at line 32 of file TYMurElement.h.
| TYMurElement::TYMurElement | ( | ) |
Constructeur.
Definition at line 29 of file TYMurElement.cpp.

| TYMurElement::TYMurElement | ( | const TYMurElement & | other | ) |
Constructeur par copie.
Definition at line 64 of file TYMurElement.cpp.
|
virtual |
Destructeur.
Definition at line 69 of file TYMurElement.cpp.
|
virtual |
Fonction de copie recursive (virtuelle)
| pOther | destination de la copy |
| copyId | vrai par defaut |
| pUseCopyTag | faux par defaut |
Reimplemented from TYAcousticRectangle.
Definition at line 102 of file TYMurElement.cpp.

|
virtual |
Calcul la repartition des sources ponctuelles pour cet element en fonction des densites etablies.
Reimplemented from TYAcousticRectangle.
Definition at line 167 of file TYMurElement.cpp.

|
virtual |
Extrait les informations a partir du noeud DOM passe afin de recuperer les parametres de la classe.
| domElement | Le noeud DOM a partir duquel les parametres doivent etre recuperes. |
Reimplemented from TYAcousticRectangle.
Definition at line 130 of file TYMurElement.cpp.

|
inlinevirtual |
Retourne le materiau de construction associe a cette Surface via son volume parent, s'il existe.
Reimplemented from TYAcousticSurface.
Definition at line 91 of file TYMurElement.h.

|
inline |
Set/Get de la paroi.
Definition at line 99 of file TYMurElement.h.
|
inline |
Set/Get de la paroi.
Definition at line 106 of file TYMurElement.h.
|
virtual |
Retourne l'ensemble des sources ponctuelles dont est compose cet objet. Chaque source se trouve dans un GeoNode, ainsi la matrice de celui-ci permet d'effectuer le changement de repere de la position de la source dans le repere local a cet objet.
Reimplemented from TYAcousticRectangle.
Definition at line 157 of file TYMurElement.cpp.

|
virtual |
Calcule le point d'intersection avec un segment.
| seg | Le segment dont on cherche l'intersection. |
| pt | Le point resultant de l'intersection. |
Reimplemented from TYAcousticRectangle.
Definition at line 187 of file TYMurElement.cpp.

|
virtual |
Calcule le segment d'intersection avec une autre surface.
| pSurf | La surface dont on cherche l'intersection. |
| seg | Le segment resultant de l'intersection. |
Reimplemented from TYAcousticRectangle.
Definition at line 182 of file TYMurElement.cpp.

| bool TYMurElement::operator!= | ( | const TYMurElement & | other | ) | const |
Operateur !=.
Definition at line 97 of file TYMurElement.cpp.

| TYMurElement & TYMurElement::operator= | ( | const TYMurElement & | other | ) |
Operateur =.
Definition at line 71 of file TYMurElement.cpp.

| bool TYMurElement::operator== | ( | const TYMurElement & | other | ) | const |
Operateur ==.
Definition at line 81 of file TYMurElement.cpp.

|
virtual |
Set de la couleur.
Reimplemented from TYColorInterface.
Definition at line 146 of file TYMurElement.cpp.


|
inline |
Set/Get de la paroi.
Definition at line 113 of file TYMurElement.h.

|
virtual |
Assigne une puissance a chaque source ponctuelle en fonction de la puissance acoutique globale de cet objet.
true si le calcul a ete possible; false sinon. Reimplemented from TYAcousticRectangle.
Definition at line 172 of file TYMurElement.cpp.

|
virtual |
Retourne une source ponctuelle equivalente a l'ensemble des sources. Cette methode est experimentale.
Reimplemented from TYAcousticRectangle.
Definition at line 162 of file TYMurElement.cpp.

|
virtual |
Calcule l'aire de la surface totale.
Reimplemented from TYAcousticRectangle.
Definition at line 177 of file TYMurElement.cpp.

|
virtual |
Retourne une chaine de caractere donnant des informations sur cet objet (utile pour le debugage).
Reimplemented from TYAcousticRectangle.
Definition at line 116 of file TYMurElement.cpp.
|
virtual |
Construit une arborescence DOM a partir du noeud passe afin de sauvegarder les parametres au format XML.
| domElement | Le noeud DOM parent a partir duquel l'arborescence doit etre creee. |
Reimplemented from TYAcousticRectangle.
Definition at line 121 of file TYMurElement.cpp.

|
protected |
Paroi.
Definition at line 122 of file TYMurElement.h.