NorMIT-nav
16.5
An IGT application
|
#include <cxICPRegistrationBaseWidget.h>
Public Member Functions | |
ICPRegistrationBaseWidget (RegServicesPtr services, QWidget *parent, QString uid, QString name) | |
virtual | ~ICPRegistrationBaseWidget () |
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 | registerSlot () |
Protected Member Functions | |
virtual void | initializeRegistrator ()=0 |
virtual void | onShown ()=0 |
virtual void | applyRegistration (Transform3D delta)=0 |
virtual void | setup ()=0 |
virtual double | getDefaultAutoLTS () const |
virtual void | prePaintEvent () |
void | onSpacesChanged () |
void | onSettingsChanged () |
Protected Member Functions inherited from cx::BaseWidget | |
virtual void | showEvent (QShowEvent *event) |
Protected Member Functions inherited from cx::OptimizedUpdateWidget | |
virtual void | paintEvent (QPaintEvent *event) |
Protected Attributes | |
DoublePropertyPtr | mLTSRatio |
DoublePropertyPtr | mMargin |
BoolPropertyPtr | mLinear |
BoolPropertyPtr | mAutoLTS |
BoolPropertyPtr | mDisplayProgress |
BoolPropertyPtr | mOneStep |
DoublePropertyPtr | mNumberOfIterations |
DoublePropertyPtr | mStopThreshold |
DoublePropertyPtr | mMaxTime |
ICPWidget * | mICPWidget |
XmlOptionFile | mOptions |
SeansVesselRegPtr | mRegistrator |
boost::shared_ptr< class WidgetObscuredListener > | mObscuredListener |
Protected Attributes inherited from cx::RegistrationBaseWidget | |
RegServicesPtr | 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... | |
Base class for Widgets implementing registration using the ICP method. Subclass to perform e.g. I2I or I2P registration.
Note: mICPWidget will be created and initialized, but not added to a widget. Must be done by subclass.
Definition at line 70 of file cxICPRegistrationBaseWidget.h.
cx::ICPRegistrationBaseWidget::ICPRegistrationBaseWidget | ( | RegServicesPtr | services, |
QWidget * | parent, | ||
QString | uid, | ||
QString | name | ||
) |
Definition at line 63 of file cxICPRegistrationBaseWidget.cpp.
|
virtual |
Definition at line 69 of file cxICPRegistrationBaseWidget.cpp.
|
protectedpure virtual |
subclass must set the given registration delta into the registration manager.
Implemented in cx::RMPCWidget, cx::RMPCFromPointerWidget, and cx::SeansVesselRegistrationWidget.
|
inlineprotectedvirtual |
Reimplemented in cx::RMPCWidget, and cx::RMPCFromPointerWidget.
Definition at line 96 of file cxICPRegistrationBaseWidget.h.
|
protectedpure virtual |
subclass must call mRegistrator->initialize() with proper input
Implemented in cx::RMPCWidget, cx::RMPCFromPointerWidget, and cx::SeansVesselRegistrationWidget.
|
protected |
Definition at line 195 of file cxICPRegistrationBaseWidget.cpp.
|
protectedpure virtual |
called when widget is shown. Subclass must update data if needed.
Implemented in cx::RMPCWidget, cx::RMPCFromPointerWidget, and cx::SeansVesselRegistrationWidget.
|
protected |
Definition at line 182 of file cxICPRegistrationBaseWidget.cpp.
|
protectedvirtual |
Implement to perform expensive operations that need only be called once per paint. Use setModified() to trigger this method.
Reimplemented from cx::OptimizedUpdateWidget.
Definition at line 73 of file cxICPRegistrationBaseWidget.cpp.
|
protectedslot |
Definition at line 208 of file cxICPRegistrationBaseWidget.cpp.
|
protectedpure virtual |
subclass must implement to setup widget
Implemented in cx::RMPCWidget, cx::RMPCFromPointerWidget, and cx::SeansVesselRegistrationWidget.
|
protected |
Definition at line 110 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 111 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 118 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 109 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 107 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 108 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 116 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 114 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 121 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 112 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 119 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 120 of file cxICPRegistrationBaseWidget.h.
|
protected |
Definition at line 115 of file cxICPRegistrationBaseWidget.h.