classe graphique pour une altimetrie
More...
#include <TYAltimetrieGraphic.h>
|
| void | bindTexture () |
| |
| | 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 une altimetrie
Definition at line 45 of file TYAltimetrieGraphic.h.
◆ TYAltimetrieGraphic()
| TYAltimetrieGraphic::TYAltimetrieGraphic |
( |
TYAltimetrie * |
pElement | ) |
|
◆ ~TYAltimetrieGraphic()
| TYAltimetrieGraphic::~TYAltimetrieGraphic |
( |
| ) |
|
|
virtual |
◆ bindTexture()
| void TYAltimetrieGraphic::bindTexture |
( |
| ) |
|
|
protected |
◆ computeBoundingBox()
| void TYAltimetrieGraphic::computeBoundingBox |
( |
| ) |
|
|
virtual |
◆ display()
| void TYAltimetrieGraphic::display |
( |
TYElement * |
pModelerElement = nullptr, |
|
|
GLenum |
mode = GL_RENDER |
|
) |
| |
|
virtual |
Effectue le trace openGL de l'objet graphique
- Parameters
-
| pModelerElement | element du modeleur a afficher |
| mode | Gere les modes rendu et select pour le picking. |
Reimplemented from TYElementGraphic.
Definition at line 132 of file TYAltimetrieGraphic.cpp.
◆ getChilds()
◆ setBackgroundImage()
| void TYAltimetrieGraphic::setBackgroundImage |
( |
QString |
sTopoFileName, |
|
|
int |
semiX, |
|
|
int |
semiY, |
|
|
TYPoint |
ptPosition, |
|
|
OVector3D |
bgImageOrientation |
|
) |
| |
Set a background image
- Parameters
-
| QString | sTopoFileName : name of the file containing the image |
| int | semiX : half of the size of the image on the X axis |
| int | semiY : half of the size of the image on the Y axis |
| TYPoint | ptPosition : center of the image |
| OVector3D | bgImageOrientation : orientation of the image |
Definition at line 357 of file TYAltimetrieGraphic.cpp.
◆ unsetBackgroundImage()
| void TYAltimetrieGraphic::unsetBackgroundImage |
( |
| ) |
|
◆ update()
| void TYAltimetrieGraphic::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 68 of file TYAltimetrieGraphic.cpp.
◆ _angle
| double TYAltimetrieGraphic::_angle |
|
protected |
◆ _bgImageOrientation
| OVector3D TYAltimetrieGraphic::_bgImageOrientation |
|
protected |
◆ _imagePosition
| TYPoint TYAltimetrieGraphic::_imagePosition |
|
protected |
◆ _imgBytesPerPixel
| int TYAltimetrieGraphic::_imgBytesPerPixel |
|
protected |
◆ _imgDataPtr
| unsigned char* TYAltimetrieGraphic::_imgDataPtr |
|
protected |
◆ _imgXSize
| int TYAltimetrieGraphic::_imgXSize |
|
protected |
◆ _imgYSize
| int TYAltimetrieGraphic::_imgYSize |
|
protected |
◆ _isBgImage
| bool TYAltimetrieGraphic::_isBgImage |
|
protected |
◆ _oColorMap
◆ _pTex
◆ _semiX
| int TYAltimetrieGraphic::_semiX |
|
protected |
◆ _semiY
| int TYAltimetrieGraphic::_semiY |
|
protected |
◆ _sOldTopoFileName
| QString TYAltimetrieGraphic::_sOldTopoFileName |
|
protected |
◆ _sTopoFileName
| QString TYAltimetrieGraphic::_sTopoFileName |
|
protected |
◆ _theTexture
| GLuint TYAltimetrieGraphic::_theTexture |
|
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/TYAltimetrieGraphic.h
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/gl/TYAltimetrieGraphic.cpp