Developer Documentation
SimpleGLGraphicsScene Class Reference

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

Inheritance diagram for SimpleGLGraphicsScene:

Public Member Functions

void setView (glViewer *_view)
 

Protected Member Functions

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

Private Attributes

glViewerview_
 
bool initialized_
 
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 77 of file simpleGLGraphicsScene.hh.

Constructor & Destructor Documentation

◆ SimpleGLGraphicsScene()

SimpleGLGraphicsScene::SimpleGLGraphicsScene ( )

Definition at line 70 of file simpleGLGraphicsScene.cc.

Member Function Documentation

◆ drawBackground()

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

Definition at line 80 of file simpleGLGraphicsScene.cc.

◆ event()

bool SimpleGLGraphicsScene::event ( QEvent *  _event)
protectedvirtual

Definition at line 160 of file simpleGLGraphicsScene.cc.

◆ mouseMoveEvent()

void SimpleGLGraphicsScene::mouseMoveEvent ( QGraphicsSceneMouseEvent *  _e)
protectedvirtual

Definition at line 142 of file simpleGLGraphicsScene.cc.

◆ setView()

void SimpleGLGraphicsScene::setView ( glViewer _view)

Definition at line 152 of file simpleGLGraphicsScene.cc.

Member Data Documentation

◆ cursorPainter_

CursorPainter* SimpleGLGraphicsScene::cursorPainter_
private

Definition at line 101 of file simpleGLGraphicsScene.hh.

◆ initialized_

bool SimpleGLGraphicsScene::initialized_
private

Definition at line 99 of file simpleGLGraphicsScene.hh.

◆ view_

glViewer* SimpleGLGraphicsScene::view_
private

Definition at line 97 of file simpleGLGraphicsScene.hh.


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