Classe graphique pour representer une palette.
More...
#include <TYPaletteGraphic.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 representer une palette.
Definition at line 43 of file TYPaletteGraphic.h.
◆ TYPaletteGraphic()
| TYPaletteGraphic::TYPaletteGraphic |
( |
TYPalette * |
pElement | ) |
|
◆ ~TYPaletteGraphic()
| TYPaletteGraphic::~TYPaletteGraphic |
( |
| ) |
|
|
virtual |
◆ display()
| void TYPaletteGraphic::display |
( |
TYElement * |
pModelerElement = nullptr, |
|
|
GLenum |
mode = GL_RENDER |
|
) |
| |
|
virtual |
◆ getHeight()
| double TYPaletteGraphic::getHeight |
( |
| ) |
const |
|
inline |
◆ getPosX()
| double TYPaletteGraphic::getPosX |
( |
| ) |
const |
|
inline |
◆ getPosY()
| double TYPaletteGraphic::getPosY |
( |
| ) |
const |
|
inline |
◆ getWidth()
| double TYPaletteGraphic::getWidth |
( |
| ) |
const |
|
inline |
◆ setHeight()
| void TYPaletteGraphic::setHeight |
( |
double |
height | ) |
|
|
inline |
◆ setPosX()
| void TYPaletteGraphic::setPosX |
( |
double |
x | ) |
|
|
inline |
◆ setPosY()
| void TYPaletteGraphic::setPosY |
( |
double |
y | ) |
|
|
inline |
◆ setWidth()
| void TYPaletteGraphic::setWidth |
( |
double |
width | ) |
|
|
inline |
◆ update()
| void TYPaletteGraphic::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 54 of file TYPaletteGraphic.cpp.
◆ _font
◆ _height
| double TYPaletteGraphic::_height |
|
protected |
◆ _posX
| double TYPaletteGraphic::_posX |
|
protected |
◆ _posY
| double TYPaletteGraphic::_posY |
|
protected |
◆ _width
| double TYPaletteGraphic::_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/TYPaletteGraphic.h
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/gl/TYPaletteGraphic.cpp