Fraxinus  16.5.0-fx-rc6
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::PlateImageRegistrationWidget Class Reference

#include <cxPlateImageRegistrationWidget.h>

Inheritance diagram for cx::PlateImageRegistrationWidget:
cx::FastImageRegistrationWidget cx::ImageLandmarksWidget cx::LandmarkRegistrationWidget cx::RegistrationBaseWidget cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 PlateImageRegistrationWidget (RegServicesPtr services, QWidget *parent)
 
virtual ~PlateImageRegistrationWidget ()
 
- Public Member Functions inherited from cx::FastImageRegistrationWidget
 FastImageRegistrationWidget (RegServicesPtr services, QWidget *parent, QString objectName, QString windowTitle, bool useRegistrationFixedPropertyInsteadOfActiveImage=false)
 
virtual ~FastImageRegistrationWidget ()
 
- Public Member Functions inherited from cx::ImageLandmarksWidget
 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)
 
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 Slots

virtual void editLandmarkButtonClickedSlot ()
 
- Protected Slots inherited from cx::ImageLandmarksWidget
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...
 
virtual void cellClickedSlot (int row, int column)
 when a landmark is selected from the table More...
 
void enableButtons ()
 
void onCurrentImageChanged ()
 
- 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 ()
 

Protected Member Functions

virtual void performRegistration ()
 
- Protected Member Functions inherited from cx::ImageLandmarksWidget
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 prePaintEvent ()
 populates the table widget More...
 
QString getLandmarkName (QString uid)
 
virtual Transform3D getTargetTransform () const
 
PickerRepPtr getPickerRep ()
 
- Protected Member Functions inherited from cx::LandmarkRegistrationWidget
void setManualToolPosition (Vector3D p_r)
 
QString getNextLandmark ()
 
void activateLandmark (QString uid)
 
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 ()
 
- 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 Attributes inherited from cx::ImageLandmarksWidget
SelectDataStringPropertyBasePtr mCurrentProperty
 
ActiveToolProxyPtr mActiveToolProxy
 
QPushButton * mAddLandmarkButton
 the Add Landmark button More...
 
QPushButton * mEditLandmarkButton
 the Edit Landmark button More...
 
QPushButton * mRemoveLandmarkButton
 the Remove Landmark button More...
 
- 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...
 
QString mActiveLandmark
 uid of surrently selected landmark. More...
 
LandmarkListenerPtr mLandmarkListener
 
- Protected Attributes inherited from cx::RegistrationBaseWidget
RegServicesPtr mServices
 

Detailed Description

Widget for performing plate (landmark based) image registration using only the translation part of the matrix.

Date
2014-10-09
Author
Ole Vegard Solberg, SINTEF
Janne Beate Bakeng, SINTEF

Definition at line 51 of file cxPlateImageRegistrationWidget.h.

Constructor & Destructor Documentation

cx::PlateImageRegistrationWidget::PlateImageRegistrationWidget ( RegServicesPtr  services,
QWidget *  parent 
)

Definition at line 39 of file cxPlateImageRegistrationWidget.cpp.

cx::PlateImageRegistrationWidget::~PlateImageRegistrationWidget ( )
virtual

Definition at line 45 of file cxPlateImageRegistrationWidget.cpp.

Member Function Documentation

void cx::PlateImageRegistrationWidget::editLandmarkButtonClickedSlot ( )
protectedvirtualslot

Definition at line 48 of file cxPlateImageRegistrationWidget.cpp.

void cx::PlateImageRegistrationWidget::performRegistration ( )
protectedvirtual

Reimplemented from cx::FastImageRegistrationWidget.

Definition at line 54 of file cxPlateImageRegistrationWidget.cpp.


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