Developer Documentation
QtGLGraphicsScene Class Reference

#include <OpenFlipper/widgets/glWidget/QtGLGraphicsScene.hh>

Inheritance diagram for QtGLGraphicsScene:

Public Member Functions

 QtGLGraphicsScene (std::vector< glViewer * > *_views, QtMultiViewLayout *_layout)
 
void setCursorPainter (CursorPainter *_cursorPainter)
 

Protected Member Functions

virtual void drawBackground (QPainter *_painter, const QRectF &_rect)
 
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *_e)
 
virtual bool event (QEvent *_event)
 

Private Member Functions

glViewerfindView (const QPointF &_p, bool _setActive=false)
 

Private Attributes

std::vector< glViewer * > * views_
 
QtMultiViewLayoutlayout_
 
CursorPaintercursorPainter_
 

Detailed Description

OpenGL drawing area and widget scene – for internal use only. The scene basically redirects calls to a ACG::QtWidgets::glViewer, the corresponding virtual methods there are prefixed with gl.

See also
ACG::QtWidgets::glViewer

Definition at line 81 of file QtGLGraphicsScene.hh.

Constructor & Destructor Documentation

◆ QtGLGraphicsScene()

QtGLGraphicsScene::QtGLGraphicsScene ( std::vector< glViewer * > *  _views,
QtMultiViewLayout _layout 
)

Definition at line 69 of file QtGLGraphicsScene.cc.

Member Function Documentation

◆ drawBackground()

void QtGLGraphicsScene::drawBackground ( QPainter *  _painter,
const QRectF &  _rect 
)
protectedvirtual

Definition at line 80 of file QtGLGraphicsScene.cc.

◆ event()

bool QtGLGraphicsScene::event ( QEvent *  _event)
protectedvirtual

Definition at line 221 of file QtGLGraphicsScene.cc.

◆ findView()

glViewer * QtGLGraphicsScene::findView ( const QPointF &  _p,
bool  _setActive = false 
)
private

Definition at line 180 of file QtGLGraphicsScene.cc.

◆ mouseMoveEvent()

void QtGLGraphicsScene::mouseMoveEvent ( QGraphicsSceneMouseEvent *  _e)
protectedvirtual

Definition at line 199 of file QtGLGraphicsScene.cc.

◆ setCursorPainter()

void QtGLGraphicsScene::setCursorPainter ( CursorPainter _cursorPainter)

Definition at line 214 of file QtGLGraphicsScene.cc.

Member Data Documentation

◆ cursorPainter_

CursorPainter* QtGLGraphicsScene::cursorPainter_
private

Definition at line 106 of file QtGLGraphicsScene.hh.

◆ layout_

QtMultiViewLayout* QtGLGraphicsScene::layout_
private

Definition at line 104 of file QtGLGraphicsScene.hh.

◆ views_

std::vector< glViewer *>* QtGLGraphicsScene::views_
private

Definition at line 103 of file QtGLGraphicsScene.hh.


The documentation for this class was generated from the following files: