CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::FastLandmarkPatientRegistrationWidget Class Reference

#include <cxFastLandmarkPatientRegistrationWidget.h>

Inheritance diagram for cx::FastLandmarkPatientRegistrationWidget:
cx::LandmarkPatientRegistrationWidget cx::LandmarkRegistrationWidget cx::RegistrationBaseWidget cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 FastLandmarkPatientRegistrationWidget (RegServicesPtr services, QWidget *parent, QString objectName, QString windowTitle)
 
- Public Member Functions inherited from cx::LandmarkPatientRegistrationWidget
 LandmarkPatientRegistrationWidget (RegServicesPtr services, QWidget *parent, QString objectName, QString windowTitle)
 
- Public Member Functions inherited from cx::LandmarkRegistrationWidget
 LandmarkRegistrationWidget (RegServicesPtr services, QWidget *parent, QString objectName, QString windowTitle, bool showAccuracy=true)
 
virtual ~LandmarkRegistrationWidget ()
 
- Public Member Functions inherited from cx::RegistrationBaseWidget
 RegistrationBaseWidget (RegServicesPtr services, QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~RegistrationBaseWidget ()
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Protected Member Functions

virtual void performRegistration ()
 
- Protected Member Functions inherited from cx::LandmarkPatientRegistrationWidget
virtual void showEvent (QShowEvent *event)
 updates internal info before showing the widget More...
 
virtual void hideEvent (QHideEvent *event)
 
virtual LandmarkMap getTargetLandmarks () const
 
virtual Transform3D getTargetTransform () const
 Return transform from target space to reference space. More...
 
virtual void setTargetLandmark (QString uid, Vector3D p_target)
 
virtual QString getTargetName () const
 
- Protected Member Functions inherited from cx::LandmarkRegistrationWidget
virtual void prePaintEvent ()
 populates the table widget More...
 
void setManualToolPosition (Vector3D p_r)
 
QString getNextLandmark ()
 
void activateLandmark (QString uid)
 
void selectFirstLandmarkIfUnselected ()
 
std::vector< LandmarkgetAllLandmarks () const
 get all the landmarks from the image and the datamanager More...
 
QString getLandmarkName (QString uid)
 
double getAccuracy (QString uid)
 
double getAverageAccuracy ()
 
QTableWidgetItem * getLandmarkTableItem ()
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void paintEvent (QPaintEvent *event)
 

Additional Inherited Members

- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 
- Protected Slots inherited from cx::LandmarkPatientRegistrationWidget
void registerSlot ()
 
- Protected Slots inherited from cx::LandmarkRegistrationWidget
virtual void cellClickedSlot (int row, int column)
 when a landmark is selected from the table More...
 
void cellChangedSlot (int row, int column)
 reacts when the user types in a (landmark) name More...
 
void landmarkUpdatedSlot ()
 
void updateAverageAccuracyLabel ()
 
void mouseClickSampleStateChanged ()
 
virtual void pointSampled (Vector3D p_r)
 
- Protected Attributes inherited from cx::LandmarkRegistrationWidget
QVBoxLayout * mVerticalLayout
 vertical layout is used More...
 
QTableWidget * mLandmarkTableWidget
 the table widget presenting the landmarks More...
 
QLabel * mAvarageAccuracyLabel
 label showing the average accuracy More...
 
QCheckBox * mMouseClickSample
 
QString mActiveLandmark
 uid of currently selected landmark. More...
 
LandmarkListenerPtr mLandmarkListener
 
bool mShowAccuracy
 
- Protected Attributes inherited from cx::RegistrationBaseWidget
RegServicesPtr mServices
 

Detailed Description

Definition at line 41 of file cxFastLandmarkPatientRegistrationWidget.h.

Constructor & Destructor Documentation

cx::FastLandmarkPatientRegistrationWidget::FastLandmarkPatientRegistrationWidget ( RegServicesPtr  services,
QWidget *  parent,
QString  objectName,
QString  windowTitle 
)

Definition at line 38 of file cxFastLandmarkPatientRegistrationWidget.cpp.

Member Function Documentation

void cx::FastLandmarkPatientRegistrationWidget::performRegistration ( )
protectedvirtual

The documentation for this class was generated from the following files: