classe graphique pour representer une polyligne a partir d'un tableau de points.
More...
#include <TYPolyLineGraphic.h>
|
| | 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 polyligne a partir d'un tableau de points.
Definition at line 42 of file TYPolyLineGraphic.h.
◆ TYPolyLineGraphic()
| TYPolyLineGraphic::TYPolyLineGraphic |
( |
bool |
closed = false | ) |
|
◆ ~TYPolyLineGraphic()
| TYPolyLineGraphic::~TYPolyLineGraphic |
( |
| ) |
|
|
virtual |
◆ computeBoundingBox()
| void TYPolyLineGraphic::computeBoundingBox |
( |
| ) |
|
|
virtual |
◆ display()
| void TYPolyLineGraphic::display |
( |
TYElement * |
pModelerElement = nullptr, |
|
|
GLenum |
mode = GL_RENDER |
|
) |
| |
|
virtual |
◆ getTabPoint() [1/2]
◆ getTabPoint() [2/2]
| const TYTabPoint& TYPolyLineGraphic::getTabPoint |
( |
| ) |
const |
|
inline |
◆ setTabPoint()
| void TYPolyLineGraphic::setTabPoint |
( |
const TYTabPoint & |
tabPts | ) |
|
|
inline |
◆ update()
| void TYPolyLineGraphic::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 35 of file TYPolyLineGraphic.cpp.
◆ _closed
| bool TYPolyLineGraphic::_closed |
|
protected |
◆ _tabPts
◆ default_width_px
| const unsigned int TYPolyLineGraphic::default_width_px = 2 |
|
static |
Default line width in screen pixels (cf OpenGL doc for more details of meaning when coupled with anti-aliasing)
Definition at line 50 of file TYPolyLineGraphic.h.
◆ width
| GLfloat TYPolyLineGraphic::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/TYPolyLineGraphic.h
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/gl/TYPolyLineGraphic.cpp