CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
#include <cxImageLandmarksWidget.h>
Public Member Functions | |
ImageLandmarksWidget (RegServicesPtr services, QWidget *parent, QString objectName, QString windowTitle, bool useRegistrationFixedPropertyInsteadOfActiveImage=false) | |
sets up layout and connects signals and slots More... | |
virtual | ~ImageLandmarksWidget () |
empty More... | |
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) |
CXFrame * | wrapInFrame (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 Slots | |
void | addLandmarkButtonClickedSlot () |
reacts when the Add Landmark button is clicked More... | |
virtual void | editLandmarkButtonClickedSlot () |
reacts when the Edit Landmark button is clicked More... | |
void | removeLandmarkButtonClickedSlot () |
reacts when the Remove Landmark button is clicked More... | |
void | deleteLandmarksButtonClickedSlot () |
reacts when the Delete Landmarks button is clicked More... | |
void | importPointMetricsToLandmarkButtonClickedSlot () |
virtual void | cellClickedSlot (int row, int column) |
when a landmark is selected from the table More... | |
void | enableButtons () |
void | onCurrentImageChanged () |
void | toggleDetailsSlot () |
virtual void | pointSampled (Vector3D p_r) |
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 Member Functions | |
virtual void | showEvent (QShowEvent *event) |
updates internal info before showing the widget More... | |
virtual void | hideEvent (QHideEvent *event) |
virtual QString | getTargetName () const |
virtual LandmarkMap | getTargetLandmarks () const |
virtual void | setTargetLandmark (QString uid, Vector3D p_target) |
virtual void | performRegistration () |
virtual void | prePaintEvent () |
populates the table widget More... | |
QString | getLandmarkName (QString uid) |
virtual Transform3D | getTargetTransform () const |
PickerRepPtr | getPickerRep () |
void | addLandmark (Vector3D p_r) |
void | resampleLandmark (Vector3D p_r) |
Protected Member Functions inherited from cx::LandmarkRegistrationWidget | |
void | setManualToolPosition (Vector3D p_r) |
QString | getNextLandmark () |
void | activateLandmark (QString uid) |
void | selectFirstLandmarkIfUnselected () |
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 () |
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... | |
Definition at line 45 of file cxImageLandmarksWidget.h.
cx::ImageLandmarksWidget::ImageLandmarksWidget | ( | RegServicesPtr | services, |
QWidget * | parent, | ||
QString | objectName, | ||
QString | windowTitle, | ||
bool | useRegistrationFixedPropertyInsteadOfActiveImage = false |
||
) |
sets up layout and connects signals and slots
Definition at line 45 of file cxImageLandmarksWidget.cpp.
|
virtual |
empty
Definition at line 117 of file cxImageLandmarksWidget.cpp.
|
protected |
Definition at line 177 of file cxImageLandmarksWidget.cpp.
|
protectedslot |
reacts when the Add Landmark button is clicked
Definition at line 165 of file cxImageLandmarksWidget.cpp.
|
protectedvirtualslot |
when a landmark is selected from the table
Definition at line 268 of file cxImageLandmarksWidget.cpp.
|
protectedslot |
reacts when the Delete Landmarks button is clicked
Definition at line 225 of file cxImageLandmarksWidget.cpp.
|
protectedvirtualslot |
reacts when the Edit Landmark button is clicked
Definition at line 189 of file cxImageLandmarksWidget.cpp.
|
protectedslot |
Definition at line 274 of file cxImageLandmarksWidget.cpp.
|
protected |
|
protected |
Definition at line 147 of file cxImageLandmarksWidget.cpp.
|
protectedvirtual |
Implements cx::LandmarkRegistrationWidget.
Definition at line 326 of file cxImageLandmarksWidget.cpp.
|
protectedvirtual |
Implements cx::LandmarkRegistrationWidget.
Definition at line 354 of file cxImageLandmarksWidget.cpp.
|
protectedvirtual |
Return transform from target space to reference space
Implements cx::LandmarkRegistrationWidget.
Definition at line 338 of file cxImageLandmarksWidget.cpp.
|
protectedvirtual |
Reimplemented from cx::LandmarkRegistrationWidget.
Definition at line 307 of file cxImageLandmarksWidget.cpp.
|
protectedslot |
Definition at line 236 of file cxImageLandmarksWidget.cpp.
|
protectedslot |
Definition at line 121 of file cxImageLandmarksWidget.cpp.
|
inlineprotectedvirtual |
Implements cx::LandmarkRegistrationWidget.
Reimplemented in cx::FastImageRegistrationWidget, and cx::PlateImageRegistrationWidget.
Definition at line 73 of file cxImageLandmarksWidget.h.
|
protectedvirtualslot |
Definition at line 158 of file cxImageLandmarksWidget.cpp.
|
protectedvirtual |
populates the table widget
Reimplemented from cx::LandmarkRegistrationWidget.
Definition at line 314 of file cxImageLandmarksWidget.cpp.
|
protectedslot |
reacts when the Remove Landmark button is clicked
Definition at line 214 of file cxImageLandmarksWidget.cpp.
|
protected |
Definition at line 202 of file cxImageLandmarksWidget.cpp.
|
protectedvirtual |
Implements cx::LandmarkRegistrationWidget.
Definition at line 346 of file cxImageLandmarksWidget.cpp.
|
protectedvirtual |
updates internal info before showing the widget
Reimplemented from cx::LandmarkRegistrationWidget.
Definition at line 293 of file cxImageLandmarksWidget.cpp.
|
protectedslot |
Definition at line 134 of file cxImageLandmarksWidget.cpp.
|
protected |
Definition at line 85 of file cxImageLandmarksWidget.h.
|
protected |
the Add Landmark button
Definition at line 87 of file cxImageLandmarksWidget.h.
|
protected |
Definition at line 84 of file cxImageLandmarksWidget.h.
|
protected |
the Delete Landmarks button
Definition at line 90 of file cxImageLandmarksWidget.h.
|
protected |
Definition at line 92 of file cxImageLandmarksWidget.h.
|
protected |
the Edit Landmark button
Definition at line 88 of file cxImageLandmarksWidget.h.
|
protected |
the Import Landmarks button
Definition at line 91 of file cxImageLandmarksWidget.h.
|
protected |
the Remove Landmark button
Definition at line 89 of file cxImageLandmarksWidget.h.