CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::RMPCWidget Class Reference

#include <cxRMPCWidget.h>

Inheritance diagram for cx::RMPCWidget:
cx::ICPRegistrationBaseWidget cx::RegistrationBaseWidget cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 RMPCWidget (RegServicesPtr services, QWidget *parent)
 
virtual ~RMPCWidget ()
 
- Public Member Functions inherited from cx::ICPRegistrationBaseWidget
 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)
 
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 initializeRegistrator ()
 
virtual void inputChanged ()
 
virtual void applyRegistration (Transform3D delta)
 
virtual void onShown ()
 
virtual void setup ()
 
virtual double getDefaultAutoLTS () const
 
- Protected Member Functions inherited from cx::ICPRegistrationBaseWidget
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)
 

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::ICPRegistrationBaseWidget
void registerSlot ()
 
- Protected Attributes inherited from cx::ICPRegistrationBaseWidget
DoublePropertyPtr mLTSRatio
 
DoublePropertyPtr mMargin
 
BoolPropertyPtr mLinear
 
BoolPropertyPtr mAutoLTS
 
BoolPropertyPtr mDisplayProgress
 
BoolPropertyPtr mOneStep
 
DoublePropertyPtr mNumberOfIterations
 
DoublePropertyPtr mStopThreshold
 
DoublePropertyPtr mMaxTime
 
ICPWidgetmICPWidget
 
XmlOptionFile mOptions
 
SeansVesselRegPtr mRegistrator
 
boost::shared_ptr< class
WidgetObscuredListener
mObscuredListener
 
- Protected Attributes inherited from cx::RegistrationBaseWidget
RegServicesPtr mServices
 

Detailed Description

Register a point cloud in patient space to a point cloud in reference space.

The moving data are assumed to be in patient space, and are used to correct the patient registration prMt. The moving data iself are also affected, in order to keep the relation of moving relative to patient.

Date
2015-09-16
Author
Christian Askeland

Definition at line 69 of file cxRMPCWidget.h.

Constructor & Destructor Documentation

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

Definition at line 46 of file cxRMPCWidget.cpp.

virtual cx::RMPCWidget::~RMPCWidget ( )
inlinevirtual

Definition at line 75 of file cxRMPCWidget.h.

Member Function Documentation

void cx::RMPCWidget::applyRegistration ( Transform3D  delta)
protectedvirtual

subclass must set the given registration delta into the registration manager.

Implements cx::ICPRegistrationBaseWidget.

Definition at line 101 of file cxRMPCWidget.cpp.

virtual double cx::RMPCWidget::getDefaultAutoLTS ( ) const
inlineprotectedvirtual

Reimplemented from cx::ICPRegistrationBaseWidget.

Definition at line 84 of file cxRMPCWidget.h.

void cx::RMPCWidget::initializeRegistrator ( )
protectedvirtual

subclass must call mRegistrator->initialize() with proper input

Implements cx::ICPRegistrationBaseWidget.

Definition at line 81 of file cxRMPCWidget.cpp.

void cx::RMPCWidget::inputChanged ( )
protectedvirtual

Definition at line 90 of file cxRMPCWidget.cpp.

void cx::RMPCWidget::onShown ( )
protectedvirtual

called when widget is shown. Subclass must update data if needed.

Implements cx::ICPRegistrationBaseWidget.

Definition at line 111 of file cxRMPCWidget.cpp.

void cx::RMPCWidget::setup ( )
protectedvirtual

subclass must implement to setup widget

Implements cx::ICPRegistrationBaseWidget.

Definition at line 52 of file cxRMPCWidget.cpp.


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