ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qCanupoClassifDialog Class Reference

CANUPO plugin's classification dialog. More...

#include <qCanupoClassifDialog.h>

Inheritance diagram for qCanupoClassifDialog:
[legend]
Collaboration diagram for qCanupoClassifDialog:
[legend]

Public Types

enum  CORE_CLOUD_SOURCES { ORIGINAL, OTHER, SUBSAMPLED, MSC_FILE }
 "Sources" of core points More...
 

Public Member Functions

 qCanupoClassifDialog (ccPointCloud *cloud, ecvMainAppInterface *app)
 Default constructor. More...
 
CORE_CLOUD_SOURCES getCorePointsCloudSource () const
 Returns the selected source for core points. More...
 
ccPointCloud * getCorePointsCloud ()
 Get core points cloud (if any) More...
 
QString getMscFilename () const
 Returns MSC file name (if source == MSC_FILE) More...
 
double getConfidenceTrehshold () const
 Returns the confidence threshold. More...
 
bool useSF () const
 
int getMaxThreadCount () const
 Returns the max number of threads to use. More...
 
void loadParamsFromPersistentSettings ()
 Loads parameters from persistent settings. More...
 
void saveParamsToPersistentSettings ()
 Saves parameters to persistent settings. More...
 

Protected Slots

void browseClassifierFile ()
 
void browseMscFile ()
 

Protected Attributes

ecvMainAppInterface * m_app
 Gives access to the application (data-base, UI, etc.) More...
 
ccPointCloud * m_cloud
 Associated cloud. More...
 

Detailed Description

CANUPO plugin's classification dialog.

Member Enumeration Documentation

◆ CORE_CLOUD_SOURCES

"Sources" of core points

Enumerator
ORIGINAL 
OTHER 
SUBSAMPLED 
MSC_FILE 

Constructor & Destructor Documentation

◆ qCanupoClassifDialog()

Member Function Documentation

◆ browseClassifierFile

◆ browseMscFile

void qCanupoClassifDialog::browseMscFile ( )
protectedslot

References filename.

Referenced by qCanupoClassifDialog().

◆ getConfidenceTrehshold()

double qCanupoClassifDialog::getConfidenceTrehshold ( ) const

Returns the confidence threshold.

Referenced by qCanupoPlugin::doClassifyAction().

◆ getCorePointsCloud()

ccPointCloud * qCanupoClassifDialog::getCorePointsCloud ( )

Get core points cloud (if any)

Returns either the input cloud (ORIGINAL) or the other cloud specified in the dedicated combo box (OTHER). It can also return a null pointer if the user has requested sub-sampling (SUBSAMPLED) or MSC file (MSC_FILE).

References ecvMainAppInterface::dbRootObject(), qCanupoTools::GetCloudFromCombo(), m_app, and m_cloud.

Referenced by qCanupoPlugin::doClassifyAction().

◆ getCorePointsCloudSource()

qCanupoClassifDialog::CORE_CLOUD_SOURCES qCanupoClassifDialog::getCorePointsCloudSource ( ) const

Returns the selected source for core points.

References MSC_FILE, ORIGINAL, OTHER, and SUBSAMPLED.

Referenced by qCanupoPlugin::doClassifyAction().

◆ getMaxThreadCount()

int qCanupoClassifDialog::getMaxThreadCount ( ) const

Returns the max number of threads to use.

Referenced by qCanupoPlugin::doClassifyAction().

◆ getMscFilename()

QString qCanupoClassifDialog::getMscFilename ( ) const

Returns MSC file name (if source == MSC_FILE)

Referenced by qCanupoPlugin::doClassifyAction().

◆ loadParamsFromPersistentSettings()

void qCanupoClassifDialog::loadParamsFromPersistentSettings ( )

Loads parameters from persistent settings.

References useSF().

Referenced by qCanupoClassifDialog().

◆ saveParamsToPersistentSettings()

void qCanupoClassifDialog::saveParamsToPersistentSettings ( )

Saves parameters to persistent settings.

Referenced by qCanupoPlugin::doClassifyAction().

◆ useSF()

bool qCanupoClassifDialog::useSF ( ) const

Returns whether a SF should be used to classify points with low confidence

Referenced by qCanupoPlugin::doClassifyAction(), and loadParamsFromPersistentSettings().

Member Data Documentation

◆ m_app

ecvMainAppInterface* qCanupoClassifDialog::m_app
protected

Gives access to the application (data-base, UI, etc.)

Referenced by getCorePointsCloud(), and qCanupoClassifDialog().

◆ m_cloud

ccPointCloud* qCanupoClassifDialog::m_cloud
protected

Associated cloud.

Referenced by getCorePointsCloud().


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