|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
Classe graphique pour representer une palette. More...
#include <TYPaletteGraphic.h>


Public Member Functions | |
| TYPaletteGraphic (TYPalette *pElement) | |
| virtual | ~TYPaletteGraphic () |
| 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) |
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 |
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 representer une palette.
Definition at line 43 of file TYPaletteGraphic.h.
| TYPaletteGraphic::TYPaletteGraphic | ( | TYPalette * | pElement | ) |
Definition at line 40 of file TYPaletteGraphic.cpp.
|
virtual |
Definition at line 53 of file TYPaletteGraphic.cpp.
|
virtual |
Fonction d'affichage
| pModelerElement | element du modeleur a afficher |
| mode | mode d'affichage |
Reimplemented from TYElementGraphic.
Definition at line 60 of file TYPaletteGraphic.cpp.


|
inline |
Get de la hauteur
Definition at line 114 of file TYPaletteGraphic.h.
|
inline |
Get de la position en x
Definition at line 66 of file TYPaletteGraphic.h.
|
inline |
Get de la position en y
Definition at line 82 of file TYPaletteGraphic.h.
|
inline |
Get de la largeur
Definition at line 98 of file TYPaletteGraphic.h.
|
inline |
Set de la hauteur
Definition at line 122 of file TYPaletteGraphic.h.
|
inline |
Set de la position en x
Definition at line 74 of file TYPaletteGraphic.h.

|
inline |
Set de la position en y
Definition at line 90 of file TYPaletteGraphic.h.

|
inline |
Set de la largeur
Definition at line 106 of file TYPaletteGraphic.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 55 of file TYPaletteGraphic.cpp.

|
protected |
Definition at line 129 of file TYPaletteGraphic.h.
|
protected |
Definition at line 137 of file TYPaletteGraphic.h.
|
protected |
Definition at line 132 of file TYPaletteGraphic.h.
|
protected |
Definition at line 133 of file TYPaletteGraphic.h.
|
protected |
Definition at line 136 of file TYPaletteGraphic.h.