UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-11-21)
|
#include <visp3/ustk_gui/usImageDisplayWidget.h>
Public Slots | |
void | updateFrame (const vpImage< unsigned char > img) |
void | updateFrame (const usImagePreScan2D< unsigned char > img) |
void | updateFrame (const usImagePostScan2D< unsigned char > img) |
Public Member Functions | |
usImageDisplayWidget () | |
~usImageDisplayWidget () | |
void | useScanConversion (bool enable) |
void | resizeEvent (QResizeEvent *event) |
Protected Attributes | |
QLabel * | m_label |
QImage | m_QImage |
QPixmap | m_pixmap |
bool | m_useScanConversion |
usPreScanToPostScan2DConverter | m_scanConverter |
usImagePostScan2D< unsigned char > | m_postScan |
vpImage< unsigned char > | m_image |
Qt widget class for 2D ultrasound image display.
Definition at line 60 of file usImageDisplayWidget.h.
usImageDisplayWidget::usImageDisplayWidget | ( | ) |
usImageDisplayWidget::~usImageDisplayWidget | ( | ) |
void usImageDisplayWidget::resizeEvent | ( | QResizeEvent * | event | ) |
Definition at line 116 of file usImageDisplayWidget.cpp.
References m_label, m_pixmap, and m_QImage.
Referenced by usImageDisplayWidgetQmlOverlay::resizeEvent(), and usImageDisplayWidgetQmlOverlayServoing::resizeEvent().
|
slot |
Slot called to update the ultrasound image to display in case of post-scan image sent.
img | New ultrasound image to display. |
Definition at line 83 of file usImageDisplayWidget.cpp.
References m_image, m_label, m_pixmap, m_QImage, and m_useScanConversion.
|
slot |
Slot called to update the ultrasound image to display for pre-scan.
img | New ultrasound image to display. |
Definition at line 99 of file usImageDisplayWidget.cpp.
References usPreScanToPostScan2DConverter::convert(), m_image, m_label, m_pixmap, m_postScan, m_QImage, m_scanConverter, and m_useScanConversion.
|
slot |
Slot called to update the ultrasound image to display.
img | New ultrasound image to display. |
Definition at line 67 of file usImageDisplayWidget.cpp.
References m_image, m_label, m_pixmap, m_QImage, and m_useScanConversion.
void usImageDisplayWidget::useScanConversion | ( | bool | enable | ) |
Definition at line 128 of file usImageDisplayWidget.cpp.
References m_useScanConversion.
|
protected |
Definition at line 87 of file usImageDisplayWidget.h.
Referenced by updateFrame().
|
protected |
Definition at line 77 of file usImageDisplayWidget.h.
Referenced by resizeEvent(), usImageDisplayWidgetRobotControl::resizeEvent(), usImageDisplayWidgetQmlOverlayServoing::updateFrame(), updateFrame(), usImageDisplayWidgetRobotControl::updateFrame(), usImageDisplayWidget(), usImageDisplayWidgetQmlOverlay::usImageDisplayWidgetQmlOverlay(), usImageDisplayWidgetQmlOverlayServoing::usImageDisplayWidgetQmlOverlayServoing(), and ~usImageDisplayWidget().
|
protected |
Definition at line 81 of file usImageDisplayWidget.h.
Referenced by resizeEvent(), usImageDisplayWidgetRobotControl::resizeEvent(), usImageDisplayWidgetQmlOverlayServoing::updateFrame(), updateFrame(), and usImageDisplayWidgetRobotControl::updateFrame().
|
protected |
Definition at line 86 of file usImageDisplayWidget.h.
Referenced by updateFrame(), usImageDisplayWidgetQmlOverlayServoing::updateFrame(), and usImageDisplayWidgetRobotControl::updateFrame().
|
protected |
Definition at line 80 of file usImageDisplayWidget.h.
Referenced by resizeEvent(), usImageDisplayWidgetRobotControl::resizeEvent(), usImageDisplayWidgetQmlOverlayServoing::updateFrame(), updateFrame(), and usImageDisplayWidgetRobotControl::updateFrame().
|
protected |
Definition at line 85 of file usImageDisplayWidget.h.
Referenced by updateFrame(), usImageDisplayWidgetQmlOverlayServoing::updateFrame(), and usImageDisplayWidgetRobotControl::updateFrame().
|
protected |
Definition at line 84 of file usImageDisplayWidget.h.
Referenced by usImageDisplayWidgetQmlOverlayServoing::updateFrame(), usImageDisplayWidgetRobotControl::updateFrame(), updateFrame(), and useScanConversion().