Gui::GraphicsScene Class Reference

#include <GLGraphicsView.h>

Public Member Functions

void addStateMachine (SoScXMLStateMachine *statemachine)
 
void drawBackground (QPainter *painter, const QRectF &rect)
 
SceneEventFiltergetEventFilter (void) const
 
SoNodegetSceneGraph () const
 
SoEventManager * getSoEventManager (void) const
 
SoRenderManager * getSoRenderManager (void) const
 
 GraphicsScene ()
 
bool processSoEvent (const SoEvent *event)
 
void removeStateMachine (SoScXMLStateMachine *statemachine)
 
void setBackgroundColor (const QColor &)
 
void setNavigationModeFile (const QUrl &)
 
void setSceneGraph (SoNode *node)
 
void viewAll ()
 
virtual ~GraphicsScene ()
 

Protected Member Functions

void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 
void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
void wheelEvent (QGraphicsSceneWheelEvent *wheelEvent)
 

Constructor & Destructor Documentation

◆ GraphicsScene()

GraphicsScene::GraphicsScene ( )

◆ ~GraphicsScene()

GraphicsScene::~GraphicsScene ( )
virtual

Member Function Documentation

◆ addStateMachine()

void GraphicsScene::addStateMachine ( SoScXMLStateMachine *  statemachine)

◆ drawBackground()

void GraphicsScene::drawBackground ( QPainter *  painter,
const QRectF &  rect 
)

◆ getEventFilter()

SceneEventFilter * GraphicsScene::getEventFilter ( void  ) const

◆ getSceneGraph()

SoNode * GraphicsScene::getSceneGraph ( ) const

Referenced by addStateMachine().

◆ getSoEventManager()

SoEventManager * GraphicsScene::getSoEventManager ( void  ) const

◆ getSoRenderManager()

SoRenderManager * GraphicsScene::getSoRenderManager ( void  ) const

Referenced by addStateMachine().

◆ mouseMoveEvent()

void GraphicsScene::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
protected

◆ mousePressEvent()

void GraphicsScene::mousePressEvent ( QGraphicsSceneMouseEvent *  event)
protected

◆ mouseReleaseEvent()

void GraphicsScene::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
protected

◆ processSoEvent()

bool GraphicsScene::processSoEvent ( const SoEvent event)

◆ removeStateMachine()

void GraphicsScene::removeStateMachine ( SoScXMLStateMachine *  statemachine)

References getSoEventManager().

◆ setBackgroundColor()

void GraphicsScene::setBackgroundColor ( const QColor &  color)

◆ setNavigationModeFile()

void GraphicsScene::setNavigationModeFile ( const QUrl &  url)

◆ setSceneGraph()

void GraphicsScene::setSceneGraph ( SoNode node)

◆ viewAll()

void GraphicsScene::viewAll ( )

◆ wheelEvent()

void GraphicsScene::wheelEvent ( QGraphicsSceneWheelEvent *  wheelEvent)
protected

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