UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-11-21)
|
#include <visp3/ustk_gui/usImageDisplayWidgetQmlOverlayServoing.h>
Public Slots | |
void | enableFeaturesDisplay () |
void | disableFeaturesDisplay () |
void | updateRectPosition (vpRectOriented newRectangle) |
void | updateConfidenceAngle (double scanline) |
void | updateConfidenceMap (usImagePreScan2D< unsigned char > confidence) |
void | updateFrame (const usImagePreScan2D< unsigned char > img) |
void | updateXError (double error) |
void | startTrackingSlot () |
void | updateFrame (const vpImage< unsigned char > img) |
void | updateFrame (const usImagePostScan2D< unsigned char > img) |
Signals | |
void | startTrackingRect (vpRectOriented) |
void | stopTrackingRect () |
void | startServoingRect () |
void | stopServoingRect () |
Public Member Functions | |
usImageDisplayWidgetQmlOverlayServoing () | |
~usImageDisplayWidgetQmlOverlayServoing () | |
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 for visual servoing on a rectangular ROI.
Definition at line 65 of file usImageDisplayWidgetQmlOverlayServoing.h.
usImageDisplayWidgetQmlOverlayServoing::usImageDisplayWidgetQmlOverlayServoing | ( | ) |
Constructor.
Definition at line 48 of file usImageDisplayWidgetQmlOverlayServoing.cpp.
References usImageDisplayWidget::m_label, startServoingRect(), startTrackingSlot(), stopServoingRect(), and stopTrackingRect().
usImageDisplayWidgetQmlOverlayServoing::~usImageDisplayWidgetQmlOverlayServoing | ( | ) |
Destructor.
Definition at line 79 of file usImageDisplayWidgetQmlOverlayServoing.cpp.
|
slot |
Definition at line 276 of file usImageDisplayWidgetQmlOverlayServoing.cpp.
|
slot |
Definition at line 260 of file usImageDisplayWidgetQmlOverlayServoing.cpp.
void usImageDisplayWidgetQmlOverlayServoing::resizeEvent | ( | QResizeEvent * | event | ) |
Definition at line 81 of file usImageDisplayWidgetQmlOverlayServoing.cpp.
References usImageDisplayWidget::resizeEvent().
|
signal |
Referenced by usImageDisplayWidgetQmlOverlayServoing().
|
signal |
Referenced by startTrackingSlot().
|
slot |
Start tacking slot. Gets the actual position of the displayed rectangle, and transmits it unsing startTracking signal (expressed in real image dimentions).
Definition at line 244 of file usImageDisplayWidgetQmlOverlayServoing.cpp.
References startTrackingRect().
Referenced by usImageDisplayWidgetQmlOverlayServoing().
|
signal |
Referenced by usImageDisplayWidgetQmlOverlayServoing().
|
signal |
Referenced by usImageDisplayWidgetQmlOverlayServoing().
|
slot |
Definition at line 278 of file usImageDisplayWidgetQmlOverlayServoing.cpp.
References usTransducerSettings::getFieldOfView(), and usTransducerSettings::getScanLinePitch().
|
slot |
Definition at line 297 of file usImageDisplayWidgetQmlOverlayServoing.cpp.
|
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.
|
slot |
Slot called to update the ultrasound image to display for pre-scan.
img | New ultrasound image to display. |
Definition at line 103 of file usImageDisplayWidgetQmlOverlayServoing.cpp.
References usPreScanToPostScan2DConverter::convert(), 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 226 of file usImageDisplayWidgetQmlOverlayServoing.cpp.
|
slot |
Definition at line 302 of file usImageDisplayWidgetQmlOverlayServoing.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(), updateFrame(), usImageDisplayWidget::updateFrame(), usImageDisplayWidgetRobotControl::updateFrame(), usImageDisplayWidget::usImageDisplayWidget(), usImageDisplayWidgetQmlOverlay::usImageDisplayWidgetQmlOverlay(), usImageDisplayWidgetQmlOverlayServoing(), and usImageDisplayWidget::~usImageDisplayWidget().
|
protectedinherited |
Definition at line 81 of file usImageDisplayWidget.h.
Referenced by usImageDisplayWidget::resizeEvent(), usImageDisplayWidgetRobotControl::resizeEvent(), updateFrame(), usImageDisplayWidget::updateFrame(), and usImageDisplayWidgetRobotControl::updateFrame().
|
protectedinherited |
Definition at line 86 of file usImageDisplayWidget.h.
Referenced by usImageDisplayWidget::updateFrame(), updateFrame(), and usImageDisplayWidgetRobotControl::updateFrame().
|
protectedinherited |
Definition at line 80 of file usImageDisplayWidget.h.
Referenced by usImageDisplayWidget::resizeEvent(), usImageDisplayWidgetRobotControl::resizeEvent(), updateFrame(), usImageDisplayWidget::updateFrame(), and usImageDisplayWidgetRobotControl::updateFrame().
|
protectedinherited |
Definition at line 85 of file usImageDisplayWidget.h.
Referenced by usImageDisplayWidget::updateFrame(), updateFrame(), and usImageDisplayWidgetRobotControl::updateFrame().
|
protectedinherited |
Definition at line 84 of file usImageDisplayWidget.h.
Referenced by updateFrame(), usImageDisplayWidgetRobotControl::updateFrame(), usImageDisplayWidget::updateFrame(), and usImageDisplayWidget::useScanConversion().