g2o
|
OpenGL based viewer for the graph. More...
#include <g2o_qglviewer.h>
Public Member Functions | |
G2oQGLViewer (QWidget *parent=NULL, const QGLWidget *shareWidget=0, Qt::WindowFlags flags=0) | |
~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 , |
||
Qt::WindowFlags | flags = 0 |
||
) |
Definition at line 85 of file g2o_qglviewer.cpp.
References _drawActionParameters.
g2o::G2oQGLViewer::~G2oQGLViewer | ( | ) |
Definition at line 93 of file g2o_qglviewer.cpp.
References _drawActionParameters, and _drawList.
void g2o::G2oQGLViewer::draw | ( | ) |
Definition at line 99 of file g2o_qglviewer.cpp.
References _drawActionParameters, _drawActions, _drawList, _updateDisplay, g2o::HyperGraphActionLibrary::actionByName(), g2o::applyAction(), graph, and g2o::HyperGraphActionLibrary::instance().
void g2o::G2oQGLViewer::init | ( | ) |
|
inline |
Definition at line 48 of file g2o_qglviewer.h.
Referenced by ViewerPropertiesWidget::setViewer().
void g2o::G2oQGLViewer::setUpdateDisplay | ( | bool | updateDisplay | ) |
Definition at line 171 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 45 of file g2o_qglviewer.h.
References updateDisplay().
Referenced by setUpdateDisplay().
|
protected |
Definition at line 57 of file g2o_qglviewer.h.
Referenced by draw(), G2oQGLViewer(), and ~G2oQGLViewer().
|
protected |
Definition at line 54 of file g2o_qglviewer.h.
Referenced by draw().
|
protected |
Definition at line 55 of file g2o_qglviewer.h.
Referenced by draw(), init(), and ~G2oQGLViewer().
|
protected |
Definition at line 56 of file g2o_qglviewer.h.
Referenced by draw(), and setUpdateDisplay().
SparseOptimizer* g2o::G2oQGLViewer::graph |
Definition at line 51 of file g2o_qglviewer.h.
Referenced by draw().