51 #ifndef SIMPLEVIEWER_HH
52 #define SIMPLEVIEWER_HH
64 #include <QGraphicsView>
91 SimpleViewer(QWidget* _parent = NULL,
bool useDefaultSceneGraph =
true);
106 virtual void resizeEvent(QResizeEvent *_event);
110 void initialize (
const QGLFormat &_format, QGLWidget *_shareWidget = NULL,
bool useDefaultSceneGraph =
true);
115 void setActionMode(
const Viewer::ActionMode _am);
116 void getActionMode(Viewer::ActionMode& _am);
119 void getPickMode(std::string& _name);
122 QGLWidget *glWidget_;
129 Viewer::ActionMode actionMode_;