fw4spl
fwRenderQt::Scene2DGraphicsView Class Reference
+ Inheritance diagram for fwRenderQt::Scene2DGraphicsView:
+ Collaboration diagram for fwRenderQt::Scene2DGraphicsView:

Public Member Functions

FWRENDERQT_API Scene2DGraphicsView (QGraphicsScene *scene, QWidget *widget)
 
FWRENDERQT_API void keyPressEvent (QKeyEvent *_event)
 Events.
 
FWRENDERQT_API void keyReleaseEvent (QKeyEvent *_event)
 
FWRENDERQT_API void resizeEvent (QResizeEvent *_event)
 
FWRENDERQT_API void mouseReleaseEvent (QMouseEvent *_event)
 
FWRENDERQT_API void mousePressEvent (QMouseEvent *_event)
 
FWRENDERQT_API void mouseMoveEvent (QMouseEvent *_event)
 
FWRENDERQT_API void mouseDoubleClickEvent (QMouseEvent *_event)
 
FWRENDERQT_API void wheelEvent (QWheelEvent *_event)
 
FWRENDERQT_API void updateFromViewport ()
 
FWRENDERQT_API void setViewport (::fwRenderQt::data::Viewport::sptr viewport)
 
FWRENDERQT_API void setSceneRender (std::shared_ptr< ::fwRenderQt::SRender > sceneRender)
 

Protected Member Functions

::fwRenderQt::data::Event::Button getScene2DButtonFromEvent (QMouseEvent *_event)
 
::fwRenderQt::data::Event::Modifier getScene2DModifierFromEvent (QInputEvent *_event)
 
void paintEvent (QPaintEvent *event)
 

Protected Attributes

::fwRenderQt::data::Viewport::sptr m_viewport
 
std::weak_ptr< ::fwRenderQt::SRenderm_scene2DRender
 

Detailed Description

Definition at line 24 of file Scene2DGraphicsView.hpp.


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