![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|


Public Member Functions | |
| DimensionalityScaleParamsComputer () | |
| Default constructor. More... | |
| virtual unsigned | getID () const |
| Returns the associated descriptor ID. More... | |
| virtual QString | getName () const |
| Returns the associated descriptor name. More... | |
| virtual unsigned | dimPerScale () const |
| Returns the number of dimensions per scale for this descriptor. More... | |
| virtual void | reset () |
| Called once before computing parameters at first scale. More... | |
| virtual bool | computeScaleParams (cloudViewer::ReferenceCloud &neighbors, double radius, float params[], bool &invalidScale) |
| Computes the parameters at a given scale. More... | |
Public Member Functions inherited from ScaleParamsComputer | |
| virtual | ~ScaleParamsComputer ()=default |
| virtual bool | needSF () const |
| Returns whether the computer requires a scalar field or not. More... | |
Protected Attributes | |
| float | m_defaultParams [2] |
| Default parameters (or last computed scale's ones!) More... | |
| bool | m_firstScale |
| First scale flag. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ScaleParamsComputer | |
| 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... | |
Per-scale "dimensionality" parameters computer (i.e. same as the original CANUPO suite)
Definition at line 37 of file ccPointDescriptor.cpp.
|
inline |
Default constructor.
Definition at line 40 of file ccPointDescriptor.cpp.
|
inlinevirtual |
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) |
Implements ScaleParamsComputer.
Definition at line 65 of file ccPointDescriptor.cpp.
References cloudViewer::Neighbourhood::computeCovarianceMatrix(), m_defaultParams, m_firstScale, params, cloudViewer::ReferenceCloud::size(), Jacobi< Scalar >::SortEigenValuesAndVectors(), SQRT_3_DIV_2, Tuple3Tpl< Type >::u, Tuple3Tpl< Type >::x, and Tuple3Tpl< Type >::y.
|
inlinevirtual |
Returns the number of dimensions per scale for this descriptor.
Implements ScaleParamsComputer.
Definition at line 49 of file ccPointDescriptor.cpp.
|
inlinevirtual |
Returns the associated descriptor ID.
Implements ScaleParamsComputer.
Definition at line 43 of file ccPointDescriptor.cpp.
References DESC_DIMENSIONALITY.
|
inlinevirtual |
Returns the associated descriptor name.
Implements ScaleParamsComputer.
Definition at line 46 of file ccPointDescriptor.cpp.
|
inlinevirtual |
Called once before computing parameters at first scale.
Implements ScaleParamsComputer.
Definition at line 52 of file ccPointDescriptor.cpp.
References m_defaultParams, m_firstScale, and SQRT_3_DIV_2.
|
protected |
Default parameters (or last computed scale's ones!)
Definition at line 131 of file ccPointDescriptor.cpp.
Referenced by computeScaleParams(), and reset().
|
protected |
First scale flag.
Definition at line 133 of file ccPointDescriptor.cpp.
Referenced by computeScaleParams(), and reset().