Developer Documentation
|
#include <OpenFlipper/widgets/glWidget/simpleViewer.hh>
Public Member Functions | |
SimpleViewer (QWidget *_parent=NULL, bool useDefaultSceneGraph=true) | |
Constructor. | |
~SimpleViewer () | |
Destructor. | |
Viewer::ViewerProperties & | properties () |
Viewer properties. | |
glViewer * | viewer () |
Viewer. | |
void | setSceneGraph (ACG::SceneGraph::BaseNode *rootNode) |
Protected Member Functions | |
virtual void | resizeEvent (QResizeEvent *_event) |
Private Slots | |
void | setActionMode (const Viewer::ActionMode _am) |
void | getActionMode (Viewer::ActionMode &_am) |
void | getPickMode (std::string &_name) |
Private Member Functions | |
void | initialize (const QGLFormat &_format, QGLWidget *_shareWidget=NULL, bool useDefaultSceneGraph=true) |
Private Attributes | |
QGLWidget * | glWidget_ |
Viewer::ViewerProperties | props_ |
SimpleGLGraphicsScene * | scene_ |
glViewer * | mainWidget_ |
Viewer::ActionMode | actionMode_ |
Simple scene graph viewer. Plugins can use this class to display the scenegraph in own widgets. SimpleViewer acts as a bridge between the normal Qt widget system and the QtGraphicsWidget based glViewer (OpenFlipper/widgets/glWidget/QtBaseViewer.hh).
Definition at line 85 of file simpleViewer.hh.