|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
classe graphique pour une topographie More...
#include <TYTopographieGraphic.h>


Public Member Functions | |
| TYTopographieGraphic (TYTopographie *pElement) | |
| virtual | ~TYTopographieGraphic () |
| virtual void | update (bool force=false) |
| virtual void | display (TYRenderContext &renderContext) |
| void | collectMeshInstances (std::vector< OGLMeshInstance > &meshInstances, TYRenderContext *renderContext) const override |
| virtual void | getChilds (TYListPtrTYElementGraphic &childs, bool recursif=true) |
| void | setBackgroundImage (std::shared_ptr< QImage > &image, int semiX, int semiY, TYPoint ptPosition, OVector3D bgOrientation) |
| void | unsetBackgroundImage () |
| void | recomputeEmpriseMesh () |
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 Attributes | |
| std::shared_ptr< OGLPolyLineMesh > | _empriseMesh |
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... | |
Protected Member Functions inherited from TYElementGraphic | |
| TYElementGraphic (TYElement *pElt) | |
| void | displayNormal (OVector3D normal, OPoint3D p1) |
| void | drawName (TYRenderContext &renderContext) |
| void | invalidateBoundingBox () |
classe graphique pour une topographie
Definition at line 43 of file TYTopographieGraphic.h.
| TYTopographieGraphic::TYTopographieGraphic | ( | TYTopographie * | pElement | ) |
|
inlinevirtual |
Definition at line 50 of file TYTopographieGraphic.h.
|
overridevirtual |
Collect mesh instances
Reimplemented from TYElementGraphic.
Definition at line 211 of file TYTopographieGraphic.cpp.

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

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

| void TYTopographieGraphic::recomputeEmpriseMesh | ( | ) |
Definition at line 217 of file TYTopographieGraphic.cpp.

| void TYTopographieGraphic::setBackgroundImage | ( | std::shared_ptr< QImage > & | image, |
| int | semiX, | ||
| int | semiY, | ||
| TYPoint | ptPosition, | ||
| OVector3D | bgOrientation | ||
| ) |
Definition at line 183 of file TYTopographieGraphic.cpp.


| void TYTopographieGraphic::unsetBackgroundImage | ( | ) |
Definition at line 198 of file TYTopographieGraphic.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 57 of file TYTopographieGraphic.cpp.

|
protected |
Definition at line 83 of file TYTopographieGraphic.h.