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

#include <TYAcousticVolume.h>

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

Public Member Functions

 TYAcousticVolume ()
 
 TYAcousticVolume (const TYAcousticVolume &other)
 
virtual ~TYAcousticVolume ()
 
TYAcousticVolumeoperator= (const TYAcousticVolume &other)
 Operateur =. More...
 
bool operator== (const TYAcousticVolume &other) const
 Operateur ==. More...
 
bool operator!= (const TYAcousticVolume &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 setIsAcousticModified (bool isModified)
 
virtual void propagateRegime ()
 
virtual void propagateAtt (LPTYAttenuateur pAtt)
 
virtual TYTabSourcePonctuelleGeoNode getSrcs () const
 
virtual TYSourcePonctuelle srcPonctEquiv () const
 
virtual void distriSrcs ()
 
virtual void remAllSrcs ()
 
virtual bool setSrcsLw ()
 
virtual bool updateAcoustic (const bool &force=false)
 
virtual double volume () const
 
virtual double surface () const
 
virtual double activeSurface () const
 
virtual double activeSurface ()
 
virtual TYTabVector normals () const
 
virtual TYTabPoint sommets () const
 
virtual TYTabLPPolygon faces () const
 
virtual TYBox volEnglob () const
 
virtual TYPoint centreGravite () const
 
virtual int intersects (const TYSegment &seg, TYTabPoint &ptList) const
 
virtual int isInside (const TYPoint &pt) const
 
virtual void setIsRayonnant (bool rayonnant=true, bool recursif=true)
 
virtual TYTabLPAcousticSurface getSubFace ()
 
virtual TYTabAcousticSurfaceGeoNode acousticFaces ()
 
virtual bool findAcousticSurface (const TYAcousticSurface *pAccSurf, OMatrix *pMatrix=0)
 
virtual TYSpectre setGlobalLW (const TYSpectre &spectre, const double &surfGlobale, const int &regime=-1)
 
TYMateriauConstructiongetMateriau () const
 
void setMateriau (LPTYMateriauConstruction pMat)
 
virtual void setNextRegimeNb (const int &next)
 
virtual void setRegimeName (const QString &name)
 
virtual void inverseNormales ()
 
void setNormalStatus ()
 
virtual void correctNbRegimes ()
 
- 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
 
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 Member Functions inherited from TYColorInterface
virtual void updateColor ()
 
 TYColorInterface ()
 
 TYColorInterface (const TYColorInterface &other)
 
virtual ~TYColorInterface ()
 
TYColorInterfaceoperator= (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)
 
virtual void setColor (const OColor &color)
 
OColor getColor () const
 
- Public Member Functions inherited from TYAcousticInterface
virtual int getNextRegimeNb ()
 
virtual const int getNextRegimeNb () const
 
virtual QString getRegimeName ()
 
virtual const QString getRegimeName () const
 
virtual void exportCSV (std::ofstream &ofs)
 Export au format csv sur un flux transmis. More...
 
 TYAcousticInterface ()
 
 TYAcousticInterface (const TYAcousticInterface &other)
 
virtual ~TYAcousticInterface ()
 
TYAcousticInterfaceoperator= (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
 
virtual void setDensiteSrcsH (double densite, bool recursif=true)
 
double getDensiteSrcsV () const
 
virtual void setDensiteSrcsV (double densite, bool recursif=true)
 
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)
 
TYSpectregetCurrentSpectre ()
 
virtual void setRegime (TYSpectre &Spectre, int regime=-1, bool recursif=false)
 
virtual int addRegime (const TYRegime &regime)
 
virtual int addRegime ()
 
virtual bool remRegime (int regime)
 
virtual void loadRegime (int regimeNb=-1)
 
size_t getNbRegimes () const
 
void setNbRegimes (unsigned int nb)
 
TYRegimegetRegimeNb (const int &nb, bool &status)
 
const TYRegimegetRegimeNb (const int &nb, bool &status) const
 
int getCurRegime () const
 
virtual void setCurRegime (int regimeNumber)
 
virtual TYRegime buildRegime ()
 
virtual void updateCurrentRegime ()
 
bool getIsRegimeChangeAble ()
 
- Public Member Functions inherited from TYVolumeInterface
 TYVolumeInterface ()
 
virtual ~TYVolumeInterface ()
 
virtual void updateVolEnglob ()
 
const TYBoxgetVolEnglob () const
 
const double & getRayonSphere () const
 
void calculRayonSphere (const TYBox &volEnglob)
 
virtual void calculCentreGravite ()
 
const TYPointgetCentreGravite () const
 
virtual int intersects (const OSegment3D &seg, TYTabPoint &ptList) const
 

Protected Attributes

LPTYMateriauConstruction _pMateriau
 Materiau de contruction pour les faces de ce Volume. More...
 
bool _forceNormales
 Persistence du forcage des normales. 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...
 
- Protected Attributes inherited from TYVolumeInterface
TYBox _volEnglob
 
double _rayonSphere
 
TYPoint _centreGravite
 

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 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

Permet de creer de elements acoustiques volumiques.

Definition at line 34 of file TYAcousticVolume.h.

Constructor & Destructor Documentation

◆ TYAcousticVolume() [1/2]

TYAcousticVolume::TYAcousticVolume ( )

Constructeur.

Definition at line 25 of file TYAcousticVolume.cpp.

Here is the call graph for this function:

◆ TYAcousticVolume() [2/2]

TYAcousticVolume::TYAcousticVolume ( const TYAcousticVolume other)

Constructeur par copie.

Definition at line 33 of file TYAcousticVolume.cpp.

◆ ~TYAcousticVolume()

TYAcousticVolume::~TYAcousticVolume ( )
virtual

Destructeur.

Definition at line 38 of file TYAcousticVolume.cpp.

Member Function Documentation

◆ acousticFaces()

TYTabAcousticSurfaceGeoNode TYAcousticVolume::acousticFaces ( )
virtual

Retourne l'ensemble des faces acoustiques composant ce volume. Le GeoNode associe permet de convertir la face dans le repere de ce volume.

Returns
Un tableau de surfaces acoustiques.

Reimplemented in TYAcousticBox, TYEtage, TYAcousticFaceSet, TYAcousticSemiCylinder, TYAcousticCylinder, and TYEcran.

Definition at line 283 of file TYAcousticVolume.cpp.

Here is the caller graph for this function:

◆ activeSurface() [1/2]

double TYAcousticVolume::activeSurface ( ) const
virtual

Calcule la surface active de la machine (somme des surfaces des elements actifs)

Returns
surface des elements actifs

Implements TYVolumeInterface.

Reimplemented in TYEtage, TYAcousticBox, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 237 of file TYAcousticVolume.cpp.

Here is the caller graph for this function:

◆ activeSurface() [2/2]

double TYAcousticVolume::activeSurface ( )
virtual

◆ centreGravite()

TYPoint TYAcousticVolume::centreGravite ( ) const
virtual

Calcule le centre de gravite de ce volume.

Returns
Le centre de gravite.

Implements TYVolumeInterface.

Reimplemented in TYAcousticBox, TYEtage, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 268 of file TYAcousticVolume.cpp.

◆ correctNbRegimes()

void TYAcousticVolume::correctNbRegimes ( )
virtual

Correction "ad hoc" du bug de nombre de regime pour les sources machines et bâtiments Supprime les regimes excedentaires Necessaire uniquement pour les anciennes versions de fichiers XML (retrocompatibilite)

Definition at line 166 of file TYAcousticVolume.cpp.

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

◆ deepCopy()

bool TYAcousticVolume::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.

Reimplemented in TYAcousticBox, TYEtage, TYEcran, TYAcousticFaceSet, TYAcousticSemiCylinder, and TYAcousticCylinder.

Definition at line 74 of file TYAcousticVolume.cpp.

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

◆ distriSrcs()

void TYAcousticVolume::distriSrcs ( )
virtual

Calcul la repartition des sources ponctuelles pour cet element en fonction des densites etablies.

Implements TYAcousticInterface.

Reimplemented in TYEtage, TYAcousticBox, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 209 of file TYAcousticVolume.cpp.

◆ faces()

TYTabLPPolygon TYAcousticVolume::faces ( ) const
virtual

Retourne l'ensemble des faces (polygones) composant ce volume.

Returns
Un tableau de pointeurs de surfaces.

Implements TYVolumeInterface.

Reimplemented in TYAcousticBox, TYEtage, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 258 of file TYAcousticVolume.cpp.

◆ findAcousticSurface()

bool TYAcousticVolume::findAcousticSurface ( const TYAcousticSurface pAccSurf,
OMatrix pMatrix = 0 
)
virtual

Recherche si une face acoustique compose directement ou indirectement ce volume acoustique. Si une matrice est passee en parametre elle sera calculee pour effectuer le changement de repere de la face vers le volume.

Parameters
pAccSurfLa surface acoustique a rechercher.
pMatrixLa matrice a mettre a jour.
Returns
true si la face est un composant de ce volume; false sinon.

Reimplemented in TYAcousticFaceSet, TYAcousticBox, TYEtage, TYAcousticSemiCylinder, and TYAcousticCylinder.

Definition at line 288 of file TYAcousticVolume.cpp.

◆ fromXML()

int TYAcousticVolume::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.

Reimplemented in TYAcousticBox, TYEtage, TYEcran, TYAcousticFaceSet, TYAcousticSemiCylinder, and TYAcousticCylinder.

Definition at line 109 of file TYAcousticVolume.cpp.

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

◆ getMateriau()

TYMateriauConstruction* TYAcousticVolume::getMateriau ( ) const
inline

Set/Get du materiau de construction pour les faces de ce Volume.

Definition at line 132 of file TYAcousticVolume.h.

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

◆ getSrcs()

TYTabSourcePonctuelleGeoNode TYAcousticVolume::getSrcs ( ) const
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.

Returns
Une collection de pointeurs sur des GeoNodes de sources ponctuelles.

Implements TYAcousticInterface.

Reimplemented in TYEtage, TYAcousticBox, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 199 of file TYAcousticVolume.cpp.

◆ getSubFace()

TYTabLPAcousticSurface TYAcousticVolume::getSubFace ( )
virtual

Retourne une liste des sous faces porteuses de sources cheminee ou bafflees

Reimplemented in TYAcousticBox, TYAcousticCylinder, TYAcousticSemiCylinder, and TYAcousticFaceSet.

Definition at line 308 of file TYAcousticVolume.cpp.

◆ intersects()

int TYAcousticVolume::intersects ( const TYSegment seg,
TYTabPoint ptList 
) const
virtual

Reimplemented in TYAcousticFaceSet.

Definition at line 273 of file TYAcousticVolume.cpp.

◆ inverseNormales()

void TYAcousticVolume::inverseNormales ( )
virtual

Inversion de la normale des faces

Reimplemented from TYVolumeInterface.

Reimplemented in TYAcousticFaceSet.

Definition at line 338 of file TYAcousticVolume.cpp.

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

◆ isInside()

int TYAcousticVolume::isInside ( const TYPoint pt) const
virtual

Test si le point passe se trouve a l'interieur de ce volume.

Parameters
ptPoint dont on teste l'appartenance au volume.
Returns
INTERS_OUI (1) si le point est a l'interieur de ce volume, INTERS_CONFONDU (2) si les elements sont confondus, INTERS_NULLE (0) si le point est a l'exterieur de ce volume.

Implements TYVolumeInterface.

Reimplemented in TYAcousticBox, TYEtage, TYAcousticSemiCylinder, TYAcousticCylinder, TYAcousticFaceSet, and TYEcran.

Definition at line 278 of file TYAcousticVolume.cpp.

◆ normals()

TYTabVector TYAcousticVolume::normals ( ) const
virtual

Calcule les normales des surfaces composant ce volume.

Returns
Un tableau de vecteurs.

Implements TYVolumeInterface.

Reimplemented in TYAcousticBox, TYEtage, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 248 of file TYAcousticVolume.cpp.

◆ operator!=()

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

Operateur !=.

Definition at line 69 of file TYAcousticVolume.cpp.

Here is the call graph for this function:

◆ operator=()

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

Operateur =.

Definition at line 42 of file TYAcousticVolume.cpp.

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

◆ operator==()

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

Operateur ==.

Definition at line 55 of file TYAcousticVolume.cpp.

Here is the caller graph for this function:

◆ propagateAtt()

void TYAcousticVolume::propagateAtt ( LPTYAttenuateur  pAtt)
virtual

Propagation de l'attenuateur, contrairement a setAtt(), c'est une copie (deepCopy()) qui est faite ici. Cette methode peut etre surchargee pour propager un attenuateur a des sous-elements (notament des Volume vers les Surfaces).

Reimplemented from TYAcousticInterface.

Reimplemented in TYAcousticBox, TYEtage, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 192 of file TYAcousticVolume.cpp.

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

◆ propagateRegime()

void TYAcousticVolume::propagateRegime ( )
virtual

Propagation du regime Cette methode peut etre surchargee pour propager un regime a des sous-elements (notament des Volume vers les Surfaces).

Reimplemented from TYAcousticInterface.

Reimplemented in TYAcousticFaceSet.

Definition at line 161 of file TYAcousticVolume.cpp.

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

◆ remAllSrcs()

void TYAcousticVolume::remAllSrcs ( )
virtual

Supprime toutes les sources d'un element

Implements TYAcousticInterface.

Reimplemented in TYEtage, TYAcousticBox, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 213 of file TYAcousticVolume.cpp.

◆ setGlobalLW()

TYSpectre TYAcousticVolume::setGlobalLW ( const TYSpectre spectre,
const double &  surfGlobale,
const int &  regime = -1 
)
virtual

Indique au volume le spectre global de la machine (volumeNode) pour lui permettre de calculer sa puissance (connaissant sa surface et la surface globale)

Parameters
spectrele spectre global de la machine
Returns
le spectre du volume

Reimplemented from TYAcousticInterface.

Reimplemented in TYAcousticFaceSet, and TYEtage.

Definition at line 293 of file TYAcousticVolume.cpp.

Here is the call graph for this function:

◆ setIsAcousticModified()

void TYAcousticVolume::setIsAcousticModified ( bool  isModified)
virtual

Set/Get de l'indicateur de modification acoustique.

Reimplemented from TYElement.

Definition at line 154 of file TYAcousticVolume.cpp.

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

◆ setIsRayonnant()

void TYAcousticVolume::setIsRayonnant ( bool  rayonnant = true,
bool  recursif = true 
)
virtual

Set/Get de l'etat rayonnant ou pas

Reimplemented from TYAcousticInterface.

Reimplemented in TYAcousticBox, TYAcousticFaceSet, TYAcousticSemiCylinder, and TYAcousticCylinder.

Definition at line 327 of file TYAcousticVolume.cpp.

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

◆ setMateriau()

void TYAcousticVolume::setMateriau ( LPTYMateriauConstruction  pMat)

Set/Get du materiau de construction pour les faces de ce Volume.

Definition at line 314 of file TYAcousticVolume.cpp.

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

◆ setNextRegimeNb()

virtual void TYAcousticVolume::setNextRegimeNb ( const int &  next)
inlinevirtual

Get/Set du numero de regime suivant

Reimplemented from TYAcousticInterface.

Reimplemented in TYAcousticSemiCylinder, TYAcousticCylinder, TYAcousticBox, and TYEtage.

Definition at line 142 of file TYAcousticVolume.h.

Here is the call graph for this function:

◆ setNormalStatus()

void TYAcousticVolume::setNormalStatus ( )
inline

Changement d'etat du statut de la normale

Definition at line 157 of file TYAcousticVolume.h.

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

◆ setRegimeName()

void TYAcousticVolume::setRegimeName ( const QString &  name)
virtual

Get/Set du nom du regime

Reimplemented from TYAcousticInterface.

Reimplemented in TYAcousticSemiCylinder, TYAcousticCylinder, TYAcousticBox, and TYEtage.

Definition at line 331 of file TYAcousticVolume.cpp.

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

◆ setSrcsLw()

bool TYAcousticVolume::setSrcsLw ( )
virtual

Assigne une puissance a chaque source ponctuelle en fonction de la puissance acoutique globale de cet objet.

Returns
true si le calcul a ete possible; false sinon.

Implements TYAcousticInterface.

Reimplemented in TYAcousticBox, TYEtage, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 217 of file TYAcousticVolume.cpp.

◆ sommets()

TYTabPoint TYAcousticVolume::sommets ( ) const
virtual

Retourne l'ensemble des sommets composant ce volume.

Returns
Un tableau de points.

Implements TYVolumeInterface.

Reimplemented in TYAcousticBox, TYEtage, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 253 of file TYAcousticVolume.cpp.

◆ srcPonctEquiv()

TYSourcePonctuelle TYAcousticVolume::srcPonctEquiv ( ) const
virtual

Retourne une source ponctuelle equivalente a l'ensemble des sources. Cette methode est experimentale.

Returns
La source ponctuelle equivalente.

Implements TYAcousticInterface.

Reimplemented in TYEtage, TYAcousticBox, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 204 of file TYAcousticVolume.cpp.

◆ surface()

double TYAcousticVolume::surface ( ) const
virtual

Calcule la surface totale de ce volume.

Returns
La surface totale.

Implements TYVolumeInterface.

Reimplemented in TYAcousticBox, TYEtage, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 232 of file TYAcousticVolume.cpp.

◆ toString()

std::string TYAcousticVolume::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.

Reimplemented in TYAcousticBox, TYEtage, TYEcran, TYAcousticFaceSet, TYAcousticSemiCylinder, and TYAcousticCylinder.

Definition at line 88 of file TYAcousticVolume.cpp.

◆ toXML()

DOM_Element TYAcousticVolume::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.

Reimplemented in TYAcousticBox, TYEtage, TYEcran, TYAcousticFaceSet, TYAcousticSemiCylinder, and TYAcousticCylinder.

Definition at line 93 of file TYAcousticVolume.cpp.

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

◆ updateAcoustic()

bool TYAcousticVolume::updateAcoustic ( const bool &  force = false)
virtual

Execute les calculs acoustiques afin que l'element metier soit a jour.

Implements TYAcousticInterface.

Reimplemented in TYAcousticSemiCylinder, TYAcousticBox, TYEtage, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 222 of file TYAcousticVolume.cpp.

Here is the caller graph for this function:

◆ volEnglob()

TYBox TYAcousticVolume::volEnglob ( ) const
virtual

Calcule la boite englobant ce volume.

Returns
La boite englobante.

Reimplemented from TYVolumeInterface.

Reimplemented in TYAcousticBox, TYEtage, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 263 of file TYAcousticVolume.cpp.

◆ volume()

double TYAcousticVolume::volume ( ) const
virtual

Calcule le volume total de ce volume.

Returns
Le volume total.

Implements TYVolumeInterface.

Reimplemented in TYAcousticBox, TYEtage, TYAcousticSemiCylinder, TYAcousticCylinder, and TYAcousticFaceSet.

Definition at line 227 of file TYAcousticVolume.cpp.

Member Data Documentation

◆ _forceNormales

bool TYAcousticVolume::_forceNormales
protected

Persistence du forcage des normales.

Definition at line 172 of file TYAcousticVolume.h.

◆ _pMateriau

LPTYMateriauConstruction TYAcousticVolume::_pMateriau
protected

Materiau de contruction pour les faces de ce Volume.

Definition at line 169 of file TYAcousticVolume.h.


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