![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Core points descriptor. More...
#include <CorePoints.h>

Public Types | |
| enum | SubSamplingMethod { NONE , RANDOM , SPATIAL } |
Public Member Functions | |
| unsigned | size () const |
| Return the size. More... | |
| unsigned | originIndex (unsigned i) const |
| Return the point index. More... | |
| bool | prepare (cloudViewer::GenericProgressCallback *progressCb=nullptr) |
| Prepares the selection (must be called once) More... | |
Public Attributes | |
| ccPointCloud * | origin = nullptr |
| Origin cloud. More... | |
| ccPointCloud * | cloud = nullptr |
| Core points cloud. More... | |
| QString | role |
| Core points 'role'. More... | |
| QSharedPointer< cloudViewer::ReferenceCloud > | selection |
| SubSamplingMethod | selectionMethod = NONE |
| double | selectionParam = std::numeric_limits<double>::quiet_NaN() |
Core points descriptor.
Definition at line 39 of file CorePoints.h.
| Enumerator | |
|---|---|
| NONE | |
| RANDOM | |
| SPATIAL | |
Definition at line 58 of file CorePoints.h.
|
inline |
| bool CorePoints::prepare | ( | cloudViewer::GenericProgressCallback * | progressCb = nullptr | ) |
Prepares the selection (must be called once)
Definition at line 21 of file CorePoints.cpp.
References cloud, ccGenericPointCloud::computeOctree(), cloudViewer::CloudSamplingTools::SFModulationParams::enabled, ccGenericPointCloud::getOctree(), NONE, origin, ccPointCloud::partialClone(), RANDOM, cloudViewer::CloudSamplingTools::resampleCloudSpatially(), selection, selectionMethod, selectionParam, cloudViewer::PointCloudTpl< T >::size(), SPATIAL, cloudViewer::CloudSamplingTools::subsampleCloudRandomly(), and CVLog::Warning().
|
inline |
Return the size.
Definition at line 50 of file CorePoints.h.
References cloud, and cloudViewer::PointCloudTpl< T >::size().
| ccPointCloud* masc::CorePoints::cloud = nullptr |
Core points cloud.
Definition at line 44 of file CorePoints.h.
Referenced by q3DMASCPlugin::doTrainAction(), prepare(), and size().
| ccPointCloud* masc::CorePoints::origin = nullptr |
Origin cloud.
Definition at line 41 of file CorePoints.h.
Referenced by q3DMASCPlugin::doTrainAction(), and prepare().
| QString masc::CorePoints::role |
Core points 'role'.
Definition at line 47 of file CorePoints.h.
Referenced by q3DMASCPlugin::doTrainAction().
| QSharedPointer<cloudViewer::ReferenceCloud> masc::CorePoints::selection |
Definition at line 57 of file CorePoints.h.
Referenced by originIndex(), and prepare().
| SubSamplingMethod masc::CorePoints::selectionMethod = NONE |
Definition at line 59 of file CorePoints.h.
Referenced by prepare().
| double masc::CorePoints::selectionParam = std::numeric_limits<double>::quiet_NaN() |
Definition at line 60 of file CorePoints.h.
Referenced by prepare().