UsTK : Ultrasound ToolKit  version 2.0.1 under development (2024-12-17)

#include <visp3/ustk_gui/usViewerWidget.h>

+ Inheritance diagram for usViewerWidget:

Public Member Functions

 usViewerWidget (QWidget *parent=NULL, Qt::WindowFlags f=Qt::WindowFlags())
 
virtual ~usViewerWidget ()
 
void paintEvent (QPaintEvent *event)
 

Detailed Description

View used to render a vtk scene in a QWidget (based on QVTKWidget for Qt4, QVTKOpenGLWidget for Qt5)

Definition at line 72 of file usViewerWidget.h.

Constructor & Destructor Documentation

◆ usViewerWidget()

usViewerWidget::usViewerWidget ( QWidget *  parent = NULL,
Qt::WindowFlags  f = Qt::WindowFlags() 
)

Constructor.

Definition at line 56 of file usViewerWidget.cpp.

◆ ~usViewerWidget()

usViewerWidget::~usViewerWidget ( )
virtual

Definition at line 61 of file usViewerWidget.cpp.

Member Function Documentation

◆ paintEvent()

void usViewerWidget::paintEvent ( QPaintEvent *  event)

Qt paint event overload if needed to update Qt widget

Parameters
eventQPAintEvent.

Definition at line 68 of file usViewerWidget.cpp.

Referenced by us2DSceneWidget::paintEvent(), us3DSceneWidget::paintEvent(), usMeshDeformation::paintEvent(), and usVirtualNeedle::paintEvent().