CustusX
15.3.3-beta
An IGT application
|
#include <cxLandmarkRegistrationWidget.h>
Public Member Functions | |
LandmarkRegistrationWidget (RegServices services, QWidget *parent, QString objectName, QString windowTitle) | |
virtual | ~LandmarkRegistrationWidget () |
virtual QString | defaultWhatsThis () const |
Returns a short description of what this widget will do for you. More... | |
Public Member Functions inherited from cx::RegistrationBaseWidget | |
RegistrationBaseWidget (RegServices 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) |
CXFrame * | wrapInFrame (QWidget *base) |
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 () |
Protected Slots | |
virtual void | cellClickedSlot (int row, int column) |
when a landmark i 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 () |
Protected Member Functions | |
virtual void | showEvent (QShowEvent *event) |
updates internal info before showing the widget More... | |
virtual void | hideEvent (QHideEvent *event) |
virtual void | prePaintEvent () |
populates the table widget More... | |
virtual LandmarkMap | getTargetLandmarks () const =0 |
virtual void | performRegistration ()=0 |
virtual Transform3D | getTargetTransform () const =0 |
Return transform from target space to reference space. More... | |
virtual void | setTargetLandmark (QString uid, Vector3D p_target)=0 |
virtual QString | getTargetName () const =0 |
void | setManualToolPosition (Vector3D p_r) |
QString | getNextLandmark () |
void | activateLandmark (QString uid) |
std::vector< Landmark > | getAllLandmarks () const |
get all the landmarks from the image and the datamanager More... | |
QString | getLandmarkName (QString uid) |
double | getAccuracy (QString uid) |
double | getAverageAccuracy () |
Protected Member Functions inherited from cx::OptimizedUpdateWidget | |
virtual void | paintEvent (QPaintEvent *event) |
Protected Attributes | |
QVBoxLayout * | mVerticalLayout |
vertical layout is used More... | |
QTableWidget * | mLandmarkTableWidget |
the table widget presenting the landmarks More... | |
QLabel * | mAvarageAccuracyLabel |
label showing the average accuracy More... | |
QString | mActiveLandmark |
uid of surrently selected landmark. More... | |
Protected Attributes inherited from cx::RegistrationBaseWidget | |
RegServices | mServices |
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... | |
Superclass for Image Registration and Patient Registration
Definition at line 62 of file cxLandmarkRegistrationWidget.h.
cx::LandmarkRegistrationWidget::LandmarkRegistrationWidget | ( | RegServices | services, |
QWidget * | parent, | ||
QString | objectName, | ||
QString | windowTitle | ||
) |
Definition at line 57 of file cxLandmarkRegistrationWidget.cpp.
|
virtual |
Definition at line 69 of file cxLandmarkRegistrationWidget.cpp.
|
protected |
Definition at line 212 of file cxLandmarkRegistrationWidget.cpp.
|
protectedslot |
reacts when the user types in a (landmark) name
Definition at line 256 of file cxLandmarkRegistrationWidget.cpp.
|
protectedvirtualslot |
when a landmark i selected from the table
Definition at line 82 of file cxLandmarkRegistrationWidget.cpp.
|
virtual |
Returns a short description of what this widget will do for you.
Implements cx::BaseWidget.
Reimplemented in cx::LandmarkPatientRegistrationWidget, cx::LandmarkImageRegistrationWidget, cx::LandmarkImage2ImageRegistrationWidget, cx::FastImageRegistrationWidget, cx::FastPatientRegistrationWidget, and cx::PlateImageRegistrationWidget.
Definition at line 73 of file cxLandmarkRegistrationWidget.cpp.
|
protected |
Definition at line 355 of file cxLandmarkRegistrationWidget.cpp.
|
protected |
get all the landmarks from the image and the datamanager
Definition at line 236 of file cxLandmarkRegistrationWidget.cpp.
|
protected |
Definition at line 325 of file cxLandmarkRegistrationWidget.cpp.
|
protected |
|
protected |
Return the next landmark in the series of available landmarks, beginning with the active landmark.
Definition at line 221 of file cxLandmarkRegistrationWidget.cpp.
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
Return transform from target space to reference space.
Implemented in cx::LandmarkImageRegistrationWidget, cx::LandmarkPatientRegistrationWidget, and cx::LandmarkImage2ImageRegistrationWidget.
|
protectedvirtual |
Reimplemented in cx::LandmarkPatientRegistrationWidget, cx::LandmarkImageRegistrationWidget, and cx::LandmarkImage2ImageRegistrationWidget.
Definition at line 132 of file cxLandmarkRegistrationWidget.cpp.
|
protectedslot |
Definition at line 288 of file cxLandmarkRegistrationWidget.cpp.
|
protectedpure virtual |
|
protectedvirtual |
populates the table widget
Reimplemented from cx::OptimizedUpdateWidget.
Reimplemented in cx::LandmarkImageRegistrationWidget, cx::LandmarkPatientRegistrationWidget, and cx::LandmarkImage2ImageRegistrationWidget.
Definition at line 139 of file cxLandmarkRegistrationWidget.cpp.
|
protected |
Definition at line 104 of file cxLandmarkRegistrationWidget.cpp.
|
protectedpure virtual |
|
protectedvirtual |
updates internal info before showing the widget
Reimplemented from cx::BaseWidget.
Reimplemented in cx::LandmarkPatientRegistrationWidget, cx::LandmarkImageRegistrationWidget, and cx::LandmarkImage2ImageRegistrationWidget.
Definition at line 121 of file cxLandmarkRegistrationWidget.cpp.
|
protectedslot |
Definition at line 297 of file cxLandmarkRegistrationWidget.cpp.
|
protected |
uid of surrently selected landmark.
Definition at line 104 of file cxLandmarkRegistrationWidget.h.
|
protected |
label showing the average accuracy
Definition at line 101 of file cxLandmarkRegistrationWidget.h.
|
protected |
the table widget presenting the landmarks
Definition at line 100 of file cxLandmarkRegistrationWidget.h.
|
protected |
vertical layout is used
Definition at line 99 of file cxLandmarkRegistrationWidget.h.