![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include "qRANSAC_SD.h"#include "qRANSAC_SD_Commands.h"#include <ConePrimitiveShape.h>#include <ConePrimitiveShapeConstructor.h>#include <CylinderPrimitiveShape.h>#include <CylinderPrimitiveShapeConstructor.h>#include <PlanePrimitiveShape.h>#include <PlanePrimitiveShapeConstructor.h>#include <RansacShapeDetector.h>#include <SpherePrimitiveShape.h>#include <SpherePrimitiveShapeConstructor.h>#include <TorusPrimitiveShape.h>#include <TorusPrimitiveShapeConstructor.h>#include "ccRansacSDDlg.h"#include <QApplication>#include <QMainWindow>#include <QProgressDialog>#include <QtConcurrentRun>#include <QtGui>#include <CVPlatform.h>#include <ScalarField.h>#include <ecvCone.h>#include <ecvCylinder.h>#include <ecvGenericMesh.h>#include <ecvGenericPointCloud.h>#include <ecvPlane.h>#include <ecvPointCloud.h>#include <ecvSphere.h>#include <ecvTorus.h>#include <algorithm>#include <time.h>
Go to the source code of this file.
Functions | |
| void | doDetection () |
Variables | |
| static ecvMainAppInterface * | s_app = nullptr |
| static MiscLib::Vector< std::pair< MiscLib::RefCountPtr< PrimitiveShape >, size_t > > * | s_shapes |
| static size_t | s_remainingPoints = 0 |
| static RansacShapeDetector * | s_detector = nullptr |
| static ransac::RansacPointCloud * | s_cloud = nullptr |
| static unsigned | s_supportPoints |
| static double | s_maxNormalDev_deg |
| static double | s_proba = 0.75 |
| static bool | s_primEnabled [5] = {true, true, true, false, false} |
| static float | s_minRadius |
| static float | s_maxRadius |
| static bool | s_randomColor = true |
| void doDetection | ( | ) |
Definition at line 99 of file qRANSAC_SD.cpp.
References s_cloud, s_detector, s_remainingPoints, and s_shapes.
|
static |
Definition at line 57 of file qRANSAC_SD.cpp.
|
static |
Definition at line 98 of file qRANSAC_SD.cpp.
Referenced by doDetection().
|
static |
Definition at line 97 of file qRANSAC_SD.cpp.
Referenced by doDetection().
|
static |
Definition at line 109 of file qRANSAC_SD.cpp.
Referenced by qRansacSD::doAction().
|
static |
Definition at line 117 of file qRANSAC_SD.cpp.
Referenced by qRansacSD::doAction().
|
static |
Definition at line 115 of file qRANSAC_SD.cpp.
Referenced by qRansacSD::doAction().
|
static |
Definition at line 113 of file qRANSAC_SD.cpp.
Referenced by qRansacSD::doAction().
|
static |
Definition at line 111 of file qRANSAC_SD.cpp.
Referenced by qRansacSD::doAction().
|
static |
Definition at line 119 of file qRANSAC_SD.cpp.
Referenced by qRansacSD::doAction().
|
static |
Definition at line 96 of file qRANSAC_SD.cpp.
Referenced by doDetection().
|
static |
Definition at line 95 of file qRANSAC_SD.cpp.
Referenced by doDetection().
|
static |
Definition at line 107 of file qRANSAC_SD.cpp.
Referenced by qRansacSD::doAction().