ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvLibAlgorithms.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
11 
12 #include "ecvHObject.h"
13 
14 class QWidget;
15 
17 class ecvProgressDialog;
18 
19 namespace ccLibAlgorithms {
22  unsigned knn = 12);
23 
26  const ccHObject::Container& entities, unsigned knn = 12);
27 
28 /*** cloudViewer "standalone" algorithms ***/
29 
34  int option = 0)
35  : charac(c), subOption(option) {}
36 
38  int subOption = 0;
39 };
40 
42 typedef std::vector<GeomCharacteristic> GeomCharacteristicSet;
43 
46 bool ComputeGeomCharacteristics(const GeomCharacteristicSet& characteristics,
47  PointCoordinateType radius,
48  ccHObject::Container& entities,
49  const CCVector3* roughnessUpDir = nullptr,
50  QWidget* parent = nullptr);
51 
56  int subOption,
57  PointCoordinateType radius,
58  ccHObject::Container& entities,
59  const CCVector3* roughnessUpDir = nullptr,
60  QWidget* parent = nullptr,
61  ecvProgressDialog* progressDialog = nullptr);
62 
63 // cloudViewer algorithms handled by the 'ApplyCCLibAlgorithm' method
66 };
67 
71  ccHObject::Container& entities,
72  QWidget* parent = 0,
73  void** additionalParameters = 0);
74 
77 
81  ccHObject::Container& entities,
82  double icpRmsDiff,
83  int icpFinalOverlap,
84  unsigned refEntityIndex = 0,
85  QWidget* parent = 0);
86 } // namespace ccLibAlgorithms
ccGenericPointCloud::computeOctree
virtual ccOctree::Shared computeOctree(cloudViewer::GenericProgressCallback *progressCb=nullptr, bool autoAddChild=true)
Computes the cloud octree.
Definition: ecvGenericPointCloud.cpp:124
ccPointCloud::addScalarField
int addScalarField(const char *uniqueName) override
Creates a new scalar field and registers it.
Definition: ecvPointCloud.cpp:4210
ccPointCloud::deleteScalarField
void deleteScalarField(int index) override
Deletes a specific scalar field.
Definition: ecvPointCloud.cpp:3237
cloudViewer::GeometricalAnalysisTools::NotEnoughPoints
@ NotEnoughPoints
Definition: GeometricalAnalysisTools.h:49
cloudViewer::ICPRegistrationTools::Parameters::samplingLimit
unsigned samplingLimit
Definition: RegistrationTools.h:189
cloudViewer::Neighbourhood::Linearity
@ Linearity
Definition: Neighbourhood.h:167
ccObject::isKindOf
bool isKindOf(CV_CLASS_ENUM type) const
Definition: ecvObject.h:128
cloudViewer::GeometricalAnalysisTools::Roughness
@ Roughness
Definition: GeometricalAnalysisTools.h:31
cloudViewer::GeometricalAnalysisTools::DENSITY_2D
@ DENSITY_2D
Definition: GeometricalAnalysisTools.h:39
cloudViewer::ICPRegistrationTools::Parameters::adjustScale
bool adjustScale
Definition: RegistrationTools.h:181
cloudViewer::NormalizedProgress::oneStep
bool oneStep()
Increments total progress value of a single unit.
Definition: NormalizedProgress.cpp:99
ecvLibAlgorithms.h
x
normal_z x
Definition: my_point_types.h:165
cloudViewer::BoundingBoxTpl::getCenter
Vector3Tpl< T > getCenter() const
Returns center.
Definition: BoundingBox.h:164
cloudViewer::GenericCloud::size
virtual unsigned size() const =0
Returns the number of points.
cloudViewer::ScalarField::computeMinAndMax
virtual void computeMinAndMax()
Determines the min and max values.
Definition: ScalarField.h:123
ccGenericPointCloud::scale
virtual void scale(PointCoordinateType fx, PointCoordinateType fy, PointCoordinateType fz, CCVector3 center=CCVector3(0, 0, 0))=0
Multiplies all coordinates by constant factors (one per dimension)
CC_ROUGHNESS_FIELD_NAME
#define CC_ROUGHNESS_FIELD_NAME
Definition: ecvCommon.h:27
cloudViewer::Neighbourhood::EigenEntropy
@ EigenEntropy
Definition: Neighbourhood.h:164
cloudViewer::GeometricalAnalysisTools::DENSITY_3D
@ DENSITY_3D
Definition: GeometricalAnalysisTools.h:42
ccHObjectCaster::ToPointCloud
static ccPointCloud * ToPointCloud(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccPointCloud.
Definition: ecvHObjectCaster.cpp:54
CV_TYPES::MESH
@ MESH
Definition: CVTypes.h:105
nProgress
cloudViewer::NormalizedProgress * nProgress
Definition: qCanupoTools.cpp:42
cloudViewer::Neighbourhood::SurfaceVariation
@ SurfaceVariation
Definition: Neighbourhood.h:170
ccObject::isA
bool isA(CV_CLASS_ENUM type) const
Definition: ecvObject.h:131
ccBBox
Bounding box structure.
Definition: ecvBBox.h:25
cloudViewer::GeometricalAnalysisTools::ProcessCancelledByUser
@ ProcessCancelledByUser
Definition: GeometricalAnalysisTools.h:54
cloudViewer::PointCloudTpl::setCurrentOutScalarField
void setCurrentOutScalarField(int index)
Sets the OUTPUT scalar field.
Definition: PointCloudTpl.h:421
CVLog::Print
static bool Print(const char *format,...)
Prints out a formatted message in console.
Definition: CVLog.cpp:113
ccRegistrationTools::ICP
static bool ICP(ccHObject *data, ccHObject *model, ccGLMatrix &transMat, double &finalScale, double &finalRMS, unsigned &finalPointCount, const cloudViewer::ICPRegistrationTools::Parameters &inputParameters, bool useDataSFAsWeights=false, bool useModelSFAsWeights=false, QWidget *parent=nullptr)
Applies ICP registration on two entities.
Definition: ecvRegistrationTools.cpp:36
CV_TYPES::POINT_CLOUD
@ POINT_CLOUD
Definition: CVTypes.h:104
ecvProgressDialog::start
virtual void start() override
Definition: ecvProgressDialog.cpp:70
cloudViewer::GeometricalAnalysisTools::DENSITY_KNN
@ DENSITY_KNN
Definition: GeometricalAnalysisTools.h:37
ecvDisplayTools.h
cloudViewer::GeometricalAnalysisTools::Feature
@ Feature
Definition: GeometricalAnalysisTools.h:25
cloudViewer::GeometricalAnalysisTools::Density
Density
Density measurement.
Definition: GeometricalAnalysisTools.h:36
cloudViewer::GeometricalAnalysisTools::OctreeComputationFailed
@ OctreeComputationFailed
Definition: GeometricalAnalysisTools.h:50
cloudViewer::GeometricalAnalysisTools::Curvature
@ Curvature
Definition: GeometricalAnalysisTools.h:26
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
ccLibAlgorithms::GeomCharacteristicSet
std::vector< GeomCharacteristic > GeomCharacteristicSet
Set of GeomCharacteristic instances.
Definition: ecvLibAlgorithms.h:42
ccLibAlgorithms::ComputeGeomCharacteristics
bool ComputeGeomCharacteristics(const GeomCharacteristicSet &characteristics, PointCoordinateType radius, ccHObject::Container &entities, const CCVector3 *roughnessUpDir, QWidget *parent)
Definition: ecvLibAlgorithms.cpp:109
ccLibAlgorithms::CC_LIB_ALGORITHM
CC_LIB_ALGORITHM
Definition: ecvLibAlgorithms.h:64
Tuple3Tpl::data
Type * data()
Definition: CVGeom.h:145
cloudViewer::Neighbourhood::EigenValue3
@ EigenValue3
Definition: Neighbourhood.h:175
cloudViewer::Neighbourhood::Anisotropy
@ Anisotropy
Definition: Neighbourhood.h:165
cloudViewer::PointCloudTpl::getScalarFieldIndexByName
int getScalarFieldIndexByName(const char *name) const
Returns the index of a scalar field represented by its name.
Definition: PointCloudTpl.h:375
cloudViewer::Neighbourhood::getLSPlaneX
const CCVector3 * getLSPlaneX()
Returns best interpolating plane (Least-square) 'X' base vector.
Definition: Neighbourhood.cpp:88
ccOctree::Shared
QSharedPointer< ccOctree > Shared
Shared pointer.
Definition: ecvOctree.h:32
ccHObject::Container
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
ccPointCloud::setCurrentDisplayedScalarField
void setCurrentDisplayedScalarField(int index)
Sets the currently displayed scalar field.
Definition: ecvPointCloud.cpp:3227
cloudViewer::Neighbourhood::PCA1
@ PCA1
Definition: Neighbourhood.h:168
ecvMainAppInterface::ccHObjectContext
Backup "context" for an object.
Definition: ecvMainAppInterface.h:80
result
core::Tensor result
Definition: VtkUtils.cpp:76
ccGenericPointCloud::getOctree
virtual ccOctree::Shared getOctree() const
Returns the associated octree (if any)
Definition: ecvGenericPointCloud.cpp:97
cloudViewer::Neighbourhood::MEAN_CURV
@ MEAN_CURV
Definition: Neighbourhood.h:42
GeometricalAnalysisTools.h
CVLog::Error
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
ecvConsole.h
cloudViewer::BoundingBoxTpl::getMaxBoxDim
T getMaxBoxDim() const
Returns maximal box dimension.
Definition: BoundingBox.h:185
cloudViewer::Neighbourhood::Verticality
@ Verticality
Definition: Neighbourhood.h:172
ccShiftedObject::getGlobalShift
virtual const CCVector3d & getGlobalShift() const
Returns the shift applied to original coordinates.
Definition: ecvShiftedObject.h:46
cloudViewer::ICPRegistrationTools::Parameters::transformationFilters
int transformationFilters
Definition: RegistrationTools.h:204
cloudViewer::GeometricalAnalysisTools::InvalidInput
@ InvalidInput
Definition: GeometricalAnalysisTools.h:48
ecvUtils.h
ccLibAlgorithms::ICP_SCALE
@ ICP_SCALE
Definition: ecvLibAlgorithms.h:76
ccGenericPointCloud
A 3D cloud interface with associated features (color, normals, octree, etc.)
Definition: ecvGenericPointCloud.h:45
Vector3Tpl
3D Vector (templated version)
Definition: CVGeom.h:223
cloudViewer::ICPRegistrationTools::Parameters
ICP Parameters.
Definition: RegistrationTools.h:152
ecvDisplayTools::SetRedrawRecursive
static void SetRedrawRecursive(bool redraw=false)
Definition: ecvDisplayTools.cpp:1992
cloudViewer::ICPRegistrationTools::NO_NORMAL
@ NO_NORMAL
Definition: RegistrationTools.h:145
CC_CURVATURE_GAUSSIAN_FIELD_NAME
#define CC_CURVATURE_GAUSSIAN_FIELD_NAME
Definition: ecvCommon.h:29
cloudViewer::GeometricalAnalysisTools::ComputeCharactersitic
static ErrorCode ComputeCharactersitic(GeomCharacteristic c, int subOption, GenericIndexedCloudPersist *cloud, PointCoordinateType kernelRadius, const CCVector3 *roughnessUpDir=nullptr, GenericProgressCallback *progressCb=nullptr, DgmOctree *inputOctree=nullptr)
Unified way to compute a geometric characteristic.
Definition: GeometricalAnalysisTools.cpp:29
cloudViewer::PointCloudTpl::setCurrentInScalarField
void setCurrentInScalarField(int index)
Sets the INPUT scalar field.
Definition: PointCloudTpl.h:408
CC_CURVATURE_NORM_CHANGE_RATE_FIELD_NAME
#define CC_CURVATURE_NORM_CHANGE_RATE_FIELD_NAME
Definition: ecvCommon.h:31
ccLibAlgorithms::ComputeGeomCharacteristic
bool ComputeGeomCharacteristic(cloudViewer::GeometricalAnalysisTools::GeomCharacteristic c, int subOption, PointCoordinateType radius, ccHObject::Container &entities, const CCVector3 *roughnessUpDir, QWidget *parent, ecvProgressDialog *progressDialog)
Definition: ecvLibAlgorithms.cpp:146
ccScalarField::setSymmetricalScale
void setSymmetricalScale(bool state)
Sets whether the color scale should be symmetrical or not.
Definition: ecvScalarField.cpp:123
ccLibAlgorithms::ApplyScaleMatchingAlgorithm
bool ApplyScaleMatchingAlgorithm(ScaleMatchingAlgorithm algo, ccHObject::Container &entities, double icpRmsDiff, int icpFinalOverlap, unsigned refEntityIndex, QWidget *parent)
Definition: ecvLibAlgorithms.cpp:557
MainWindow
Definition: MainWindow.h:117
ccLibAlgorithms::BB_MAX_DIM
@ BB_MAX_DIM
Definition: ecvLibAlgorithms.h:76
cloudViewer::ICPRegistrationTools::Parameters::normalsMatching
NORMALS_MATCHING normalsMatching
Normals matching method.
Definition: RegistrationTools.h:216
ccLibAlgorithms::GeomCharacteristic::subOption
int subOption
Definition: ecvLibAlgorithms.h:38
cloudViewer::BoundingBoxTpl::isValid
bool isValid() const
Returns whether bounding box is valid or not.
Definition: BoundingBox.h:203
ZERO_TOLERANCE_D
constexpr double ZERO_TOLERANCE_D
Definition: CVConst.h:49
ecvProgressDialog
Graphical progress indicator (thread-safe)
Definition: ecvProgressDialog.h:27
cloudViewer::ICPRegistrationTools::Parameters::filterOutFarthestPoints
bool filterOutFarthestPoints
Definition: RegistrationTools.h:185
cloudViewer::Neighbourhood
Definition: Neighbourhood.h:25
ecvScalarField.h
ecvProgressDialog::setMethodTitle
virtual void setMethodTitle(const char *methodTitle) override
Notifies the algorithm title.
Definition: ecvProgressDialog.h:49
ecvProgressDialog.h
cloudViewer::ICPRegistrationTools::Parameters::convType
CONVERGENCE_TYPE convType
Convergence type.
Definition: RegistrationTools.h:169
ccLibAlgorithms
Definition: ecvLibAlgorithms.cpp:37
ccLibAlgorithms::ScaleMatchingAlgorithm
ScaleMatchingAlgorithm
Scale matching algorithms.
Definition: ecvLibAlgorithms.h:76
cloudViewer::Neighbourhood::EigenValue2
@ EigenValue2
Definition: Neighbourhood.h:174
cloudViewer::Neighbourhood::EigenValuesSum
@ EigenValuesSum
Definition: Neighbourhood.h:162
cloudViewer::ICPRegistrationTools::Parameters::nbMaxIterations
unsigned nbMaxIterations
Definition: RegistrationTools.h:177
ccDrawableObject::showSF
virtual void showSF(bool state)
Sets active scalarfield visibility.
Definition: ecvDrawableObject.h:108
cloudViewer::ICPRegistrationTools::Parameters::maxThreadCount
int maxThreadCount
Maximum number of threads to use (0 = max)
Definition: RegistrationTools.h:207
cloudViewer::ICPRegistrationTools::Parameters::useC2MSignedDistances
bool useC2MSignedDistances
Whether to compute signed C2M distances.
Definition: RegistrationTools.h:213
cloudViewer::ICPRegistrationTools::Parameters::finalOverlapRatio
double finalOverlapRatio
Definition: RegistrationTools.h:193
ccLibAlgorithms::GeomCharacteristic::GeomCharacteristic
GeomCharacteristic(cloudViewer::GeometricalAnalysisTools::GeomCharacteristic c, int option=0)
Definition: ecvLibAlgorithms.h:32
cloudViewer::ICPRegistrationTools::Parameters::minRMSDecrease
double minRMSDecrease
Definition: RegistrationTools.h:173
ecvDisplayTools::RemoveBB
static void RemoveBB(CC_DRAW_CONTEXT context)
Definition: ecvDisplayTools.cpp:3880
cloudViewer::Neighbourhood::getLSPlane
const PointCoordinateType * getLSPlane()
Returns best interpolating plane equation (Least-square)
Definition: Neighbourhood.cpp:69
ccLibAlgorithms::BB_VOLUME
@ BB_VOLUME
Definition: ecvLibAlgorithms.h:76
cloudViewer::GeometricalAnalysisTools::GeomCharacteristic
GeomCharacteristic
Definition: GeometricalAnalysisTools.h:24
cloudViewer::GeometricalAnalysisTools::ErrorCode
ErrorCode
Definition: GeometricalAnalysisTools.h:46
PC_ONE
constexpr PointCoordinateType PC_ONE
'1' as a PointCoordinateType value
Definition: CVConst.h:67
ccGLMatrix
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
MainWindow.h
CC_LOCAL_VOL_DENSITY_FIELD_NAME
#define CC_LOCAL_VOL_DENSITY_FIELD_NAME
Definition: ecvCommon.h:26
cloudViewer::GenericIndexedCloud::getPoint
virtual const CCVector3 * getPoint(unsigned index) const =0
Returns the ith point.
octree
cloudViewer::DgmOctree * octree
Definition: qCanupoTools.cpp:37
cloudViewer::GeometricalAnalysisTools::NoError
@ NoError
Definition: GeometricalAnalysisTools.h:47
ccPointCloud::getCurrentDisplayedScalarFieldIndex
int getCurrentDisplayedScalarFieldIndex() const
Returns the currently displayed scalar field index (or -1 if none)
Definition: ecvPointCloud.cpp:3223
cloudViewer::PointCloudTpl::getScalarFieldName
const char * getScalarFieldName(int index) const
Returns the name of a specific scalar field.
Definition: PointCloudTpl.h:365
count
int count
Definition: FileIOFactory.cpp:132
ccLibAlgorithms::GetDefaultCloudKernelSize
PointCoordinateType GetDefaultCloudKernelSize(ccGenericPointCloud *cloud, unsigned knn)
Returns a default first guess for algorithms kernel size (one cloud)
Definition: ecvLibAlgorithms.cpp:67
CVLog::Warning
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
Definition: CVLog.cpp:133
ccDrawableObject::setRedraw
virtual void setRedraw(bool state)
Sets entity redraw mode.
Definition: ecvDrawableObject.h:48
ecvProgressDialog::setInfo
virtual void setInfo(const char *infoStr) override
Notifies some information about the ongoing process.
Definition: ecvProgressDialog.h:52
cloudViewer::GeometricalAnalysisTools::LocalDensity
@ LocalDensity
Definition: GeometricalAnalysisTools.h:27
CC_MOMENT_ORDER1_FIELD_NAME
#define CC_MOMENT_ORDER1_FIELD_NAME
Definition: ecvCommon.h:28
cloudViewer::ScalarFieldTools::computeScalarFieldGradient
static int computeScalarFieldGradient(GenericIndexedCloudPersist *theCloud, PointCoordinateType radius, bool euclideanDistances, bool sameInAndOutScalarField=false, GenericProgressCallback *progressCb=nullptr, DgmOctree *theOctree=nullptr)
Definition: ScalarFieldTools.cpp:37
ecvRegistrationTools.h
MainWindow::putObjectBackIntoDBTree
void putObjectBackIntoDBTree(ccHObject *obj, const ccHObjectContext &context) override
Adds back object to DB tree.
Definition: MainWindow.cpp:3758
cloudViewer::BoundingBoxTpl::getDiagVec
Vector3Tpl< T > getDiagVec() const
Returns diagonal vector.
Definition: BoundingBox.h:169
cloudViewer::ICPRegistrationTools::MAX_ERROR_CONVERGENCE
@ MAX_ERROR_CONVERGENCE
Definition: RegistrationTools.h:126
ccShiftedObject::setGlobalShift
virtual void setGlobalShift(double x, double y, double z)
Sets shift applied to original coordinates (information storage only)
Definition: ecvShiftedObject.h:33
cloudViewer::Neighbourhood::GAUSSIAN_CURV
@ GAUSSIAN_CURV
Definition: Neighbourhood.h:42
cloudViewer::GeometricalAnalysisTools::MomentOrder1
@ MomentOrder1
Definition: GeometricalAnalysisTools.h:32
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
ecvDisplayTools::RedrawDisplay
static void RedrawDisplay(bool only2D=false, bool forceRedraw=true)
Definition: ecvDisplayTools.cpp:2883
ccObject::getName
virtual QString getName() const
Returns object name.
Definition: ecvObject.h:72
ccHObject::getOwnBB
virtual ccBBox getOwnBB(bool withGLFeatures=false)
Returns the entity's own bounding-box.
Definition: ecvHObject.cpp:757
ccLibAlgorithms::GeomCharacteristic::charac
cloudViewer::GeometricalAnalysisTools::GeomCharacteristic charac
Definition: ecvLibAlgorithms.h:37
cloudViewer::PointCloudTpl::getCurrentInScalarField
ScalarField * getCurrentInScalarField() const
Returns the scalar field currently associated to the cloud input.
Definition: PointCloudTpl.h:391
cloudViewer::Neighbourhood::getGravityCenter
const CCVector3 * getGravityCenter()
Returns gravity center.
Definition: Neighbourhood.cpp:58
ccLibAlgorithms::CCLIB_ALGO_SF_GRADIENT
@ CCLIB_ALGO_SF_GRADIENT
Definition: ecvLibAlgorithms.h:65
cloudViewer::GeometricalAnalysisTools::ProcessFailed
@ ProcessFailed
Definition: GeometricalAnalysisTools.h:51
ccLibAlgorithms::GeomCharacteristic
Geometric characteristic (with sub option)
Definition: ecvLibAlgorithms.h:31
ccGenericPointCloud::getOwnBB
ccBBox getOwnBB(bool withGLFeatures=false) override
Returns the entity's own bounding-box.
Definition: ecvGenericPointCloud.cpp:139
CC_LOCAL_KNN_DENSITY_FIELD_NAME
#define CC_LOCAL_KNN_DENSITY_FIELD_NAME
Definition: ecvCommon.h:24
cloudViewer::GeometricalAnalysisTools::ApproxLocalDensity
@ ApproxLocalDensity
Definition: GeometricalAnalysisTools.h:29
X
void * X
Definition: SmallVector.cpp:45
cloudViewer::GeometricalAnalysisTools::UnhandledCharacteristic
@ UnhandledCharacteristic
Definition: GeometricalAnalysisTools.h:52
cloudViewer::NormalizedProgress
Definition: GenericProgressCallback.h:78
ccLibAlgorithms::GetDensitySFName
static QString GetDensitySFName(cloudViewer::GeometricalAnalysisTools::Density densityType, bool approx, double densityKernelSize=0.0)
Definition: ecvLibAlgorithms.cpp:38
PointCoordinateType
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
cloudViewer::Neighbourhood::NORMAL_CHANGE_RATE
@ NORMAL_CHANGE_RATE
Definition: Neighbourhood.h:42
cloudViewer::GeometricalAnalysisTools::NotEnoughMemory
@ NotEnoughMemory
Definition: GeometricalAnalysisTools.h:53
ScalarFieldTools.h
cloudViewer::Neighbourhood::EigenValue1
@ EigenValue1
Definition: Neighbourhood.h:173
cloudViewer::Neighbourhood::Sphericity
@ Sphericity
Definition: Neighbourhood.h:171
MainWindow::removeObjectTemporarilyFromDBTree
ccHObjectContext removeObjectTemporarilyFromDBTree(ccHObject *obj) override
Removes object temporarily from DB tree.
Definition: MainWindow.cpp:3776
ecvUtils::DisplayLockedVerticesWarning
void DisplayLockedVerticesWarning(const QString &meshName, bool displayAsError)
Display a warning or error for locked verts.
Definition: ecvUtils.cpp:13
cloudViewer::Neighbourhood::PCA2
@ PCA2
Definition: Neighbourhood.h:169
CC_LOCAL_SURF_DENSITY_FIELD_NAME
#define CC_LOCAL_SURF_DENSITY_FIELD_NAME
Definition: ecvCommon.h:25
CC_GRADIENT_NORMS_FIELD_NAME
#define CC_GRADIENT_NORMS_FIELD_NAME
Definition: ecvCommon.h:32
ecvHObject.h
ccHObjectCaster::ToGenericPointCloud
static ccGenericPointCloud * ToGenericPointCloud(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccGenericPointCloud.
Definition: ecvHObjectCaster.cpp:81
cloudViewer::Neighbourhood::Omnivariance
@ Omnivariance
Definition: Neighbourhood.h:163
ecvOctree.h
cloudViewer::Neighbourhood::Planarity
@ Planarity
Definition: Neighbourhood.h:166
cloudViewer::PointCloudTpl::setCurrentScalarField
void setCurrentScalarField(int index)
Sets both the INPUT & OUTPUT scalar field.
Definition: PointCloudTpl.h:435
ccLibAlgorithms::ApplyCCLibAlgorithm
bool ApplyCCLibAlgorithm(CC_LIB_ALGORITHM algo, ccHObject::Container &entities, QWidget *parent, void **additionalParameters)
Definition: ecvLibAlgorithms.cpp:395
ecvPointCloud.h
CC_CURVATURE_MEAN_FIELD_NAME
#define CC_CURVATURE_MEAN_FIELD_NAME
Definition: ecvCommon.h:30
ecvCommon.h
ccScalarField
A scalar field associated to display-related parameters.
Definition: ecvScalarField.h:19
ccLibAlgorithms::PCA_MAX_DIM
@ PCA_MAX_DIM
Definition: ecvLibAlgorithms.h:76
cloudViewer::BoundingBoxTpl::computeVolume
double computeVolume() const
Returns the bounding-box volume.
Definition: BoundingBox.h:192
ccHObject::getViewId
QString getViewId() const
Definition: ecvHObject.h:225