UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-11-21)
|
#include <visp3/ustk_gui/usImageDisplayWidgetQmlOverlay.h>
Public Slots | |
void | updateRectPosition (vpRectOriented newRectangle) |
void | startTrackingSlot () |
void | updateFrame (const vpImage< unsigned char > img) |
void | updateFrame (const usImagePreScan2D< unsigned char > img) |
void | updateFrame (const usImagePostScan2D< unsigned char > img) |
Signals | |
void | startTracking (vpRectOriented) |
void | stopTracking () |
Public Member Functions | |
usImageDisplayWidgetQmlOverlay () | |
~usImageDisplayWidgetQmlOverlay () | |
void | resizeEvent (QResizeEvent *event) |
void | useScanConversion (bool enable) |
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, containing robot control tools.
Definition at line 58 of file usImageDisplayWidgetQmlOverlay.h.
usImageDisplayWidgetQmlOverlay::usImageDisplayWidgetQmlOverlay | ( | ) |
Constructor.
Definition at line 48 of file usImageDisplayWidgetQmlOverlay.cpp.
References usImageDisplayWidget::m_label, startTracking(), startTrackingSlot(), and stopTracking().
usImageDisplayWidgetQmlOverlay::~usImageDisplayWidgetQmlOverlay | ( | ) |
Destructor.
Definition at line 70 of file usImageDisplayWidgetQmlOverlay.cpp.
void usImageDisplayWidgetQmlOverlay::resizeEvent | ( | QResizeEvent * | event | ) |
Definition at line 72 of file usImageDisplayWidgetQmlOverlay.cpp.
References usImageDisplayWidget::resizeEvent().
|
signal |
Referenced by startTrackingSlot(), and usImageDisplayWidgetQmlOverlay().
|
slot |
Start tacking slot. Gets the actual position of the displayed rectangle, and transmits it unsing startTracking signal.
Definition at line 192 of file usImageDisplayWidgetQmlOverlay.cpp.
References startTracking().
Referenced by usImageDisplayWidgetQmlOverlay().
|
signal |
Referenced by usImageDisplayWidgetQmlOverlay().
|
slotinherited |
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 usImageDisplayWidget::m_image, usImageDisplayWidget::m_label, usImageDisplayWidget::m_pixmap, usImageDisplayWidget::m_QImage, and usImageDisplayWidget::m_useScanConversion.
|
slotinherited |
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(), usImageDisplayWidget::m_image, usImageDisplayWidget::m_label, usImageDisplayWidget::m_pixmap, usImageDisplayWidget::m_postScan, usImageDisplayWidget::m_QImage, usImageDisplayWidget::m_scanConverter, and usImageDisplayWidget::m_useScanConversion.
|
slotinherited |
Slot called to update the ultrasound image to display.
img | New ultrasound image to display. |
Definition at line 67 of file usImageDisplayWidget.cpp.
References usImageDisplayWidget::m_image, usImageDisplayWidget::m_label, usImageDisplayWidget::m_pixmap, usImageDisplayWidget::m_QImage, and usImageDisplayWidget::m_useScanConversion.
|
slot |
Update rectangle position slot.
newRectangle | New rectangle, expressed in real image dimensions. |
Definition at line 175 of file usImageDisplayWidgetQmlOverlay.cpp.
|
inherited |
Definition at line 128 of file usImageDisplayWidget.cpp.
References usImageDisplayWidget::m_useScanConversion.
|
protectedinherited |
Definition at line 87 of file usImageDisplayWidget.h.
Referenced by usImageDisplayWidget::updateFrame().
|
protectedinherited |
Definition at line 77 of file usImageDisplayWidget.h.
Referenced by usImageDisplayWidget::resizeEvent(), usImageDisplayWidgetRobotControl::resizeEvent(), usImageDisplayWidgetQmlOverlayServoing::updateFrame(), usImageDisplayWidget::updateFrame(), usImageDisplayWidgetRobotControl::updateFrame(), usImageDisplayWidget::usImageDisplayWidget(), usImageDisplayWidgetQmlOverlay(), usImageDisplayWidgetQmlOverlayServoing::usImageDisplayWidgetQmlOverlayServoing(), and usImageDisplayWidget::~usImageDisplayWidget().
|
protectedinherited |
|
protectedinherited |
Definition at line 86 of file usImageDisplayWidget.h.
Referenced by usImageDisplayWidget::updateFrame(), usImageDisplayWidgetQmlOverlayServoing::updateFrame(), and usImageDisplayWidgetRobotControl::updateFrame().
|
protectedinherited |
|
protectedinherited |
Definition at line 85 of file usImageDisplayWidget.h.
Referenced by usImageDisplayWidget::updateFrame(), usImageDisplayWidgetQmlOverlayServoing::updateFrame(), and usImageDisplayWidgetRobotControl::updateFrame().
|
protectedinherited |
Definition at line 84 of file usImageDisplayWidget.h.
Referenced by usImageDisplayWidgetQmlOverlayServoing::updateFrame(), usImageDisplayWidgetRobotControl::updateFrame(), usImageDisplayWidget::updateFrame(), and usImageDisplayWidget::useScanConversion().