#include <glarea.h>
Public Types | |
| enum | DrawMode { SMOOTH = 0, POINTS, WIRE, FLATWIRE, HIDDEN, FLAT } |
| we choosed a subset of the avaible drawing modes More... | |
Public Slots | |
| void | add1000Faces () |
| void | add100Faces () |
| void | add10Faces () |
| void | addAll () |
| void | addFace () |
| void | addTot () |
| void | loadDodecahedron () |
| void | loadMesh (QString filename) |
| bool | loadModel (const QString &file) |
| void | loadTetrahedron () |
| void | open () |
| void | save () |
| void | selectDrawMode (int mode) |
| widget-based user interaction slots | |
| void | setRadius (double _radius) |
| void | setTot (int n) |
| void | updateRequested (MyDrawMode, vcg::GLFeederInfo::ReqAtts &) |
| void | viewSmooth (bool on) |
Signals | |
| void | setStatusBar (QString message) |
| signal for setting the statusbar message | |
| void | setStatusBar (QString message) |
| we choosed a subset of the avaible drawing modes | |
Public Member Functions | |
| GLArea (QWidget *parent=0) | |
| GLArea (QWidget *parent=0) | |
| GLArea (CMeshO &m, MLThreadSafeGLMeshAttributesFeeder &feed, QWidget *parent=NULL, QGLWidget *sharedcont=NULL) | |
| void | resetTrackBall () |
| ~GLArea () | |
Public Attributes | |
| bool | smooth |
Protected Member Functions | |
| void | draw () |
| void | init (QString file, float radius) |
| void | initializeGL () |
| void | initializeGL () |
| opengl initialization and drawing calls | |
| void | initializeGL () |
| opengl initialization and drawing calls | |
| void | keyPressEvent (QKeyEvent *e) |
| void | keyPressEvent (QKeyEvent *e) |
| void | keyReleaseEvent (QKeyEvent *e) |
| void | keyReleaseEvent (QKeyEvent *e) |
| keyboard and mouse event callbacks | |
| void | keyReleaseEvent (QKeyEvent *e) |
| keyboard and mouse event callbacks | |
| void | mouseMoveEvent (QMouseEvent *e) |
| void | mouseMoveEvent (QMouseEvent *e) |
| void | mouseMoveEvent (QMouseEvent *e) |
| void | mousePressEvent (QMouseEvent *e) |
| void | mousePressEvent (QMouseEvent *e) |
| void | mousePressEvent (QMouseEvent *e) |
| void | mouseReleaseEvent (QMouseEvent *e) |
| void | mouseReleaseEvent (QMouseEvent *e) |
| void | mouseReleaseEvent (QMouseEvent *e) |
| void | paintGL () |
| void | paintGL () |
| void | paintGL () |
| void | resizeGL (int w, int h) |
| void | resizeGL (int w, int h) |
| void | resizeGL (int w, int h) |
| void | wheelEvent (QWheelEvent *e) |
| void | wheelEvent (QWheelEvent *e) |
| void | wheelEvent (QWheelEvent *e) |
Protected Attributes | |
| vcg::Box3f | box |
| CMesh | mesh |
| the active mesh instance | |
| Pivot< CMesh > * | pivot |
| float | radius |
| int | tot |
| vcg::Trackball | trackball |
Private Member Functions | |
| void | initMesh (QString message) |
| mesh data structure initializer | |
| void | initMesh (QString message) |
| mesh data structure initializer | |
Private Attributes | |
| DrawMode | drawmode |
| the current drawmode | |
| MyDrawMode | drawmode |
| MLThreadSafeGLMeshAttributesFeeder & | feeder |
| vcg::GlTrimesh< CMesh > | glWrap |
| the active mesh opengl wrapper | |
| CMeshO & | mesh |
| the active mesh instance | |
| vcg::GLFeederInfo::ReqAtts | rq |
| vcg::Trackball | track |
| the active manipulator | |
Definition at line 19 of file pivoting/glarea.h.
| enum GLArea::DrawMode |
we choosed a subset of the avaible drawing modes
Definition at line 71 of file sample/trimesh_QT/glarea.h.
| GLArea::GLArea | ( | QWidget * | parent = 0 | ) |
Definition at line 29 of file pivoting/glarea.cpp.
| GLArea::GLArea | ( | QWidget * | parent = 0 | ) |
| GLArea::GLArea | ( | CMeshO & | m, |
| MLThreadSafeGLMeshAttributesFeeder & | feed, | ||
| QWidget * | parent = NULL, |
||
| QGLWidget * | sharedcont = NULL |
||
| ) |
Definition at line 47 of file sample/trimesh_QT_shared/glarea.cpp.
| GLArea::~GLArea | ( | ) |
Definition at line 52 of file sample/trimesh_QT_shared/glarea.cpp.
| void GLArea::add1000Faces | ( | ) | [slot] |
Definition at line 113 of file pivoting/glarea.cpp.
| void GLArea::add100Faces | ( | ) | [slot] |
Definition at line 107 of file pivoting/glarea.cpp.
| void GLArea::add10Faces | ( | ) | [slot] |
Definition at line 99 of file pivoting/glarea.cpp.
| void GLArea::addAll | ( | ) | [slot] |
Definition at line 119 of file pivoting/glarea.cpp.
| void GLArea::addFace | ( | ) | [slot] |
Definition at line 89 of file pivoting/glarea.cpp.
| void GLArea::addTot | ( | ) | [slot] |
Definition at line 127 of file pivoting/glarea.cpp.
| void GLArea::draw | ( | ) | [protected] |
| void GLArea::init | ( | QString | file, |
| float | radius = 1.2 |
||
| ) | [protected] |
Definition at line 48 of file pivoting/glarea.cpp.
| void GLArea::initializeGL | ( | ) | [protected] |
Definition at line 139 of file pivoting/glarea.cpp.
| void GLArea::initializeGL | ( | ) | [protected] |
opengl initialization and drawing calls
| void GLArea::initializeGL | ( | ) | [protected] |
opengl initialization and drawing calls
| void GLArea::initMesh | ( | QString | message | ) | [private] |
mesh data structure initializer
Definition at line 72 of file sample/trimesh_QT/glarea.cpp.
| void GLArea::initMesh | ( | QString | message | ) | [private] |
mesh data structure initializer
| void GLArea::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
Definition at line 161 of file sample/trimesh_QT/glarea.cpp.
| void GLArea::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
| void GLArea::keyReleaseEvent | ( | QKeyEvent * | e | ) | [protected] |
Definition at line 387 of file pivoting/glarea.cpp.
| void GLArea::keyReleaseEvent | ( | QKeyEvent * | e | ) | [protected] |
keyboard and mouse event callbacks
| void GLArea::keyReleaseEvent | ( | QKeyEvent * | e | ) | [protected] |
keyboard and mouse event callbacks
| void GLArea::loadDodecahedron | ( | ) | [slot] |
Definition at line 67 of file sample/trimesh_QT/glarea.cpp.
| void GLArea::loadMesh | ( | QString | filename | ) | [slot] |
Definition at line 52 of file sample/trimesh_QT/glarea.cpp.
| bool GLArea::loadModel | ( | const QString & | file | ) | [slot] |
Definition at line 37 of file pivoting/glarea.cpp.
| void GLArea::loadTetrahedron | ( | ) | [slot] |
Definition at line 62 of file sample/trimesh_QT/glarea.cpp.
| void GLArea::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected] |
Definition at line 371 of file pivoting/glarea.cpp.
| void GLArea::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected] |
| void GLArea::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected] |
| void GLArea::mousePressEvent | ( | QMouseEvent * | e | ) | [protected] |
Definition at line 394 of file pivoting/glarea.cpp.
| void GLArea::mousePressEvent | ( | QMouseEvent * | e | ) | [protected] |
| void GLArea::mousePressEvent | ( | QMouseEvent * | e | ) | [protected] |
| void GLArea::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected] |
Definition at line 403 of file pivoting/glarea.cpp.
| void GLArea::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected] |
| void GLArea::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected] |
| void GLArea::open | ( | ) | [slot] |
Definition at line 42 of file pivoting/glarea.cpp.
| void GLArea::paintGL | ( | ) | [protected] |
Definition at line 183 of file pivoting/glarea.cpp.
| void GLArea::paintGL | ( | ) | [protected] |
| void GLArea::paintGL | ( | ) | [protected] |
| void GLArea::resetTrackBall | ( | ) |
Definition at line 193 of file sample/trimesh_QT_shared/glarea.cpp.
| void GLArea::resizeGL | ( | int | w, |
| int | h | ||
| ) | [protected] |
Definition at line 169 of file pivoting/glarea.cpp.
| void GLArea::resizeGL | ( | int | w, |
| int | h | ||
| ) | [protected] |
| void GLArea::resizeGL | ( | int | w, |
| int | h | ||
| ) | [protected] |
| void GLArea::save | ( | ) | [slot] |
Definition at line 81 of file pivoting/glarea.cpp.
| void GLArea::selectDrawMode | ( | int | mode | ) | [slot] |
widget-based user interaction slots
Definition at line 47 of file sample/trimesh_QT/glarea.cpp.
| void GLArea::setRadius | ( | double | _radius | ) | [inline, slot] |
Definition at line 40 of file pivoting/glarea.h.
| void GLArea::setStatusBar | ( | QString | message | ) | [signal] |
signal for setting the statusbar message
| void GLArea::setStatusBar | ( | QString | message | ) | [signal] |
we choosed a subset of the avaible drawing modes
signal for setting the statusbar message
| void GLArea::setTot | ( | int | n | ) | [inline, slot] |
Definition at line 35 of file pivoting/glarea.h.
| void GLArea::updateRequested | ( | MyDrawMode | md, |
| vcg::GLFeederInfo::ReqAtts & | reqatts | ||
| ) | [slot] |
Definition at line 186 of file sample/trimesh_QT_shared/glarea.cpp.
| void GLArea::viewSmooth | ( | bool | on | ) | [slot] |
Definition at line 135 of file pivoting/glarea.cpp.
| void GLArea::wheelEvent | ( | QWheelEvent * | e | ) | [protected] |
Definition at line 363 of file pivoting/glarea.cpp.
| void GLArea::wheelEvent | ( | QWheelEvent * | e | ) | [protected] |
| void GLArea::wheelEvent | ( | QWheelEvent * | e | ) | [protected] |
vcg::Box3f GLArea::box [protected] |
Definition at line 49 of file pivoting/glarea.h.
DrawMode GLArea::drawmode [private] |
the current drawmode
Definition at line 101 of file sample/trimesh_QT/glarea.h.
MyDrawMode GLArea::drawmode [private] |
Definition at line 104 of file sample/trimesh_QT_shared/glarea.h.
MLThreadSafeGLMeshAttributesFeeder& GLArea::feeder [private] |
Definition at line 105 of file sample/trimesh_QT_shared/glarea.h.
vcg::GlTrimesh<CMesh> GLArea::glWrap [private] |
the active mesh opengl wrapper
Definition at line 97 of file sample/trimesh_QT/glarea.h.
CMesh GLArea::mesh [protected] |
the active mesh instance
Definition at line 50 of file pivoting/glarea.h.
CMeshO& GLArea::mesh [private] |
the active mesh instance
Definition at line 99 of file sample/trimesh_QT_shared/glarea.h.
Pivot<CMesh>* GLArea::pivot [protected] |
Definition at line 52 of file pivoting/glarea.h.
float GLArea::radius [protected] |
Definition at line 48 of file pivoting/glarea.h.
vcg::GLFeederInfo::ReqAtts GLArea::rq [private] |
Definition at line 106 of file sample/trimesh_QT_shared/glarea.h.
| bool GLArea::smooth |
Definition at line 25 of file pivoting/glarea.h.
int GLArea::tot [protected] |
Definition at line 46 of file pivoting/glarea.h.
vcg::Trackball GLArea::track [private] |
the active manipulator
Definition at line 99 of file sample/trimesh_QT/glarea.h.
vcg::Trackball GLArea::trackball [protected] |
Definition at line 53 of file pivoting/glarea.h.