classe graphique pour un panel d'informations
More...
#include <TYPanelGraphic.h>
|
| static OBox | _globalBoundingBox |
| |
| static bool | _gDrawNormals = false |
| | Indique si les normals doivent etre visible. More...
|
| |
| static bool | _gDrawPlafond = true |
| | Indique si les plafonds doivent etre visible. More...
|
| |
| | TYElementGraphic (TYElement *pElt) |
| |
| void | displayNormal (OVector3D normal, OPoint3D p1) |
| |
| void | glVertex3fAndEnlargeBB (GLfloat x, GLfloat y, GLfloat z) |
| |
| void | glVertex3dAndEnlargeBB (GLdouble x, GLdouble y, GLdouble z) |
| |
| void | gluDiskAndEnlargeBB (GLUquadric *qobj, GLdouble innerRadius, GLdouble outerRadius, GLint slices, GLint loops) |
| |
| void | gluCylinderAndEnlargeBB (GLUquadric *qobj, GLdouble baseRadius, GLdouble topRadius, GLdouble height, GLint slices, GLint stacks) |
| |
| void | gluPartialDiskAndEnlargeBB (GLUquadric *qobj, GLdouble innerRadius, GLdouble outerRadius, GLint slices, GLint loops, GLdouble startAngle, GLdouble sweepAngle) |
| |
| void | drawBoundingBox () |
| |
| void | drawLineBoundingBox () |
| |
| void | drawName (TYElement *pModelerElement=nullptr) |
| |
classe graphique pour un panel d'informations
Definition at line 40 of file TYPanelGraphic.h.
◆ TYPanelGraphic()
| TYPanelGraphic::TYPanelGraphic |
( |
TYPanel * |
pElement | ) |
|
◆ ~TYPanelGraphic()
| TYPanelGraphic::~TYPanelGraphic |
( |
| ) |
|
|
virtual |
◆ display()
| void TYPanelGraphic::display |
( |
TYElement * |
pModelerElement = nullptr, |
|
|
GLenum |
mode = GL_RENDER |
|
) |
| |
|
virtual |
Fonction d'affichage
- Parameters
-
| pModelerElement | element du modeleur a afficher |
| mode | mode d'affichage |
Reimplemented from TYElementGraphic.
Definition at line 55 of file TYPanelGraphic.cpp.
◆ getBackColor()
| OColor TYPanelGraphic::getBackColor |
( |
| ) |
const |
|
inline |
◆ getFontColor()
| OColor TYPanelGraphic::getFontColor |
( |
| ) |
const |
|
inline |
◆ getHeight()
| double TYPanelGraphic::getHeight |
( |
| ) |
const |
|
inline |
◆ getPosX()
| double TYPanelGraphic::getPosX |
( |
| ) |
const |
|
inline |
◆ getPosY()
| double TYPanelGraphic::getPosY |
( |
| ) |
const |
|
inline |
◆ getWidth()
| double TYPanelGraphic::getWidth |
( |
| ) |
const |
|
inline |
◆ setBackColor()
| void TYPanelGraphic::setBackColor |
( |
const OColor & |
backColor | ) |
|
|
inline |
◆ setFontColor()
| void TYPanelGraphic::setFontColor |
( |
const OColor & |
fontColor | ) |
|
|
inline |
◆ setHeight()
| void TYPanelGraphic::setHeight |
( |
double |
height | ) |
|
|
inline |
◆ setPosX()
| void TYPanelGraphic::setPosX |
( |
double |
x | ) |
|
|
inline |
◆ setPosY()
| void TYPanelGraphic::setPosY |
( |
double |
y | ) |
|
|
inline |
◆ setWidth()
| void TYPanelGraphic::setWidth |
( |
double |
width | ) |
|
|
inline |
◆ update()
| void TYPanelGraphic::update |
( |
bool |
force = false | ) |
|
|
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.
- Parameters
-
| force | Outrepasse l'etat du flag 'modified' et effectue la mise a jour. |
Reimplemented from TYElementGraphic.
Definition at line 50 of file TYPanelGraphic.cpp.
◆ _backColor
| OColor TYPanelGraphic::_backColor |
|
protected |
◆ _font
◆ _fontColor
| OColor TYPanelGraphic::_fontColor |
|
protected |
◆ _height
| double TYPanelGraphic::_height |
|
protected |
◆ _posX
| double TYPanelGraphic::_posX |
|
protected |
◆ _posY
| double TYPanelGraphic::_posY |
|
protected |
◆ _width
| double TYPanelGraphic::_width |
|
protected |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/gl/TYPanelGraphic.h
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/gl/TYPanelGraphic.cpp