![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Generic parameters 'computer' class (at a given scale) More...
#include <ccPointDescriptor.h>

Public Member Functions | |
| virtual | ~ScaleParamsComputer ()=default |
| virtual unsigned | getID () const =0 |
| Returns the associated descriptor ID. More... | |
| virtual QString | getName () const =0 |
| Returns the associated descriptor name. More... | |
| virtual unsigned | dimPerScale () const =0 |
| Returns the number of dimensions per scale for this descriptor. More... | |
| virtual bool | needSF () const |
| Returns whether the computer requires a scalar field or not. More... | |
| virtual void | reset ()=0 |
| Called once before computing parameters at first scale. More... | |
| virtual bool | computeScaleParams (cloudViewer::ReferenceCloud &neighbors, double radius, float params[], bool &invalidScale)=0 |
| Computes the parameters at a given scale. More... | |
Static Public Member Functions | |
| static ScaleParamsComputer * | GetByID (unsigned descID) |
| Vault: returns the computer corresponding to the given ID. More... | |
| static unsigned | AvailableCount () |
| Returns the number of available 'descriptors'. More... | |
| static ScaleParamsComputer * | GetByIndex (unsigned index) |
| Vault: returns the ith computer. More... | |
Generic parameters 'computer' class (at a given scale)
Must be inherited by any custom computer.
Definition at line 43 of file ccPointDescriptor.h.
|
virtualdefault |
|
static |
Returns the number of available 'descriptors'.
Definition at line 428 of file ccPointDescriptor.cpp.
References ScaleParamsComputerVault::map, and s_vault.
Referenced by qCanupoTrainingDialog::qCanupoTrainingDialog().
|
pure virtual |
Computes the parameters at a given scale.
Scales are always called in decreasing order.
| [in] | neighbors | the set of neighbors at the current scale |
| [in] | radius | current radius (half scale) value |
| [out] | params | the computed parameters |
| [out] | invalidScale | whether this scale is 'invalid' (i.e. parameters couldn't be computed, default one have been returned instead) |
Implemented in DimensionalityScaleParamsComputer.
|
pure virtual |
Returns the number of dimensions per scale for this descriptor.
Implemented in DimensionalityScaleParamsComputer.
|
static |
Vault: returns the computer corresponding to the given ID.
Definition at line 432 of file ccPointDescriptor.cpp.
References ScaleParamsComputerVault::map, and s_vault.
Referenced by qCanupoClassifDialog::browseClassifierFile(), qCanupoProcess::Classify(), qCanupoTools::ComputeCorePointsDescriptors(), and qCanupoPlugin::doTrainAction().
|
static |
Vault: returns the ith computer.
Definition at line 442 of file ccPointDescriptor.cpp.
References ScaleParamsComputerVault::map, and s_vault.
Referenced by qCanupoTrainingDialog::qCanupoTrainingDialog().
|
pure virtual |
Returns the associated descriptor ID.
Implemented in DimensionalityScaleParamsComputer.
Referenced by qCanupoTrainingDialog::qCanupoTrainingDialog().
|
pure virtual |
Returns the associated descriptor name.
Implemented in DimensionalityScaleParamsComputer.
Referenced by qCanupoClassifDialog::browseClassifierFile(), and qCanupoTrainingDialog::qCanupoTrainingDialog().
|
inlinevirtual |
Returns whether the computer requires a scalar field or not.
Definition at line 68 of file ccPointDescriptor.h.
Referenced by qCanupoProcess::Classify(), and qCanupoPlugin::doTrainAction().
|
pure virtual |
Called once before computing parameters at first scale.
Implemented in DimensionalityScaleParamsComputer.