classe graphique pour un polygone
More...
#include <TYPolygonGraphic.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 polygone
Definition at line 40 of file TYPolygonGraphic.h.
◆ TYPolygonGraphic()
| TYPolygonGraphic::TYPolygonGraphic |
( |
TYPolygon * |
pElement | ) |
|
◆ ~TYPolygonGraphic()
| TYPolygonGraphic::~TYPolygonGraphic |
( |
| ) |
|
|
virtual |
◆ computeBoundingBox()
| void TYPolygonGraphic::computeBoundingBox |
( |
| ) |
|
|
virtual |
◆ display()
| void TYPolygonGraphic::display |
( |
TYElement * |
pModelerElement = nullptr, |
|
|
GLenum |
mode = GL_RENDER |
|
) |
| |
|
virtual |
◆ setAltimetrieColor()
| void TYPolygonGraphic::setAltimetrieColor |
( |
double |
color0[3], |
|
|
double |
color1[3], |
|
|
double |
color2[3] |
|
) |
| |
◆ setTextureBg()
| void TYPolygonGraphic::setTextureBg |
( |
int |
semiXBg, |
|
|
int |
semiYBg, |
|
|
TYPoint |
bgImagePosition, |
|
|
OVector3D |
bgImageOrientation |
|
) |
| |
|
inline |
◆ unsetTextureBg()
| void TYPolygonGraphic::unsetTextureBg |
( |
| ) |
|
|
inline |
◆ update()
| void TYPolygonGraphic::update |
( |
bool |
force = false | ) |
|
|
virtual |
Updates the 3D object associated to this object Note : When this method is overloaded, the parent implementation (TYElementGraphic::update()) must be called at the end
- Parameters
-
| force | overstep the state of the flag 'modified' and apply the update. |
Reimplemented from TYElementGraphic.
Definition at line 56 of file TYPolygonGraphic.cpp.
◆ _altimetrie
| bool TYPolygonGraphic::_altimetrie |
|
protected |
Indique si ce polygone fait partie de l'altimetrie.
Definition at line 96 of file TYPolygonGraphic.h.
◆ _bgImageOrientation
| OVector3D TYPolygonGraphic::_bgImageOrientation |
|
protected |
◆ _bgImagePosition
| TYPoint TYPolygonGraphic::_bgImagePosition |
|
protected |
◆ _color0
| double TYPolygonGraphic::_color0[3] |
|
protected |
Pour les polygones de l'altimetrie chaque sommet a une couleur differente.
Definition at line 98 of file TYPolygonGraphic.h.
◆ _color1
| double TYPolygonGraphic::_color1[3] |
|
protected |
◆ _color2
| double TYPolygonGraphic::_color2[3] |
|
protected |
◆ _gLUtesselator
| GLUtesselator* TYPolygonGraphic::_gLUtesselator |
|
protected |
◆ _semiXBg
| int TYPolygonGraphic::_semiXBg |
|
protected |
◆ _semiYBg
| int TYPolygonGraphic::_semiYBg |
|
protected |
◆ _textureBg
| bool TYPolygonGraphic::_textureBg |
|
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/TYPolygonGraphic.h
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/gl/TYPolygonGraphic.cpp