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

#include <visp3/ustk_gui/usImageDisplayWidgetRobotControl.h>

+ Inheritance diagram for usImageDisplayWidgetRobotControl:

Public Slots

void updateFrame (const vpImage< unsigned char > img)
 
void updateFrame (const usImagePreScan2D< unsigned char > img)
 
void updateConfidenceServoingStatus (bool)
 
void updateConfidenceAngle (double sanline)
 
void updateConfidenceMap (usImagePreScan2D< unsigned char > confidence)
 
void updateFrame (const usImagePostScan2D< unsigned char > img)
 

Signals

void moveLeft ()
 
void moveRight ()
 
void stopMove ()
 
void confidenceServoing (bool)
 

Public Member Functions

 usImageDisplayWidgetRobotControl ()
 
 ~usImageDisplayWidgetRobotControl ()
 
void enableControlArrows ()
 
void enableFeaturesDisplay ()
 
void disableControlArrows ()
 
void disableFeaturesDisplay ()
 
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
 

Detailed Description

Qt widget class for 2D ultrasound image display, containing robot control tools.

Examples
tutorial-local-grabbing-pre-scan2D-display.cpp, and tutorial-robot-control-gui.cpp.

Definition at line 60 of file usImageDisplayWidgetRobotControl.h.

Constructor & Destructor Documentation

◆ usImageDisplayWidgetRobotControl()

usImageDisplayWidgetRobotControl::usImageDisplayWidgetRobotControl ( )

◆ ~usImageDisplayWidgetRobotControl()

usImageDisplayWidgetRobotControl::~usImageDisplayWidgetRobotControl ( )

Destructor.

Definition at line 88 of file usImageDisplayWidgetRobotControl.cpp.

Member Function Documentation

◆ confidenceServoing

void usImageDisplayWidgetRobotControl::confidenceServoing ( bool  )
signal

◆ disableControlArrows()

void usImageDisplayWidgetRobotControl::disableControlArrows ( )

Definition at line 170 of file usImageDisplayWidgetRobotControl.cpp.

◆ disableFeaturesDisplay()

void usImageDisplayWidgetRobotControl::disableFeaturesDisplay ( )

Definition at line 206 of file usImageDisplayWidgetRobotControl.cpp.

◆ enableControlArrows()

void usImageDisplayWidgetRobotControl::enableControlArrows ( )

◆ enableFeaturesDisplay()

void usImageDisplayWidgetRobotControl::enableFeaturesDisplay ( )

◆ moveLeft

void usImageDisplayWidgetRobotControl::moveLeft ( )
signal

◆ moveRight

void usImageDisplayWidgetRobotControl::moveRight ( )
signal

◆ resizeEvent()

void usImageDisplayWidgetRobotControl::resizeEvent ( QResizeEvent *  event)

◆ stopMove

void usImageDisplayWidgetRobotControl::stopMove ( )
signal

◆ updateConfidenceAngle

void usImageDisplayWidgetRobotControl::updateConfidenceAngle ( double  sanline)
slot

◆ updateConfidenceMap

void usImageDisplayWidgetRobotControl::updateConfidenceMap ( usImagePreScan2D< unsigned char >  confidence)
slot

Definition at line 227 of file usImageDisplayWidgetRobotControl.cpp.

◆ updateConfidenceServoingStatus

void usImageDisplayWidgetRobotControl::updateConfidenceServoingStatus ( bool  activate)
slot

◆ updateFrame [1/3]

void usImageDisplayWidget::updateFrame ( const usImagePostScan2D< unsigned char >  img)
slotinherited

Slot called to update the ultrasound image to display in case of post-scan image sent.

Parameters
imgNew 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.

◆ updateFrame [2/3]

void usImageDisplayWidgetRobotControl::updateFrame ( const usImagePreScan2D< unsigned char >  img)
slot

◆ updateFrame [3/3]

void usImageDisplayWidgetRobotControl::updateFrame ( const vpImage< unsigned char >  img)
slot

Slot called to update the ultrasound image to display.

Parameters
imgNew ultrasound image to display.
Examples
tutorial-local-grabbing-pre-scan2D-display.cpp.

Definition at line 94 of file usImageDisplayWidgetRobotControl.cpp.

References enableControlArrows(), usImageDisplayWidget::m_label, usImageDisplayWidget::m_pixmap, and usImageDisplayWidget::m_QImage.

◆ useScanConversion()

void usImageDisplayWidget::useScanConversion ( bool  enable)
inherited

Member Data Documentation

◆ m_image

vpImage<unsigned char> usImageDisplayWidget::m_image
protectedinherited

Definition at line 87 of file usImageDisplayWidget.h.

Referenced by usImageDisplayWidget::updateFrame().

◆ m_label

◆ m_pixmap

QPixmap usImageDisplayWidget::m_pixmap
protectedinherited

◆ m_postScan

usImagePostScan2D<unsigned char> usImageDisplayWidget::m_postScan
protectedinherited

◆ m_QImage

QImage usImageDisplayWidget::m_QImage
protectedinherited

◆ m_scanConverter

usPreScanToPostScan2DConverter usImageDisplayWidget::m_scanConverter
protectedinherited

◆ m_useScanConversion

bool usImageDisplayWidget::m_useScanConversion
protectedinherited