qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ccRegistrationDlg Class Reference

Point cloud or mesh registration dialog. More...

#include <ccRegistrationDlg.h>

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

Public Types

typedef CCCoreLib::ICPRegistrationTools::CONVERGENCE_TYPE ConvergenceMethod
 

Public Member Functions

 ccRegistrationDlg (ccHObject *data, ccHObject *model, QWidget *parent=nullptr)
 Default constructor.
 
virtual ~ccRegistrationDlg ()
 Default destructor.
 
ConvergenceMethod getConvergenceMethod () const
 Returns convergence method.
 
unsigned getMaxIterationCount () const
 Returns max number of iterations. More...
 
unsigned getFinalOverlap () const
 Returns the approximated final overlap.
 
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.
 
ccHObject * getModelEntity ()
 Returns 'model' entity.
 
ccHObject * getDataEntity ()
 Returns 'data' entity.
 
bool useDataSFAsWeights () const
 Whether to use data displayed SF as weights.
 
bool useModelSFAsWeights () const
 Whether to use model displayed SF as weights.
 
bool useC2MSignedDistances () const
 Whether to use signed distances when the reference is a mesh.
 
CCCoreLib::ICPRegistrationTools::NORMALS_MATCHING normalsMatchingOption () const
 Method to take normals into account.
 
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.
 
void saveParameters () const
 Saves parameters for next call.
 

Static Public Member Functions

static double GetAbsoluteMinRMSDecrease ()
 Returns the theoretical mininmum RMS decrease between two consecutive iterations.
 

Protected Member Functions

void swapModelAndData ()
 
void updateGUI ()
 

Protected Attributes

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

Detailed Description

Point cloud or mesh registration dialog.

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.

◆ getMaxIterationCount()

unsigned ccRegistrationDlg::getMaxIterationCount ( ) const

Returns max number of iterations.

Only valid if registration method is 'ITERATION_REG'.

◆ getMinRMSDecrease()

double ccRegistrationDlg::getMinRMSDecrease ( ) const

Returns minimum RMS decrease between two consecutive iterations.

Only valid if registration method is 'MAX_ERROR_REG'.

◆ getTransformationFilters()

int ccRegistrationDlg::getTransformationFilters ( ) const

Returns active transformation filters.

See CCCoreLib::RegistrationTools::TRANSFORMATION_FILTERS.

◆ 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.

◆ setMinRMSDecrease()

void ccRegistrationDlg::setMinRMSDecrease ( double  value)

Sets the minimum RMS decrease between two consecutive iterations.

Only valid if registration method is 'MAX_ERROR_REG'.


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