OpenGL based viewer for the graph. More...
#include <g2o_qglviewer.h>
Public Member Functions | |
void | draw () |
G2oQGLViewer (QWidget *parent=NULL, const QGLWidget *shareWidget=0, Qt::WFlags flags=0) | |
void | init () |
void | setUpdateDisplay (bool updateDisplay) |
bool | updateDisplay () const |
~G2oQGLViewer () | |
Public Attributes | |
SparseOptimizer * | graph |
Protected Attributes | |
HyperGraphElementAction * | _drawActions |
GLuint | _drawList |
bool | _updateDisplay |
OpenGL based viewer for the graph.
Definition at line 32 of file g2o_qglviewer.h.
g2o::G2oQGLViewer::G2oQGLViewer | ( | QWidget * | parent = NULL , |
const QGLWidget * | shareWidget = 0 , |
||
Qt::WFlags | flags = 0 |
||
) |
Definition at line 64 of file g2o_qglviewer.cpp.
Definition at line 70 of file g2o_qglviewer.cpp.
void g2o::G2oQGLViewer::draw | ( | ) |
Definition at line 74 of file g2o_qglviewer.cpp.
void g2o::G2oQGLViewer::init | ( | ) |
Definition at line 94 of file g2o_qglviewer.cpp.
void g2o::G2oQGLViewer::setUpdateDisplay | ( | bool | updateDisplay | ) |
Definition at line 140 of file g2o_qglviewer.cpp.
bool g2o::G2oQGLViewer::updateDisplay | ( | ) | const [inline] |
the viewer uses a display list to cache the drawing, use setUpdateDisplay() to force the creation of an updated display list.
Definition at line 44 of file g2o_qglviewer.h.
HyperGraphElementAction* g2o::G2oQGLViewer::_drawActions [protected] |
Definition at line 51 of file g2o_qglviewer.h.
GLuint g2o::G2oQGLViewer::_drawList [protected] |
Definition at line 52 of file g2o_qglviewer.h.
bool g2o::G2oQGLViewer::_updateDisplay [protected] |
Definition at line 53 of file g2o_qglviewer.h.
Definition at line 48 of file g2o_qglviewer.h.