ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccRegistrationDlg Class Reference

Point cloud or mesh registration dialog. More...

#include <ecvRegistrationDlg.h>

Inheritance diagram for ccRegistrationDlg:
[legend]
Collaboration diagram for ccRegistrationDlg:
[legend]

Public Types

typedef cloudViewer::ICPRegistrationTools::CONVERGENCE_TYPE ConvergenceMethod
 

Public Member Functions

 ccRegistrationDlg (ccHObject *data, ccHObject *model, QWidget *parent=nullptr)
 Default constructor. More...
 
virtual ~ccRegistrationDlg ()
 Default destructor. More...
 
ConvergenceMethod getConvergenceMethod () const
 Returns convergence method. More...
 
unsigned getMaxIterationCount () const
 Returns max number of iterations. More...
 
unsigned getFinalOverlap () const
 Returns the approximated final overlap. More...
 
double getMinRMSDecrease () const
 Returns minimum RMS decrease between two consecutive iterations. More...
 
void setMinRMSDecrease (double value)
 Sets the minimum RMS decrease between two consecutive iterations. More...
 
bool removeFarthestPoints () const
 Returns whether farthest points should be ignored at each iteration. More...
 
unsigned randomSamplingLimit () const
 Returns the limit above which clouds should be randomly resampled. More...
 
ccHObject * getModelEntity ()
 Returns 'model' entity. More...
 
ccHObject * getDataEntity ()
 Returns 'data' entity. More...
 
bool useDataSFAsWeights () const
 Whether to use data displayed SF as weights. More...
 
bool useModelSFAsWeights () const
 Whether to use model displayed SF as weights. More...
 
bool useC2MSignedDistances () const
 Whether to use signed distances when the reference is a mesh. More...
 
cloudViewer::ICPRegistrationTools::NORMALS_MATCHING normalsMatchingOption () const
 Method to take normals into account. More...
 
bool adjustScale () const
 Returns whether to adjust the scale during optimization. More...
 
int getTransformationFilters () const
 Returns active transformation filters. More...
 
int getMaxThreadCount () const
 Returns the maximum number of threads. More...
 
void saveParameters () const
 Saves parameters for next call. More...
 

Static Public Member Functions

static double GetAbsoluteMinRMSDecrease ()
 

Protected Member Functions

void swapModelAndData ()
 
void updateGUI ()
 

Protected Attributes

ccHObject * modelEntity
 'Model' entity More...
 
ccHObject * dataEntity
 'Data' entity More...
 

Detailed Description

Point cloud or mesh registration dialog.

Member Typedef Documentation

◆ ConvergenceMethod

Constructor & Destructor Documentation

◆ ccRegistrationDlg()

◆ ~ccRegistrationDlg()

ccRegistrationDlg::~ccRegistrationDlg ( )
virtual

Member Function Documentation

◆ adjustScale()

bool ccRegistrationDlg::adjustScale ( ) const

Returns whether to adjust the scale during optimization.

This is useful for co-registration of lidar and photogrammetric clouds for instance.

Referenced by saveParameters().

◆ GetAbsoluteMinRMSDecrease()

double ccRegistrationDlg::GetAbsoluteMinRMSDecrease ( )
static

Returns the theoretical mininmum RMS decrease between two consecutive iterations

Referenced by ccRegistrationDlg().

◆ getConvergenceMethod()

ccRegistrationDlg::ConvergenceMethod ccRegistrationDlg::getConvergenceMethod ( ) const

◆ getDataEntity()

ccHObject * ccRegistrationDlg::getDataEntity ( )

Returns 'data' entity.

References dataEntity.

◆ getFinalOverlap()

unsigned ccRegistrationDlg::getFinalOverlap ( ) const

Returns the approximated final overlap.

◆ getMaxIterationCount()

unsigned ccRegistrationDlg::getMaxIterationCount ( ) const

Returns max number of iterations.

Only valid if registration method is 'ITERATION_REG'.

Referenced by saveParameters().

◆ getMaxThreadCount()

int ccRegistrationDlg::getMaxThreadCount ( ) const

Returns the maximum number of threads.

Referenced by saveParameters().

◆ getMinRMSDecrease()

double ccRegistrationDlg::getMinRMSDecrease ( ) const

Returns minimum RMS decrease between two consecutive iterations.

Only valid if registration method is 'MAX_ERROR_REG'.

Referenced by saveParameters().

◆ getModelEntity()

ccHObject * ccRegistrationDlg::getModelEntity ( )

Returns 'model' entity.

References modelEntity.

◆ getTransformationFilters()

◆ normalsMatchingOption()

cloudViewer::ICPRegistrationTools::NORMALS_MATCHING ccRegistrationDlg::normalsMatchingOption ( ) const

Method to take normals into account.

References cloudViewer::ICPRegistrationTools::NO_NORMAL.

◆ randomSamplingLimit()

unsigned ccRegistrationDlg::randomSamplingLimit ( ) const

Returns the limit above which clouds should be randomly resampled.

Referenced by saveParameters().

◆ removeFarthestPoints()

bool ccRegistrationDlg::removeFarthestPoints ( ) const

Returns whether farthest points should be ignored at each iteration.

This is a trick to improve registration for slightly different clouds.

Referenced by saveParameters().

◆ saveParameters()

◆ setMinRMSDecrease()

void ccRegistrationDlg::setMinRMSDecrease ( double  value)

Sets the minimum RMS decrease between two consecutive iterations.

Only valid if registration method is 'MAX_ERROR_REG'.

Referenced by ccRegistrationDlg().

◆ swapModelAndData()

void ccRegistrationDlg::swapModelAndData ( )
protected

◆ updateGUI()

◆ useC2MSignedDistances()

bool ccRegistrationDlg::useC2MSignedDistances ( ) const

Whether to use signed distances when the reference is a mesh.

◆ useDataSFAsWeights()

bool ccRegistrationDlg::useDataSFAsWeights ( ) const

Whether to use data displayed SF as weights.

◆ useModelSFAsWeights()

bool ccRegistrationDlg::useModelSFAsWeights ( ) const

Whether to use model displayed SF as weights.

Member Data Documentation

◆ dataEntity

ccHObject* ccRegistrationDlg::dataEntity
protected

◆ modelEntity

ccHObject* ccRegistrationDlg::modelEntity
protected

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