|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
clase graphique pour un ensemble de sites More...
#include <TYSiteNodeGraphic.h>


Public Member Functions | |
| TYSiteNodeGraphic (TYSiteNode *pElement) | |
| virtual | ~TYSiteNodeGraphic () |
| virtual void | update (bool force=false) |
| virtual void | display (TYRenderContext &renderContext) |
| virtual void | getChilds (TYListPtrTYElementGraphic &childs, bool recursif=true) |
| void | collectMeshInstances (std::vector< OGLMeshInstance > &meshInstances, TYRenderContext *renderContext) const override |
Public Member Functions inherited from TYElementGraphic | |
| virtual | ~TYElementGraphic () |
| void | setElement (TYElement *pElt) |
| TYElement * | getTYElement () |
| const TYElement * | getTYElement () const |
| void | updateTree () |
| void | setModified (bool modified=true) |
| bool | getModified () const |
| void | setVisible (bool visible=true) |
| bool | getVisible () const |
| void | setTexture (bool state=true) |
| bool | getTexture () |
| OBox | boundingBox () const |
| virtual OBox | computeBoundingBox () const |
| void | getChilds (TYListPtrConstTYElementGraphic &childs, bool recursif=true) const |
| void | setBoundingBoxVisible (bool state=true) |
| bool | isBoundingBoxVisible () const |
| void | setOnlyBoundingBox (bool state=true) |
| bool | getOnlyBoundingBox () const |
| const TYGeometryNodeGraphic * | nearestGeoNode () const |
| QMatrix4x4 | globalMatrix () const |
Public Member Functions inherited from IRefCount | |
| IRefCount () | |
| virtual | ~IRefCount () |
| virtual int | incRef () |
| virtual int | decRef () |
| int | getRefCount () const |
Protected Member Functions | |
| void | updateBackgroundImage () |
Protected Member Functions inherited from TYElementGraphic | |
| TYElementGraphic (TYElement *pElt) | |
| void | displayNormal (OVector3D normal, OPoint3D p1) |
| void | drawName (TYRenderContext &renderContext) |
| void | invalidateBoundingBox () |
Protected Attributes | |
| QString | _sOldTopoFile |
| std::shared_ptr< QImage > | _backgroundImage |
| std::shared_ptr< OGLRectangleMesh > | _imageMesh |
Protected Attributes inherited from TYElementGraphic | |
| TYElement * | _pElement |
| L'element metier auquel cet element graphique metier est associe. More... | |
| bool | _highlight |
| Indique si le highlight est active pour cet element. More... | |
| bool | _texture |
| Indique si le texturing est active pour cet element. More... | |
| bool | _visible |
| Inique si l'element est visible. More... | |
Protected Attributes inherited from IRefCount | |
| int | m_refCount |
| The reference counter. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from TYElementGraphic | |
| static bool | _gDrawNormals = false |
| Indique si les normals doivent etre visible. More... | |
| static bool | _gDrawPlafond = true |
| Indique si les plafonds doivent etre visible. More... | |
clase graphique pour un ensemble de sites
Definition at line 52 of file TYSiteNodeGraphic.h.
| TYSiteNodeGraphic::TYSiteNodeGraphic | ( | TYSiteNode * | pElement | ) |
|
virtual |
Definition at line 47 of file TYSiteNodeGraphic.cpp.
|
overridevirtual |
getter pour enfant
| childs | liste des resultats |
| recursif | mode recursif (vrai apr defaut) |
Reimplemented from TYElementGraphic.
Definition at line 165 of file TYSiteNodeGraphic.cpp.

|
virtual |
Fonction d'affichage
| pModelerElement | element du modeleur a afficher |
| mode | mode d'affichage |
Reimplemented from TYElementGraphic.
Definition at line 126 of file TYSiteNodeGraphic.cpp.

|
virtual |
getter pour enfant
| childs | liste des resultats |
| recursif | mode recursif (vrai apr defaut) |
Reimplemented from TYElementGraphic.
Definition at line 94 of file TYSiteNodeGraphic.cpp.

|
virtual |
Mets a jour l'objet 3D associe a cet objet graphique metier. Remarque : Lorsque cette methode est surchargee, un appel de l'implementation parent (TYElementGraphic::update()) doit etre fait a la fin.
| force | Outrepasse l'etat du flag 'modified' et effectue la mise a jour. |
Reimplemented from TYElementGraphic.
Definition at line 49 of file TYSiteNodeGraphic.cpp.

|
protected |
Definition at line 58 of file TYSiteNodeGraphic.cpp.


|
protected |
Pointer to the background image. Can equal nullptr if there is no image.
Definition at line 114 of file TYSiteNodeGraphic.h.
|
protected |
Pointer to the cached image mesh. Equals nullptr when there is no image.
Definition at line 118 of file TYSiteNodeGraphic.h.
|
protected |
Definition at line 110 of file TYSiteNodeGraphic.h.