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


Public Member Functions | |
| TYGeometryNode () | |
| TYGeometryNode (TYElement *pElt, TYElement *pParent=NULL) | |
| TYGeometryNode (LPTYElement pElt, TYElement *pParent=NULL) | |
| TYGeometryNode (const TYRepere &repere, TYElement *pElt) | |
| TYGeometryNode (const TYRepere &repere, LPTYElement pElt) | |
| TYGeometryNode (TYElement *pElt, const OMatrix &matrix) | |
| TYGeometryNode (LPTYElement pElt, const OMatrix &matrix) | |
| TYGeometryNode (const TYGeometryNode &other) | |
| virtual | ~TYGeometryNode () |
| virtual DOM_Element | toXML (DOM_Element &domElement) |
| virtual int | fromXML (DOM_Element domElement) |
| virtual void | getChilds (LPTYElementArray &childs, bool recursif=true) |
| TYElement * | getElement () const |
| void | setElement (LPTYElement pElt) |
| void | setElement (TYElement *pElt) |
| void | delElement () |
| const ORepere3D & | getORepere3D () const |
| ORepere3D & | getORepere3D () |
| void | setRepere (const ORepere3D &repere) |
| OMatrix | getMatrix () const |
| void | setMatrix (const OMatrix &matrix) |
| TYGeometryNode & | operator= (const TYGeometryNode &other) |
| bool | operator== (const TYGeometryNode &other) const |
| bool | operator!= (const TYGeometryNode &other) const |
| virtual bool | deepCopy (const TYElement *pOther, bool copyId=true, bool pUseCopyTag=false) |
| OMatrix | localToGlobal () const |
| OMatrix | localToGeoNode (TYGeometryNode *pGeoNode) const |
| OMatrix | globalToLocal () const |
| void | setPosition (const OPoint3D &pos) |
| Set the position of the element. More... | |
| OPoint3D | position () |
| Get the position of the element. More... | |
| void | setRotation (const OPoint3D &rot) |
| Set the rotation angle along axis x, y & z represented as an OPoint3D. More... | |
| OPoint3D | rotation () |
| Get the rotation angle along axis x, y & z represented as an OPoint3D. More... | |
| double | getHauteur () |
| Get the height above the ground. More... | |
| void | setHauteur (const double &hauteur) |
| Set the heigth above the ground. More... | |
| TYGeometryNode * | GetGeoNodeParent () const |
| void | GetGeoNodeParentList (TYListPtrGeoNode &GetGeoNodeParents) |
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 |
| virtual void | setIsAcousticModified (bool isModified) |
| 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 |
| virtual std::string | toString () 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 | 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 |
Static Public Member Functions | |
| static TYGeometryNode * | GetGeoNode (TYElement *pElement) |
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 | |
| void | addToTheMap () |
| void | removeFromTheMap () |
Protected Member Functions inherited from OPrototype | |
| OPrototype () | |
Static Protected Member Functions | |
| static TYMapPtrGeoNode * | GetGeoNodeMap () |
| static TYListPtrGeoNode * | GetGeoNodeDoublonsList () |
Protected Attributes | |
| LPTYElement | _pElement |
| L'instance de l'element geometrique. More... | |
| TYRepere | _repere |
| Le repere definissant la position et l'orientation de l'element. More... | |
| double | _hauteur |
| Hauteur de l'element par rapport au sol. 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... | |
Static Protected Attributes | |
| static TYMapPtrGeoNode * | _geoNodeMap = NULL |
| static TYListPtrGeoNode * | _geoNodeDoublonsList = NULL |
Definition at line 48 of file TYGeometryNode.h.
| TYGeometryNode::TYGeometryNode | ( | ) |
Constructeur par defaut.
Definition at line 104 of file TYGeometryNode.cpp.

Constructeur.
| pElt | Un element a associer a ce noeud. |
| pParent | Le parent a la fois de l'element et du GeoNode. |
Definition at line 112 of file TYGeometryNode.cpp.

| TYGeometryNode::TYGeometryNode | ( | LPTYElement | pElt, |
| TYElement * | pParent = NULL |
||
| ) |
Constructeur a partir d'un smart pointer sur un element.
| pElt | Un element a associer a ce noeud (smart pointer). |
| pParent | Le parent a la fois de l'element et du GeoNode. |
Definition at line 125 of file TYGeometryNode.cpp.

Constructeur.
| repere | Le repere associe a l'element. |
| pElt | Un element a associer a ce noeud. |
Definition at line 138 of file TYGeometryNode.cpp.

| TYGeometryNode::TYGeometryNode | ( | const TYRepere & | repere, |
| LPTYElement | pElt | ||
| ) |
Constructeur.
| repere | Le repere associe a l'element. |
| pElt | Un element a associer a ce noeud (smart pointer). |
Definition at line 147 of file TYGeometryNode.cpp.

Constructeur.
| pElt | Un element a associer a ce noeud. |
| matrix | La matrice associee a l'element. |
Definition at line 156 of file TYGeometryNode.cpp.

| TYGeometryNode::TYGeometryNode | ( | LPTYElement | pElt, |
| const OMatrix & | matrix | ||
| ) |
Constructeur.
| pElt | Un element a associer a ce noeud (smart pointer). |
| matrix | La matrice associee a l'element. |
Definition at line 164 of file TYGeometryNode.cpp.

| TYGeometryNode::TYGeometryNode | ( | const TYGeometryNode & | other | ) |
Constructeur de copie.
| other | Un autre objet du meme type. |
Definition at line 172 of file TYGeometryNode.cpp.
|
virtual |
Destructeur.
Definition at line 178 of file TYGeometryNode.cpp.

|
protected |
Definition at line 56 of file TYGeometryNode.cpp.


|
virtual |
Fonction de copie recursive (virtuelle)
| pOther | destination de la copy |
| copyId | vrai par defaut |
| pUseCopyTag | faux par defaut |
Reimplemented from TYElement.
Definition at line 368 of file TYGeometryNode.cpp.


| void TYGeometryNode::delElement | ( | ) |
Supprime l'element si celui-ci existe.
Definition at line 314 of file TYGeometryNode.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 TYElement.
Definition at line 208 of file TYGeometryNode.cpp.

|
virtual |
Collecte les enfants de cet element de facon recursive ou non.
Reimplemented from TYElement.
Definition at line 290 of file TYGeometryNode.cpp.


|
inline |
Get of the element.
Definition at line 127 of file TYGeometryNode.h.

|
static |
Definition at line 409 of file TYGeometryNode.cpp.


|
staticprotected |
|
staticprotected |
| TYGeometryNode * TYGeometryNode::GetGeoNodeParent | ( | ) | const |
Definition at line 418 of file TYGeometryNode.cpp.


| void TYGeometryNode::GetGeoNodeParentList | ( | TYListPtrGeoNode & | GetGeoNodeParents | ) |
Definition at line 444 of file TYGeometryNode.cpp.


|
inline |
Get the height above the ground.
Definition at line 248 of file TYGeometryNode.h.

|
inline |
Set/Get de la matrice de changement de repere.
Definition at line 172 of file TYGeometryNode.h.


|
inline |
Definition at line 159 of file TYGeometryNode.h.
|
inline |
Set/Get du repere.
Definition at line 154 of file TYGeometryNode.h.

| OMatrix TYGeometryNode::globalToLocal | ( | ) | const |
Determine la matrice de passage du repere absolu vers le repere local.
Definition at line 480 of file TYGeometryNode.cpp.


| OMatrix TYGeometryNode::localToGeoNode | ( | TYGeometryNode * | pGeoNode | ) | const |
Détermine la matrice de passage du repère local vers le repère du GeoNode passé en paramètre.
Definition at line 468 of file TYGeometryNode.cpp.


| OMatrix TYGeometryNode::localToGlobal | ( | ) | const |
Determine la matrice de passage du repere local vers le repere absolu.
Definition at line 454 of file TYGeometryNode.cpp.


| bool TYGeometryNode::operator!= | ( | const TYGeometryNode & | other | ) | const |
Operateur de comparaison.
Definition at line 363 of file TYGeometryNode.cpp.

| TYGeometryNode & TYGeometryNode::operator= | ( | const TYGeometryNode & | other | ) |
Operateur de copie.
Definition at line 326 of file TYGeometryNode.cpp.

| bool TYGeometryNode::operator== | ( | const TYGeometryNode & | other | ) | const |
Operateur de comparaison.
Definition at line 339 of file TYGeometryNode.cpp.

|
inline |
Get the position of the element.
Definition at line 230 of file TYGeometryNode.h.

|
protected |
Definition at line 72 of file TYGeometryNode.cpp.


| OPoint3D TYGeometryNode::rotation | ( | ) |
Get the rotation angle along axis x, y & z represented as an OPoint3D.
Definition at line 535 of file TYGeometryNode.cpp.

| void TYGeometryNode::setElement | ( | LPTYElement | pElt | ) |
Set de l'element (smart pointer).
| pElt | Le nouvel element (smart pointer). |
Definition at line 300 of file TYGeometryNode.cpp.

| void TYGeometryNode::setElement | ( | TYElement * | pElt | ) |
Set de l'element (pointeur classique).
| pElt | Le nouvel element (pointeur classique). |
Definition at line 305 of file TYGeometryNode.cpp.

|
inline |
Set the heigth above the ground.
Definition at line 256 of file TYGeometryNode.h.

| void TYGeometryNode::setMatrix | ( | const OMatrix & | matrix | ) |
Set/Get de la matrice de changement de repere.
Definition at line 496 of file TYGeometryNode.cpp.


| void TYGeometryNode::setPosition | ( | const OPoint3D & | pos | ) |
Set the position of the element.
Definition at line 502 of file TYGeometryNode.cpp.


|
inline |
| void TYGeometryNode::setRotation | ( | const OPoint3D & | rot | ) |
Set the rotation angle along axis x, y & z represented as an OPoint3D.
Definition at line 511 of file TYGeometryNode.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 TYElement.
Definition at line 191 of file TYGeometryNode.cpp.


|
staticprotected |
Definition at line 283 of file TYGeometryNode.h.
|
staticprotected |
Definition at line 277 of file TYGeometryNode.h.
|
protected |
Hauteur de l'element par rapport au sol.
Definition at line 298 of file TYGeometryNode.h.
|
protected |
L'instance de l'element geometrique.
Definition at line 292 of file TYGeometryNode.h.
|
protected |
Le repere definissant la position et l'orientation de l'element.
Definition at line 295 of file TYGeometryNode.h.