|
g2o
|
OpenGL based viewer for the graph. More...
#include <g2o_qglviewer.h>


Public Member Functions | |
| G2oQGLViewer (QWidget *parent=NULL, const QGLWidget *shareWidget=0) | |
| G2oQGLViewer (const G2oQGLViewer &)=delete | |
| G2oQGLViewer & | operator= (const G2oQGLViewer &)=delete |
| ~G2oQGLViewer () | |
| void | draw () |
| void | init () |
| bool | updateDisplay () const |
| void | setUpdateDisplay (bool updateDisplay) |
| DrawAction::Parameters * | parameters () |
Public Attributes | |
| SparseOptimizer * | graph |
Protected Attributes | |
| HyperGraphElementAction * | _drawActions |
| GLuint | _drawList |
| bool | _updateDisplay |
| DrawAction::Parameters * | _drawActionParameters |
OpenGL based viewer for the graph.
Definition at line 33 of file g2o_qglviewer.h.
| g2o::G2oQGLViewer::G2oQGLViewer | ( | QWidget * | parent = NULL, |
| const QGLWidget * | shareWidget = 0 |
||
| ) |
Definition at line 88 of file g2o_qglviewer.cpp.
References _drawActionParameters.
|
delete |
| g2o::G2oQGLViewer::~G2oQGLViewer | ( | ) |
Definition at line 98 of file g2o_qglviewer.cpp.
References _drawActionParameters, and _drawList.
| void g2o::G2oQGLViewer::draw | ( | ) |
Definition at line 103 of file g2o_qglviewer.cpp.
References _drawActionParameters, _drawActions, _drawList, _updateDisplay, g2o::HyperGraphActionLibrary::actionByName(), g2o::applyAction(), graph, and g2o::HyperGraphActionLibrary::instance().
| void g2o::G2oQGLViewer::init | ( | ) |
Definition at line 123 of file g2o_qglviewer.cpp.
References _drawList.
|
delete |
|
inline |
| void g2o::G2oQGLViewer::setUpdateDisplay | ( | bool | updateDisplay | ) |
Definition at line 172 of file g2o_qglviewer.cpp.
References _updateDisplay, and updateDisplay().
Referenced by ViewerPropertiesWidget::applyProperties(), and g2o::GuiHyperGraphAction::operator()().
|
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 47 of file g2o_qglviewer.h.
Referenced by setUpdateDisplay().
|
protected |
Definition at line 59 of file g2o_qglviewer.h.
Referenced by draw(), G2oQGLViewer(), and ~G2oQGLViewer().
|
protected |
Definition at line 56 of file g2o_qglviewer.h.
Referenced by draw().
|
protected |
Definition at line 57 of file g2o_qglviewer.h.
Referenced by draw(), init(), and ~G2oQGLViewer().
|
protected |
Definition at line 58 of file g2o_qglviewer.h.
Referenced by draw(), and setUpdateDisplay().
| SparseOptimizer* g2o::G2oQGLViewer::graph |
Definition at line 53 of file g2o_qglviewer.h.
Referenced by draw().