ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
masc::CorePoints Struct Reference

Core points descriptor. More...

#include <CorePoints.h>

Collaboration diagram for masc::CorePoints:

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

ccPointCloudorigin = nullptr
 Origin cloud. More...
 
ccPointCloudcloud = nullptr
 Core points cloud. More...
 
QString role
 Core points 'role'. More...
 
QSharedPointer< cloudViewer::ReferenceCloudselection
 
SubSamplingMethod selectionMethod = NONE
 
double selectionParam = std::numeric_limits<double>::quiet_NaN()
 

Detailed Description

Core points descriptor.

Definition at line 39 of file CorePoints.h.

Member Enumeration Documentation

◆ SubSamplingMethod

Enumerator
NONE 
RANDOM 
SPATIAL 

Definition at line 58 of file CorePoints.h.

Member Function Documentation

◆ originIndex()

unsigned masc::CorePoints::originIndex ( unsigned  i) const
inline

Return the point index.

Definition at line 52 of file CorePoints.h.

References selection.

◆ prepare()

◆ size()

unsigned masc::CorePoints::size ( void  ) const
inline

Return the size.

Definition at line 50 of file CorePoints.h.

References cloud, and cloudViewer::PointCloudTpl< T >::size().

Member Data Documentation

◆ cloud

ccPointCloud* masc::CorePoints::cloud = nullptr

Core points cloud.

Definition at line 44 of file CorePoints.h.

Referenced by q3DMASCPlugin::doTrainAction(), prepare(), and size().

◆ origin

ccPointCloud* masc::CorePoints::origin = nullptr

Origin cloud.

Definition at line 41 of file CorePoints.h.

Referenced by q3DMASCPlugin::doTrainAction(), and prepare().

◆ role

QString masc::CorePoints::role

Core points 'role'.

Definition at line 47 of file CorePoints.h.

Referenced by q3DMASCPlugin::doTrainAction().

◆ selection

QSharedPointer<cloudViewer::ReferenceCloud> masc::CorePoints::selection

Definition at line 57 of file CorePoints.h.

Referenced by originIndex(), and prepare().

◆ selectionMethod

SubSamplingMethod masc::CorePoints::selectionMethod = NONE

Definition at line 59 of file CorePoints.h.

Referenced by prepare().

◆ selectionParam

double masc::CorePoints::selectionParam = std::numeric_limits<double>::quiet_NaN()

Definition at line 60 of file CorePoints.h.

Referenced by prepare().


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