SOFA plugin: SofaMatrix  master
Open source framework for multi-physics simuation
sofa::gui::qt::BaseMatrixImageViewerGraphScene Class Reference

#include <BaseMatrixImageViewerWidget.h>

A QGraphicsScene showing a QImage. More...

Inheritance diagram for sofa::gui::qt::BaseMatrixImageViewerGraphScene:

Detailed Description

A QGraphicsScene showing a QImage.

Public Member Functions

 BaseMatrixImageViewerGraphScene (QImage *im, QObject *parent=nullptr)
 
void drawBackground (QPainter *painter, const QRectF &rect) override
 

Constructor details

◆ BaseMatrixImageViewerGraphScene()

sofa::gui::qt::BaseMatrixImageViewerGraphScene::BaseMatrixImageViewerGraphScene ( QImage *  im,
QObject parent = nullptr 
)
explicit

Function details

◆ drawBackground()

void sofa::gui::qt::BaseMatrixImageViewerGraphScene::drawBackground ( QPainter *  painter,
const QRectF &  rect 
)
override