|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
classe graphique pour un panel d'informations More...
#include <TYPanelGraphic.h>


Public Member Functions | |
| TYPanelGraphic (TYPanel *pElement) | |
| virtual | ~TYPanelGraphic () |
| virtual void | update (bool force=false) |
| virtual void | display (TYRenderContext &renderContext) |
| double | getPosX () const |
| void | setPosX (double x) |
| double | getPosY () const |
| void | setPosY (double y) |
| double | getWidth () const |
| void | setWidth (double width) |
| double | getHeight () const |
| void | setHeight (double height) |
| OColor | getBackColor () const |
| void | setBackColor (const OColor &backColor) |
| OColor | getFontColor () const |
| void | setFontColor (const OColor &fontColor) |
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 () |
| void | setRecursiveVisible (bool visible=true) |
| void | setTexture (bool state=true) |
| bool | getTexture () |
| OBox | boundingBox () const |
| virtual OBox | computeBoundingBox () const |
| virtual void | getChilds (TYListPtrTYElementGraphic &childs, bool recursif=true) |
| void | getChilds (TYListPtrConstTYElementGraphic &childs, bool recursif=true) const |
| void | setBoundingBoxVisible (bool state=true) |
| bool | isBoundingBoxVisible () const |
| void | setOnlyBoundingBox (bool state=true) |
Public Member Functions inherited from IRefCount | |
| IRefCount () | |
| virtual | ~IRefCount () |
| virtual int | incRef () |
| virtual int | decRef () |
| int | getRefCount () const |
Protected Attributes | |
| LPOGLFont | _font |
| double | _posX |
| double | _posY |
| double | _width |
| double | _height |
| OColor | _backColor |
| OColor | _fontColor |
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 un panel d'informations
Definition at line 40 of file TYPanelGraphic.h.
| TYPanelGraphic::TYPanelGraphic | ( | TYPanel * | pElement | ) |
Definition at line 33 of file TYPanelGraphic.cpp.
|
virtual |
Definition at line 49 of file TYPanelGraphic.cpp.
|
virtual |
Fonction d'affichage
| pModelerElement | element du modeleur a afficher |
| mode | mode d'affichage |
Reimplemented from TYElementGraphic.
Definition at line 56 of file TYPanelGraphic.cpp.


|
inline |
Get de la couleur du fond
Definition at line 127 of file TYPanelGraphic.h.
|
inline |
Get de la couleur du texte
Definition at line 143 of file TYPanelGraphic.h.
|
inline |
Get de la hauteur
Definition at line 111 of file TYPanelGraphic.h.
|
inline |
Get de la position en x
Definition at line 63 of file TYPanelGraphic.h.
|
inline |
Get de la position en y
Definition at line 79 of file TYPanelGraphic.h.
|
inline |
Get de la largeur
Definition at line 95 of file TYPanelGraphic.h.
|
inline |
Set de la couleur du fond
Definition at line 135 of file TYPanelGraphic.h.
|
inline |
Set de la couleur du fond
Definition at line 151 of file TYPanelGraphic.h.
|
inline |
Set de la hauteur
Definition at line 119 of file TYPanelGraphic.h.
|
inline |
Set de la position en x
Definition at line 71 of file TYPanelGraphic.h.
|
inline |
Set de la position en y
Definition at line 87 of file TYPanelGraphic.h.
|
inline |
Set de la largeur
Definition at line 103 of file TYPanelGraphic.h.
|
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 51 of file TYPanelGraphic.cpp.

|
protected |
Definition at line 169 of file TYPanelGraphic.h.
|
protected |
Definition at line 158 of file TYPanelGraphic.h.
|
protected |
Definition at line 172 of file TYPanelGraphic.h.
|
protected |
Definition at line 166 of file TYPanelGraphic.h.
|
protected |
Definition at line 161 of file TYPanelGraphic.h.
|
protected |
Definition at line 162 of file TYPanelGraphic.h.
|
protected |
Definition at line 165 of file TYPanelGraphic.h.