ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvCommandLineCommands.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 
10 #include <QStringList>
11 
13 
15  CommandChangeOutputFormat(const QString& name, const QString& keyword);
16 
18  QString& defaultExt);
19 };
20 
23 
24  bool process(ccCommandLineInterface& cmd) override;
25 };
26 
29 
30  bool process(ccCommandLineInterface& cmd) override;
31 };
32 
35 
36  bool process(ccCommandLineInterface& cmd) override;
37 };
38 
40  CommandLoad();
41 
42  bool process(ccCommandLineInterface& cmd) override;
43 };
44 
47 
48  bool process(ccCommandLineInterface& cmd) override;
49 };
50 
53 
54  bool process(ccCommandLineInterface& cmd) override;
55 };
56 
59 
60  bool process(ccCommandLineInterface& cmd) override;
61 };
62 
66 
67  bool process(ccCommandLineInterface& cmd) override;
68 };
69 
72 
73  bool process(ccCommandLineInterface& cmd) override;
74 };
75 
78 
79  bool process(ccCommandLineInterface& cmd) override;
80 };
81 
84 
85  bool process(ccCommandLineInterface& cmd) override;
86 };
87 
90 
91  bool process(ccCommandLineInterface& cmd) override;
92 };
93 
96 
97  bool process(ccCommandLineInterface& cmd) override;
98 };
99 
101  CommandDensity();
102 
103  bool process(ccCommandLineInterface& cmd) override;
104 };
105 
108 
109  bool process(ccCommandLineInterface& cmd) override;
110 };
111 
114 
115  bool process(ccCommandLineInterface& cmd) override;
116 };
117 
120 
121  bool process(ccCommandLineInterface& cmd) override;
122 };
123 
126 
127  bool process(ccCommandLineInterface& cmd) override;
128 };
129 
132 
133  bool process(ccCommandLineInterface& cmd) override;
134 };
135 
138 
139  bool process(ccCommandLineInterface& cmd) override;
140 };
141 
144 
145  bool process(ccCommandLineInterface& cmd) override;
146 };
147 
150 
151  bool process(ccCommandLineInterface& cmd) override;
152 };
153 
156 
157  bool process(ccCommandLineInterface& cmd) override;
158 };
159 
162 
163  bool process(ccCommandLineInterface& cmd) override;
164 };
165 
168 
169  bool process(ccCommandLineInterface& cmd) override;
170 };
171 
174 
175  bool process(ccCommandLineInterface& cmd) override;
176 };
177 
179  CommandRemoveSF();
180 
181  bool process(ccCommandLineInterface& cmd) override;
182 
183  bool removeSF(int sfIndex, ccPointCloud& pc);
184 };
185 
188 
189  bool process(ccCommandLineInterface& cmd) override;
190 };
191 
194 
195  bool process(ccCommandLineInterface& cmd) override;
196 };
197 
200 
201  bool process(ccCommandLineInterface& cmd) override;
202 };
203 
206 
207  bool process(ccCommandLineInterface& cmd) override;
208 };
209 
212 
213  bool process(ccCommandLineInterface& cmd) override;
214 };
215 
218 
219  bool process(ccCommandLineInterface& cmd) override;
220 };
221 
224 
225  bool process(ccCommandLineInterface& cmd) override;
226 };
227 
230 
231  bool process(ccCommandLineInterface& cmd) override;
232 };
233 
236 
237  bool process(ccCommandLineInterface& cmd) override;
238 };
239 
241  CommandCrop();
242 
243  bool process(ccCommandLineInterface& cmd) override;
244 };
245 
248 
249  bool process(ccCommandLineInterface& cmd) override;
250 };
251 
253  CommandCrop2D();
254 
255  bool process(ccCommandLineInterface& cmd) override;
256 };
257 
260 
261  bool process(ccCommandLineInterface& cmd) override;
262 };
263 
265  CommandDist(bool cloud2meshDist,
266  const QString& name,
267  const QString& keyword);
268 
269  bool process(ccCommandLineInterface& cmd) override;
270 
272 };
273 
274 struct CommandC2MDist : public CommandDist {
275  CommandC2MDist();
276 };
277 
278 struct CommandC2CDist : public CommandDist {
279  CommandC2CDist();
280 };
281 
283  CommandCPS();
284 
285  bool process(ccCommandLineInterface& cmd) override;
286 };
287 
289  CommandStatTest();
290 
291  bool process(ccCommandLineInterface& cmd) override;
292 };
293 
296 
297  bool process(ccCommandLineInterface& cmd) override;
298 };
299 
302 
303  bool process(ccCommandLineInterface& cmd) override;
304 };
305 
308 
309  bool process(ccCommandLineInterface& cmd) override;
310 };
311 
313  CommandSFRename();
314 
315  bool process(ccCommandLineInterface& cmd) override;
316 };
317 
319  CommandICP();
320 
321  bool process(ccCommandLineInterface& cmd) override;
322 };
323 
326 
327  bool process(ccCommandLineInterface& cmd) override;
328 };
329 
332 
333  bool process(ccCommandLineInterface& cmd) override;
334 };
335 
337  CommandSave(const QString& name, const QString& keyword);
338 
339  static bool ParseFileNames(ccCommandLineInterface& cmd,
340  QStringList& fileNames);
341 
342  static void SetFileDesc(CLEntityDesc& desc, const QString& fileName);
343 };
344 
347 
348  bool process(ccCommandLineInterface& cmd) override;
349 };
350 
353 
354  bool process(ccCommandLineInterface& cmd) override;
355 };
356 
358  CommandAutoSave();
359 
360  bool process(ccCommandLineInterface& cmd) override;
361 };
362 
364  CommandLogFile();
365 
366  bool process(ccCommandLineInterface& cmd) override;
367 };
368 
370  CommandClear();
371 
372  bool process(ccCommandLineInterface& cmd) override;
373 };
374 
377 
378  bool process(ccCommandLineInterface& cmd) override;
379 };
380 
383 
384  bool process(ccCommandLineInterface& cmd) override;
385 };
386 
389 
390  bool process(ccCommandLineInterface& cmd) override;
391 };
392 
395 
396  bool process(ccCommandLineInterface& cmd) override;
397 };
398 
401 
402  bool process(ccCommandLineInterface& cmd) override;
403 };
404 
406  CommandMoment();
407 
408  bool process(ccCommandLineInterface& cmd) override;
409 };
410 
412  CommandFeature();
413 
414  bool process(ccCommandLineInterface& cmd) override;
415 };
ccGenericPointCloud::computeOctree
virtual ccOctree::Shared computeOctree(cloudViewer::GenericProgressCallback *progressCb=nullptr, bool autoAddChild=true)
Computes the cloud octree.
Definition: ecvGenericPointCloud.cpp:124
CommandDelaunayTri
Definition: ecvCommandLineCommands.h:294
CommandPopMeshes
Definition: ecvCommandLineCommands.h:393
TRI
@ TRI
Definition: CVConst.h: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
AsciiFilter::SetDefaultSkippedLineCount
static void SetDefaultSkippedLineCount(int count)
Sets the default number of skipped lines (at loading time)
Definition: AsciiFilter.cpp:43
COMMAND_SAMPLE_MESH
constexpr char COMMAND_SAMPLE_MESH[]
Definition: ecvCommandLineCommands.cpp:93
ccCommandLineInterface::saveClouds
virtual bool saveClouds(QString suffix=QString(), bool allAtOnce=false, const QString *allAtOnceFileName=nullptr)=0
Saves all clouds.
cloudViewer::DistanceComputationTools::Cloud2CloudDistancesComputationParams
Cloud-to-cloud "Hausdorff" distance computation parameters.
Definition: DistanceComputationTools.h:34
cloudViewer::ICPRegistrationTools::Parameters::samplingLimit
unsigned samplingLimit
Definition: RegistrationTools.h:189
QtCompat::endl
QTextStream & endl(QTextStream &stream)
Definition: QtCompat.h:718
ccCommandLineInterface::toggleAutoSaveMode
void toggleAutoSaveMode(bool state)
Definition: ecvCommandLineInterface.cpp:151
CommandSaveClouds::CommandSaveClouds
CommandSaveClouds()
Definition: ecvCommandLineCommands.cpp:5027
CommandConvertNormalsToDipAndDipDir::CommandConvertNormalsToDipAndDipDir
CommandConvertNormalsToDipAndDipDir()
Definition: ecvCommandLineCommands.cpp:877
COMMAND_ICP_MIN_ERROR_DIIF
constexpr char COMMAND_ICP_MIN_ERROR_DIIF[]
Definition: ecvCommandLineCommands.cpp:118
COMMAND_MAX_THREAD_COUNT
constexpr char COMMAND_MAX_THREAD_COUNT[]
Definition: ecvCommandLineCommands.cpp:155
ccHObject::detachChild
void detachChild(ccHObject *child)
Detaches a specific child.
Definition: ecvHObject.cpp:988
filename
std::string filename
Definition: PointCloudIO.cpp:47
NormalDistribution.h
ccGenericMesh::showNormals
void showNormals(bool state) override
Sets normals visibility.
Definition: ecvGenericMesh.cpp:44
ccCommandLineInterface::meshExportFormat
virtual QString meshExportFormat() const =0
Returns the current mesh(es) export format.
cloudViewer::Neighbourhood::Linearity
@ Linearity
Definition: Neighbourhood.h:167
ecvCropTool.h
COMMAND_LOG_FILE
constexpr char COMMAND_LOG_FILE[]
Definition: ecvCommandLineCommands.cpp:139
ccEntityAction::convertNormalsTo
bool convertNormalsTo(const ccHObject::Container &selectedEntities, NORMAL_CONVERSION_DEST dest)
Converts a cloud's normals.
Definition: ecvEntityAction.cpp:1951
CommandSFConvertToRGB::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1980
COMMAND_ICP_RANDOM_SAMPLING_LIMIT
constexpr char COMMAND_ICP_RANDOM_SAMPLING_LIMIT[]
Definition: ecvCommandLineCommands.cpp:122
cloudViewer::GeometricalAnalysisTools::Roughness
@ Roughness
Definition: GeometricalAnalysisTools.h:31
cloudViewer::AutoSegmentationTools::labelConnectedComponents
static int labelConnectedComponents(GenericIndexedCloudPersist *theCloud, unsigned char level, bool sixConnexity=false, cloudViewer::GenericProgressCallback *progressCb=nullptr, cloudViewer::DgmOctree *inputOctree=nullptr)
Labels connected components from a point cloud.
Definition: AutoSegmentationTools.cpp:22
CommandSFGradient::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1694
ccDrawableObject::showNormals
virtual void showNormals(bool state)
Sets normals visibility.
Definition: ecvDrawableObject.h:93
cloudViewer::WeibullDistribution::setParameters
bool setParameters(ScalarType a, ScalarType b, ScalarType valueShift=0)
Sets the distribution parameters.
Definition: WeibullDistribution.cpp:112
cloudViewer::CloudSamplingTools::SFModulationParams::enabled
bool enabled
Whether the modulation is enabled or not.
Definition: CloudSamplingTools.h:144
cloudViewer::GeometricalAnalysisTools::DENSITY_2D
@ DENSITY_2D
Definition: GeometricalAnalysisTools.h:39
CommandApplyTransformation::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1849
CommandMatchBBCenters::CommandMatchBBCenters
CommandMatchBBCenters()
Definition: ecvCommandLineCommands.cpp:2662
OPTION_FIRST
constexpr char OPTION_FIRST[]
Definition: ecvCommandLineCommands.cpp:162
CommandChangePLYExportFormat::CommandChangePLYExportFormat
CommandChangePLYExportFormat()
Definition: ecvCommandLineCommands.cpp:4939
octreeLevel
unsigned char octreeLevel
Definition: qCanupoTools.cpp:38
OPTION_LAST
constexpr char OPTION_LAST[]
Definition: ecvCommandLineCommands.cpp:163
COMMAND_HIERARCHY_EXPORT_FORMAT
constexpr char COMMAND_HIERARCHY_EXPORT_FORMAT[]
Definition: ecvCommandLineCommands.cpp:60
cloudViewer::ICPRegistrationTools::Parameters::adjustScale
bool adjustScale
Definition: RegistrationTools.h:181
cloudViewer::ICPRegistrationTools::MAX_ITER_CONVERGENCE
@ MAX_ITER_CONVERGENCE
Definition: RegistrationTools.h:127
ecvLibAlgorithms.h
ccScalarField::computeMinAndMax
void computeMinAndMax() override
Determines the min and max values.
Definition: ecvScalarField.cpp:145
AsciiFilter::SetOutputSFPrecision
static void SetOutputSFPrecision(int prec)
Sets the default output scalar values precision (as saving time)
Definition: AsciiFilter.cpp:51
CommandRemoveAllSFs::CommandRemoveAllSFs
CommandRemoveAllSFs()
Definition: ecvCommandLineCommands.cpp:2487
CommandRemoveAllSFs::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2491
cloudViewer::BoundingBoxTpl::getCenter
Vector3Tpl< T > getCenter() const
Returns center.
Definition: BoundingBox.h:164
COMMAND_SF_OP
constexpr char COMMAND_SF_OP[]
Definition: ecvCommandLineCommands.cpp:112
ReadDensityType
static bool ReadDensityType(ccCommandLineInterface &cmd, cloudViewer::GeometricalAnalysisTools::Density &density)
Definition: ecvCommandLineCommands.cpp:1536
USE_DISP_MIN
@ USE_DISP_MIN
Definition: ecvCommandLineCommands.cpp:2053
CommandRemoveScanGrids::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2642
CommandComputeMeshVolume::CommandComputeMeshVolume
CommandComputeMeshVolume()
Definition: ecvCommandLineCommands.cpp:2260
Tuple3Tpl::x
Type x
Definition: CVGeom.h:137
COMMAND_ICP_ROT
constexpr char COMMAND_ICP_ROT[]
Definition: ecvCommandLineCommands.cpp:126
CV_LOCAL_MODEL_TYPES
CV_LOCAL_MODEL_TYPES
Definition: CVConst.h:121
CloudSamplingTools.h
cloudViewer::GenericDistribution
A generic class to handle a probability distribution.
Definition: GenericDistribution.h:25
cloudViewer::DistanceComputationTools::Cloud2CloudDistancesComputationParams::CPSet
ReferenceCloud * CPSet
Container of (references to) points to store the "Closest Point Set".
Definition: DistanceComputationTools.h:91
cloudViewer::ReferenceCloud::size
unsigned size() const override
Returns the number of points.
Definition: ReferenceCloud.h:41
CommandCPS
Definition: ecvCommandLineCommands.h:282
ccCommandLineInterface::progressDialog
virtual ecvProgressDialog * progressDialog()
Returns a (shared) progress dialog (if any is available)
Definition: ecvCommandLineInterface.cpp:124
cloudViewer::GenericCloud::size
virtual unsigned size() const =0
Returns the number of points.
CommandDelaunayTri::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4170
COMMAND_C2M_DIST_FLIP_NORMALS
constexpr char COMMAND_C2M_DIST_FLIP_NORMALS[]
Definition: ecvCommandLineCommands.cpp:99
cloudViewer::ScalarField::computeMinAndMax
virtual void computeMinAndMax()
Determines the min and max values.
Definition: ScalarField.h:123
CommandRemoveSF::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2533
CommandColorBanding::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3496
CommandChangeHierarchyOutputFormat::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:502
OPTION_FILE_NAMES
constexpr char OPTION_FILE_NAMES[]
Definition: ecvCommandLineCommands.cpp:159
CommandClear::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5205
CommandCrop2D::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3346
COMMAND_CLEAR_MESHES
constexpr char COMMAND_CLEAR_MESHES[]
Definition: ecvCommandLineCommands.cpp:143
COMMAND_ASCII_EXPORT_ADD_PTS_COUNT
constexpr char COMMAND_ASCII_EXPORT_ADD_PTS_COUNT[]
Definition: ecvCommandLineCommands.cpp:58
ccHObject::getParent
ccHObject * getParent() const
Returns parent object.
Definition: ecvHObject.h:245
CommandClearNormals::CommandClearNormals
CommandClearNormals()
Definition: ecvCommandLineCommands.cpp:606
ccMesh::size
virtual unsigned size() const override
Returns the number of triangles.
Definition: ecvMesh.cpp:2143
CommandPopMeshes::CommandPopMeshes
CommandPopMeshes()
Definition: ecvCommandLineCommands.cpp:5238
CommandCurvature::CommandCurvature
CommandCurvature()
Definition: ecvCommandLineCommands.cpp:1463
CommandSFConvertToRGB::CommandSFConvertToRGB
CommandSFConvertToRGB()
Definition: ecvCommandLineCommands.cpp:1976
CommandSubsample
Definition: ecvCommandLineCommands.h:76
CommandMoment::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5260
CommandSFGradient::CommandSFGradient
CommandSFGradient()
Definition: ecvCommandLineCommands.cpp:1690
FileIOFilter::GetFilters
static const FilterContainer & GetFilters()
Returns the set of all registered filters.
Definition: FileIOFilter.cpp:224
CommandSaveClouds
Definition: ecvCommandLineCommands.h:345
ccPlane::Fit
static ccPlane * Fit(cloudViewer::GenericIndexedCloudPersist *cloud, double *rms=0)
Fits a plane primitive on a cloud.
Definition: ecvPlane.cpp:108
cloudViewer::Neighbourhood::EigenEntropy
@ EigenEntropy
Definition: Neighbourhood.h:164
COMMAND_ICP_REFERENCE_IS_FIRST
constexpr char COMMAND_ICP_REFERENCE_IS_FIRST[]
Definition: ecvCommandLineCommands.cpp:117
data
GraphType data
Definition: graph_cut.cc:138
COMMAND_MESH_EXPORT_FORMAT
constexpr char COMMAND_MESH_EXPORT_FORMAT[]
Definition: ecvCommandLineCommands.cpp:59
COMMAND_CLOSEST_POINT_SET
constexpr char COMMAND_CLOSEST_POINT_SET[]
Definition: ecvCommandLineCommands.cpp:101
COMMAND_REMOVE_NORMALS
constexpr char COMMAND_REMOVE_NORMALS[]
Definition: ecvCommandLineCommands.cpp:86
ccComparisonDlg::CLOUDMESH_DIST
@ CLOUDMESH_DIST
Definition: ecvComparisonDlg.h:32
ccCommandLineInterface::cloudExportFormat
virtual QString cloudExportFormat() const =0
Returns the current cloud(s) export format.
cloudViewer::GeometricalAnalysisTools::DENSITY_3D
@ DENSITY_3D
Definition: GeometricalAnalysisTools.h:42
ccCommandLineInterface::clouds
virtual std::vector< CLCloudDesc > & clouds()
Currently opened point clouds and their filename.
Definition: ecvCommandLineInterface.cpp:133
COMMAND_CLOUD_EXPORT_FORMAT
constexpr char COMMAND_CLOUD_EXPORT_FORMAT[]
Definition: ecvCommandLineCommands.cpp:53
CVConst.h
ccCommandLineInterface::widgetParent
virtual QDialog * widgetParent()
Returns a (widget) parent (if any is available)
Definition: ecvCommandLineInterface.cpp:126
ccHObjectCaster::ToPointCloud
static ccPointCloud * ToPointCloud(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccPointCloud.
Definition: ecvHObjectCaster.cpp:54
ccColorScale::Shared
QSharedPointer< ccColorScale > Shared
Shared pointer type.
Definition: ecvColorScale.h:74
CommandDist::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3597
OPTION_BILATERAL
constexpr char OPTION_BILATERAL[]
Definition: ecvCommandLineCommands.cpp:176
CommandOrientNormalsMST::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2865
ccCommandLineInterface::fileLoadingParams
virtual CLLoadParameters & fileLoadingParams()
File loading parameters.
Definition: ecvCommandLineInterface.cpp:129
CommandSaveMeshes
Definition: ecvCommandLineCommands.h:351
CV_TYPES::MESH
@ MESH
Definition: CVTypes.h:105
OPTION_ORIENT
constexpr char OPTION_ORIENT[]
Definition: ecvCommandLineCommands.cpp:160
ccCommandLineInterface::ExportOption
ExportOption
Definition: ecvCommandLineInterface.h:119
CommandExtractCCs
Definition: ecvCommandLineCommands.h:82
ccCommandLineInterface::setMeshExportFormat
virtual void setMeshExportFormat(QString format, QString ext)=0
Sets the current mesh(es) export format and extension.
CommandApplyTransformation
Definition: ecvCommandLineCommands.h:118
CommandSetActiveSF::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2444
cloudViewer::CloudSamplingTools
Several point cloud resampling algorithms (octree-based, random, etc.)
Definition: CloudSamplingTools.h:25
CommandSaveMeshes::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5094
USE_N_SIGMA_MIN
@ USE_N_SIGMA_MIN
Definition: ecvCommandLineCommands.cpp:2055
CommandRoughness::CommandRoughness
CommandRoughness()
Definition: ecvCommandLineCommands.cpp:1765
cloudViewer::Neighbourhood::SurfaceVariation
@ SurfaceVariation
Definition: Neighbourhood.h:170
CommandStatTest::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3948
USE_N_SIGMA_MAX
@ USE_N_SIGMA_MAX
Definition: ecvCommandLineCommands.cpp:2059
ccObject::setName
virtual void setName(const QString &name)
Sets object name.
Definition: ecvObject.h:75
CommandSetActiveSF
Definition: ecvCommandLineCommands.h:166
ccCommandLineInterface::error
virtual bool error(const QString &message) const =0
COMMAND_CROP
constexpr char COMMAND_CROP[]
Definition: ecvCommandLineCommands.cpp:94
COMMAND_ASCII_EXPORT_ADD_COL_HEADER
constexpr char COMMAND_ASCII_EXPORT_ADD_COL_HEADER[]
Definition: ecvCommandLineCommands.cpp:57
ccObject::isA
bool isA(CV_CLASS_ENUM type) const
Definition: ecvObject.h:131
ccBBox
Bounding box structure.
Definition: ecvBBox.h:25
cloudViewer::PointCloudTpl::getNumberOfScalarFields
unsigned getNumberOfScalarFields() const
Returns the number of associated (and active) scalar fields.
Definition: PointCloudTpl.h:345
CommandConvertNormalsToDipAndDipDir
Definition: ecvCommandLineCommands.h:63
ccShiftedObject::setGlobalScale
virtual void setGlobalScale(double scale)
Definition: ecvShiftedObject.cpp:33
cloudViewer::NormalDistribution::setParameters
bool setParameters(ScalarType _mu, ScalarType _sigma2)
Sets the distribution parameters.
Definition: NormalDistribution.cpp:43
OPTION_GAUSSIAN
constexpr char OPTION_GAUSSIAN[]
Definition: ecvCommandLineCommands.cpp:175
cloudViewer::CloudSamplingTools::SFModulationParams
Parameters for the scalar-field based modulation of a parameter.
Definition: CloudSamplingTools.h:138
ccGLMatrixTpl::setTranslation
void setTranslation(const Vector3Tpl< float > &Tr)
Sets translation (float version)
Definition: ecvGLMatrixTpl.h:836
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
CommandPopClouds
Definition: ecvCommandLineCommands.h:381
CV_TYPES::POINT_CLOUD
@ POINT_CLOUD
Definition: CVTypes.h:104
CommandSFArithmetic
Definition: ecvCommandLineCommands.h:300
CommandRoughness
Definition: ecvCommandLineCommands.h:112
ccGenericMesh::getAssociatedCloud
virtual ccGenericPointCloud * getAssociatedCloud() const =0
Returns the vertices cloud.
CLCloudDesc::pc
ccPointCloud * pc
Definition: ecvCommandLineInterface.h:69
ccColorScale::LoadFromXML
static Shared LoadFromXML(QString filename)
Loads a color scale from an XML file.
Definition: ecvColorScale.cpp:460
cloudViewer::GeometricalAnalysisTools::DENSITY_KNN
@ DENSITY_KNN
Definition: GeometricalAnalysisTools.h:37
USE_MIN
@ USE_MIN
Definition: ecvCommandLineCommands.cpp:2052
ecvEntityAction.h
CommandChangeMeshOutputFormat
Definition: ecvCommandLineCommands.h:27
AutoSegmentationTools.h
ccCommandLineInterface::setHierarchyExportFormat
virtual void setHierarchyExportFormat(QString format, QString ext)=0
Sets the current hierarchy(ies) export format and extension.
GetScalarFieldIndex
int GetScalarFieldIndex(ccPointCloud *cloud, int sfIndex, const QString &sfName, bool minusOneMeansCurrent=false)
Definition: ecvCommandLineCommands.cpp:220
cloudViewer::GeometricalAnalysisTools::Feature
@ Feature
Definition: GeometricalAnalysisTools.h:25
CommandSFOperation::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4373
cloudViewer::GeometricalAnalysisTools::Density
Density
Density measurement.
Definition: GeometricalAnalysisTools.h:36
CommandFeature::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5307
AsciiFilter::SaveColumnsNamesHeader
static void SaveColumnsNamesHeader(bool state)
Definition: AsciiFilter.cpp:59
ccCommandLineInterface::nextCommandIsGlobalShift
bool nextCommandIsGlobalShift() const
Returns whether the nex command is the '-GLOBAL_SHIFT' option.
Definition: ecvCommandLineInterface.cpp:167
CLEntityDesc::basename
QString basename
Definition: ecvCommandLineInterface.h:35
cloudViewer::GeometricalAnalysisTools::Curvature
@ Curvature
Definition: GeometricalAnalysisTools.h:26
COMMAND_REMOVE_SCAN_GRIDS
constexpr char COMMAND_REMOVE_SCAN_GRIDS[]
Definition: ecvCommandLineCommands.cpp:84
CommandInvertNormal::CommandInvertNormal
CommandInvertNormal()
Definition: ecvCommandLineCommands.cpp:655
cloudViewer::PointCloudTpl::size
unsigned size() const override
Definition: PointCloudTpl.h:38
ccPointCloud::orientNormalsWithMST
bool orientNormalsWithMST(unsigned kNN=6, ecvProgressDialog *pDlg=nullptr)
Orient the normals with a Minimum Spanning Tree.
Definition: ecvPointCloud.cpp:5568
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
OPTION_CLOUD
constexpr char OPTION_CLOUD[]
Definition: ecvCommandLineCommands.cpp:167
CommandClearMeshes
Definition: ecvCommandLineCommands.h:387
ccCommandLineInterface::saveMeshes
virtual bool saveMeshes(QString suffix=QString(), bool allAtOnce=false, const QString *allAtOnceFileName=nullptr)=0
Saves all meshes.
ecvConsole::Init
static void Init(QListWidget *textDisplay=nullptr, QWidget *parentWidget=nullptr, MainWindow *parentWindow=nullptr, bool redirectToStdOut=false)
Inits console (and optionaly associates it with a text output widget)
Definition: ecvConsole.cpp:178
USE_DISP_MAX
@ USE_DISP_MAX
Definition: ecvCommandLineCommands.cpp:2057
ccScalarField::setSaturationStart
void setSaturationStart(ScalarType val)
Sets the value at which to start color gradient.
Definition: ecvScalarField.cpp:266
cloudViewer::DELAUNAY_2D_AXIS_ALIGNED
@ DELAUNAY_2D_AXIS_ALIGNED
Definition: PointProjectionTools.h:23
cloudViewer::ScalarField
A simple scalar field (to be associated to a point cloud)
Definition: ScalarField.h:25
USE_SAT_MIN
@ USE_SAT_MIN
Definition: ecvCommandLineCommands.cpp:2054
ccNormalVectors::ConvertNormalToDipAndDipDir
static void ConvertNormalToDipAndDipDir(const CCVector3 &N, PointCoordinateType &dip_deg, PointCoordinateType &dipDir_deg)
Converts a normal vector to geological 'dip direction & dip' parameters.
Definition: ecvNormalVectors.cpp:848
CommandExtractVertices::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3030
CommandChangePLYExportFormat
Definition: ecvCommandLineCommands.h:324
ecvScalarFieldArithmeticsDlg.h
CommandICP
Definition: ecvCommandLineCommands.h:318
CommandStatTest
Definition: ecvCommandLineCommands.h:288
StatisticalTestingTools.h
cloudViewer::CloudSamplingTools::SFModulationParams::b
double b
Modulation scheme: y = a.sf + b.
Definition: CloudSamplingTools.h:148
cloudViewer::Neighbourhood::EigenValue3
@ EigenValue3
Definition: Neighbourhood.h:175
ccComparisonDlg::computeDistances
bool computeDistances()
Definition: ecvComparisonDlg.cpp:678
OPTION_USE_ACTIVE_SF
constexpr char OPTION_USE_ACTIVE_SF[]
Definition: ecvCommandLineCommands.cpp:172
ccPlane::getNormal
CCVector3 getNormal() const override
Returns the entity normal.
Definition: ecvPlane.h:73
ecvNormalVectors.h
COMMAND_COORD_TO_SF
constexpr char COMMAND_COORD_TO_SF[]
Definition: ecvCommandLineCommands.cpp:114
GetScalarField
cloudViewer::ScalarField * GetScalarField(ccPointCloud *cloud, int sfIndex, const QString &sfName, bool minusOneMeansCurrent=false)
Definition: ecvCommandLineCommands.cpp:264
cloudViewer::CloudSamplingTools::subsampleCloudRandomly
static ReferenceCloud * subsampleCloudRandomly(GenericIndexedCloudPersist *cloud, unsigned newNumberOfPoints, GenericProgressCallback *progressCb=nullptr)
Subsamples a point cloud (process based on random selections)
Definition: CloudSamplingTools.cpp:202
COMMAND_ASCII_EXPORT_PRECISION
constexpr char COMMAND_ASCII_EXPORT_PRECISION[]
Definition: ecvCommandLineCommands.cpp:55
COMMAND_VERBOSITY
constexpr char COMMAND_VERBOSITY[]
Definition: ecvCommandLineCommands.cpp:151
cloudViewer::Neighbourhood::Anisotropy
@ Anisotropy
Definition: Neighbourhood.h:165
CommandSFColorScale::CommandSFColorScale
CommandSFColorScale()
Definition: ecvCommandLineCommands.cpp:1932
ccCommandLineInterface::silentMode
bool silentMode() const
Returns the silent mode.
Definition: ecvCommandLineInterface.cpp:149
CommandSubsample::CommandSubsample
CommandSubsample()
Definition: ecvCommandLineCommands.cpp:965
ccPointCloud::exportCoordToSF
bool exportCoordToSF(bool exportDims[3])
Exports the specified coordinate dimension(s) to scalar field(s)
Definition: ecvPointCloud.cpp:5876
ccPointCloud::convertCurrentScalarFieldToColors
bool convertCurrentScalarFieldToColors(bool mixWithExistingColor=false)
Definition: ecvPointCloud.cpp:2039
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::DgmOctree::MAX_OCTREE_LEVEL
static const int MAX_OCTREE_LEVEL
Max octree subdivision level.
Definition: DgmOctree.h:67
COMMAND_FILTER_SF_BY_VALUE
constexpr char COMMAND_FILTER_SF_BY_VALUE[]
Definition: ecvCommandLineCommands.cpp:78
CommandRemoveSF::CommandRemoveSF
CommandRemoveSF()
Definition: ecvCommandLineCommands.cpp:2513
CommandDropGlobalShift::CommandDropGlobalShift
CommandDropGlobalShift()
Definition: ecvCommandLineCommands.cpp:1902
CommandRemoveNormals::CommandRemoveNormals
CommandRemoveNormals()
Definition: ecvCommandLineCommands.cpp:2608
CommandSampleMesh::CommandSampleMesh
CommandSampleMesh()
Definition: ecvCommandLineCommands.cpp:3073
COMMAND_ICP_USE_MODEL_SF_AS_WEIGHT
constexpr char COMMAND_ICP_USE_MODEL_SF_AS_WEIGHT[]
Definition: ecvCommandLineCommands.cpp:124
ccOctree::Shared
QSharedPointer< ccOctree > Shared
Shared pointer.
Definition: ecvOctree.h:32
COMMAND_CURVATURE
constexpr char COMMAND_CURVATURE[]
Definition: ecvCommandLineCommands.cpp:67
ecvPlane.h
CommandFeature
Definition: ecvCommandLineCommands.h:411
ccHObject::Container
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
ccMesh::getAssociatedCloud
ccGenericPointCloud * getAssociatedCloud() const override
Returns the vertices cloud.
Definition: ecvMesh.h:143
CCVector3
Vector3Tpl< PointCoordinateType > CCVector3
Default 3D Vector.
Definition: CVGeom.h:798
ccCommandLineInterface::GlobalShiftOptions
Global Shift options.
Definition: ecvCommandLineInterface.h:221
COMMAND_SF_CONVERT_TO_RGB
constexpr char COMMAND_SF_CONVERT_TO_RGB[]
Definition: ecvCommandLineCommands.cpp:77
ccHObjectCaster::ToMesh
static ccMesh * ToMesh(ccHObject *obj)
Converts current object to ccMesh (if possible)
Definition: ecvHObjectCaster.cpp:129
CommandCrop::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3158
COMMAND_DELAUNAY_MAX_EDGE_LENGTH
constexpr char COMMAND_DELAUNAY_MAX_EDGE_LENGTH[]
Definition: ecvCommandLineCommands.cpp:110
ccCommandLineInterface::numericalPrecision
int numericalPrecision() const
Returns the numerical precision.
Definition: ecvCommandLineInterface.cpp:165
COMMAND_BEST_FIT_PLANE_KEEP_LOADED
constexpr char COMMAND_BEST_FIT_PLANE_KEEP_LOADED[]
Definition: ecvCommandLineCommands.cpp:90
ccNormalVectors::GuessBestRadius
static PointCoordinateType GuessBestRadius(ccGenericPointCloud *cloud, cloudViewer::DgmOctree *cloudOctree=nullptr, cloudViewer::GenericProgressCallback *progressCb=nullptr)
Definition: ecvNormalVectors.cpp:236
ccPointCloud::setCurrentDisplayedScalarField
void setCurrentDisplayedScalarField(int index)
Sets the currently displayed scalar field.
Definition: ecvPointCloud.cpp:3227
cloudViewer::Neighbourhood::PCA1
@ PCA1
Definition: Neighbourhood.h:168
COMMAND_RGB_CONVERT_TO_SF
constexpr char COMMAND_RGB_CONVERT_TO_SF[]
Definition: ecvCommandLineCommands.cpp:148
CommandFeature::CommandFeature
CommandFeature()
Definition: ecvCommandLineCommands.cpp:5303
CommandMatchBestFitPlane
Definition: ecvCommandLineCommands.h:210
cloudViewer::PointCloudTpl::getScalarField
ScalarField * getScalarField(int index) const
Returns a pointer to a specific scalar field.
Definition: PointCloudTpl.h:354
ccCommandLineInterface::meshes
virtual std::vector< CLMeshDesc > & meshes()
Currently opened meshes and their filename.
Definition: ecvCommandLineInterface.cpp:139
ccComparisonDlg::applyAndExit
void applyAndExit()
Definition: ecvComparisonDlg.cpp:1002
COMMAND_SF_ARITHMETIC
constexpr char COMMAND_SF_ARITHMETIC[]
Definition: ecvCommandLineCommands.cpp:111
CommandRemoveScanGrids::CommandRemoveScanGrids
CommandRemoveScanGrids()
Definition: ecvCommandLineCommands.cpp:2638
result
core::Tensor result
Definition: VtkUtils.cpp:76
ccCommandLineInterface::setCloudExportFormat
virtual void setCloudExportFormat(QString format, QString ext)=0
Sets the current cloud(s) export format and extension.
COMMAND_CROP_OUTSIDE
constexpr char COMMAND_CROP_OUTSIDE[]
Definition: ecvCommandLineCommands.cpp:95
ccGenericPointCloud::getOctree
virtual ccOctree::Shared getOctree() const
Returns the associated octree (if any)
Definition: ecvGenericPointCloud.cpp:97
COMMAND_REMOVE_ALL_SFS
constexpr char COMMAND_REMOVE_ALL_SFS[]
Definition: ecvCommandLineCommands.cpp:82
CommandSampleMesh::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3077
ccCommandLineInterface::addTimestamp
bool addTimestamp() const
Definition: ecvCommandLineInterface.cpp:161
cloudViewer::Neighbourhood::MEAN_CURV
@ MEAN_CURV
Definition: Neighbourhood.h:42
CommandAutoSave::CommandAutoSave
CommandAutoSave()
Definition: ecvCommandLineCommands.cpp:5155
ecvCommandLineInterface.h
COMMAND_REMOVE_RGB
constexpr char COMMAND_REMOVE_RGB[]
Definition: ecvCommandLineCommands.cpp:85
cloudViewer::AutoSegmentationTools::extractConnectedComponents
static bool extractConnectedComponents(GenericIndexedCloudPersist *theCloud, ReferenceCloudContainer &ccc)
Extracts connected components from a point cloud.
Definition: AutoSegmentationTools.cpp:55
OPTION_ALL_AT_ONCE
constexpr char OPTION_ALL_AT_ONCE[]
Definition: ecvCommandLineCommands.cpp:156
CVLog::Error
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
ecvConsole.h
CommandSFOperation::CommandSFOperation
CommandSFOperation()
Definition: ecvCommandLineCommands.cpp:4369
CommandClearClouds
Definition: ecvCommandLineCommands.h:375
CommandConvertNormalsToSFs::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:926
COMMAND_RENAME_SF
constexpr char COMMAND_RENAME_SF[]
Definition: ecvCommandLineCommands.cpp:113
CommandRemoveRGB
Definition: ecvCommandLineCommands.h:186
cloudViewer::Neighbourhood::Verticality
@ Verticality
Definition: Neighbourhood.h:172
ccDrawableObject::showColors
virtual void showColors(bool state)
Sets colors visibility.
Definition: ecvDrawableObject.h:84
cloudViewer::ReferenceCloud::addPointIndex
virtual bool addPointIndex(unsigned globalIndex)
Point global index insertion mechanism.
Definition: ReferenceCloud.cpp:84
ccScalarFieldArithmeticsDlg::INVALID
@ INVALID
Definition: ecvScalarFieldArithmeticsDlg.h:46
cloudViewer::WeibullDistribution
The Weibull statistical parametric distribution.
Definition: WeibullDistribution.h:18
CommandCrop2D::CommandCrop2D
CommandCrop2D()
Definition: ecvCommandLineCommands.cpp:3343
size
int size
Definition: FileIOFactory.cpp:130
CommandFilterBySFValue::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2062
CommandColorBanding::CommandColorBanding
CommandColorBanding()
Definition: ecvCommandLineCommands.cpp:3492
cloudViewer::PointCloudTpl::getCurrentInScalarFieldIndex
int getCurrentInScalarFieldIndex()
Returns current INPUT scalar field index (or -1 if none)
Definition: PointCloudTpl.h:413
COMMAND_SF_COLOR_SCALE
constexpr char COMMAND_SF_COLOR_SCALE[]
Definition: ecvCommandLineCommands.cpp:76
COMMAND_COMPUTE_OCTREE_NORMALS
constexpr char COMMAND_COMPUTE_OCTREE_NORMALS[]
Definition: ecvCommandLineCommands.cpp:130
CommandSaveMeshes::CommandSaveMeshes
CommandSaveMeshes()
Definition: ecvCommandLineCommands.cpp:5091
CommandApproxDensity::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1567
FileIOFilter::LoadParameters::autoComputeNormals
bool autoComputeNormals
Definition: FileIOFilter.h:76
ccShiftedObject::getGlobalShift
virtual const CCVector3d & getGlobalShift() const
Returns the shift applied to original coordinates.
Definition: ecvShiftedObject.h:46
cloudViewer::ScalarField::getMin
ScalarType getMin() const
Returns the minimum value.
Definition: ScalarField.h:72
CommandClearNormals
Definition: ecvCommandLineCommands.h:45
AsciiFilter::SetOutputCoordsPrecision
static void SetOutputCoordsPrecision(int prec)
Sets the default output coords precision (as saving time)
Definition: AsciiFilter.cpp:47
cloudViewer::ICPRegistrationTools::Parameters::transformationFilters
int transformationFilters
Definition: RegistrationTools.h:204
CommandLoad::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:544
COMMAND_MATCH_BB_CENTERS
constexpr char COMMAND_MATCH_BB_CENTERS[]
Definition: ecvCommandLineCommands.cpp:87
CommandSave
Definition: ecvCommandLineCommands.h:336
CommandSampleMesh
Definition: ecvCommandLineCommands.h:234
CommandAutoSave
Definition: ecvCommandLineCommands.h:357
CommandClearNormals::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:610
cloudViewer::PointCloudTpl::getCurrentOutScalarFieldIndex
int getCurrentOutScalarFieldIndex()
Returns current OUTPUT scalar field index (or -1 if none)
Definition: PointCloudTpl.h:426
CommandMatchBestFitPlane::CommandMatchBestFitPlane
CommandMatchBestFitPlane()
Definition: ecvCommandLineCommands.cpp:2713
COMMAND_MESH_VOLUME
constexpr char COMMAND_MESH_VOLUME[]
Definition: ecvCommandLineCommands.cpp:134
ccScalarFieldArithmeticsDlg::SF2::isConstantValue
bool isConstantValue
Definition: ecvScalarFieldArithmeticsDlg.h:72
OPTION_NUMBER_OF_POINTS
constexpr char OPTION_NUMBER_OF_POINTS[]
Definition: ecvCommandLineCommands.cpp:170
ccMesh::hasNormals
bool hasNormals() const override
Returns whether normals are enabled or not.
Definition: ecvMesh.cpp:225
MeshSamplingTools.h
COMMAND_MERGE_CLOUDS
constexpr char COMMAND_MERGE_CLOUDS[]
Definition: ecvCommandLineCommands.cpp:79
COMMAND_DENSITY
constexpr char COMMAND_DENSITY[]
Definition: ecvCommandLineCommands.cpp:68
CommandSetNoTimestamp::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5251
COMMAND_C2X_OCTREE_LEVEL
constexpr char COMMAND_C2X_OCTREE_LEVEL[]
Definition: ecvCommandLineCommands.cpp:105
ccGLMatrixTpl::applyRotation
void applyRotation(Vector3Tpl< float > &vec) const
Applies rotation only to a 3D vector (in place) - float version.
Definition: ecvGLMatrixTpl.h:1184
CommandLogFile
Definition: ecvCommandLineCommands.h:363
OPTION_PERCENT
constexpr char OPTION_PERCENT[]
Definition: ecvCommandLineCommands.cpp:169
ccGenericPointCloud
A 3D cloud interface with associated features (color, normals, octree, etc.)
Definition: ecvGenericPointCloud.h:45
CommandAutoSave::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5159
COMMAND_SOR_FILTER
constexpr char COMMAND_SOR_FILTER[]
Definition: ecvCommandLineCommands.cpp:92
ccComparisonDlg
Dialog for cloud/cloud or cloud/mesh comparison setting.
Definition: ecvComparisonDlg.h:25
CommandExtractVertices
Definition: ecvCommandLineCommands.h:228
CommandChangeOutputFormat::getFileFormatFilter
QString getFileFormatFilter(ccCommandLineInterface &cmd, QString &defaultExt)
Definition: ecvCommandLineCommands.cpp:280
Vector3Tpl< PointCoordinateType >
CommandChangeOutputFormat
Definition: ecvCommandLineCommands.h:14
cloudViewer::ScalarField::ValidValue
static bool ValidValue(ScalarType value)
Returns whether a scalar value is valid or not.
Definition: ScalarField.h:61
CommandRemoveRGB::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2585
CommandSORFilter::CommandSORFilter
CommandSORFilter()
Definition: ecvCommandLineCommands.cpp:2927
QUADRIC
@ QUADRIC
Definition: CVConst.h:125
cloudViewer::ICPRegistrationTools::Parameters
ICP Parameters.
Definition: RegistrationTools.h:152
CommandLogFile::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5187
WeibullDistribution.h
cloudViewer::ScalarField::getName
const char * getName() const
Returns scalar field name.
Definition: ScalarField.h:43
cloudViewer::StatisticalTestingTools::testCloudWithStatisticalModel
static double testCloudWithStatisticalModel(const GenericDistribution *distrib, GenericIndexedCloudPersist *theCloud, unsigned numberOfNeighbours, double pTrust, GenericProgressCallback *progressCb=nullptr, DgmOctree *inputOctree=nullptr)
Definition: StatisticalTestingTools.cpp:251
cloudViewer::ICPRegistrationTools::NO_NORMAL
@ NO_NORMAL
Definition: RegistrationTools.h:145
USE_MAX
@ USE_MAX
Definition: ecvCommandLineCommands.cpp:2056
CommandChangeMeshOutputFormat::CommandChangeMeshOutputFormat
CommandChangeMeshOutputFormat()
Definition: ecvCommandLineCommands.cpp:455
CommandLoad
Definition: ecvCommandLineCommands.h:39
cloudViewer::PointCloudTpl::getCurrentOutScalarField
ScalarField * getCurrentOutScalarField() const
Returns the scalar field currently associated to the cloud output.
Definition: PointCloudTpl.h:400
CommandRoughness::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1769
cloudViewer::t::geometry::path
static const std::string path
Definition: PointCloud.cpp:59
CommandClearMeshes::CommandClearMeshes
CommandClearMeshes()
Definition: ecvCommandLineCommands.cpp:5229
COMMAND_SAVE_CLOUDS
constexpr char COMMAND_SAVE_CLOUDS[]
Definition: ecvCommandLineCommands.cpp:136
CommandSubsample::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:969
cloudViewer::PointCloudTpl::setCurrentInScalarField
void setCurrentInScalarField(int index)
Sets the INPUT scalar field.
Definition: PointCloudTpl.h:408
COMMAND_SAVE_MESHES
constexpr char COMMAND_SAVE_MESHES[]
Definition: ecvCommandLineCommands.cpp:137
cloudViewer::GreaterThanEpsilon
bool GreaterThanEpsilon(float x)
Test a floating point number against our epsilon (a very small number).
Definition: CVMath.h:37
CommandCrop2D
Definition: ecvCommandLineCommands.h:252
COMMAND_C2X_MAX_DISTANCE
constexpr char COMMAND_C2X_MAX_DISTANCE[]
Definition: ecvCommandLineCommands.cpp:104
OPTION_REGEX
constexpr char OPTION_REGEX[]
Definition: ecvCommandLineCommands.cpp:165
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
ccPointCloud::partialClone
ccPointCloud * partialClone(const cloudViewer::ReferenceCloud *selection, int *warnings=nullptr, bool withChildEntities=true) const
Creates a new point cloud object from a ReferenceCloud (selection)
Definition: ecvPointCloud.cpp:290
ccScalarFieldArithmeticsDlg::DIVIDE
@ DIVIDE
Definition: ecvScalarFieldArithmeticsDlg.h:29
CLEntityDesc::path
QString path
Definition: ecvCommandLineInterface.h:36
cloudViewer::ScalarField::countValidValues
std::size_t countValidValues() const
Returns the number of valid values in this scalar field.
Definition: ScalarField.cpp:29
OPTION_ON
constexpr char OPTION_ON[]
Definition: ecvCommandLineCommands.cpp:157
COMMAND_MERGE_MESHES
constexpr char COMMAND_MERGE_MESHES[]
Definition: ecvCommandLineCommands.cpp:80
std::swap
void swap(cloudViewer::core::SmallVectorImpl< T > &LHS, cloudViewer::core::SmallVectorImpl< T > &RHS)
Implement std::swap in terms of SmallVector swap.
Definition: SmallVector.h:1370
ccHObjectCaster::ToShifted
static ccShiftedObject * ToShifted(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccShiftedObject.
Definition: ecvHObjectCaster.cpp:108
CommandChangeHierarchyOutputFormat::CommandChangeHierarchyOutputFormat
CommandChangeHierarchyOutputFormat()
Definition: ecvCommandLineCommands.cpp:498
OPTION_BLEND_GRAYSCALE
constexpr char OPTION_BLEND_GRAYSCALE[]
Definition: ecvCommandLineCommands.cpp:182
COMMAND_OPEN
constexpr char COMMAND_OPEN[]
Definition: ecvCommandLineCommands.cpp:61
cloudViewer::ICPRegistrationTools::Parameters::normalsMatching
NORMALS_MATCHING normalsMatching
Normals matching method.
Definition: RegistrationTools.h:216
ccHObject::applyGLTransformation_recursive
void applyGLTransformation_recursive(const ccGLMatrix *trans=nullptr)
Applies the active OpenGL transformation to the entity (recursive)
Definition: ecvHObject.cpp:948
CommandLoad::CommandLoad
CommandLoad()
Definition: ecvCommandLineCommands.cpp:541
ccPointCloud::setRGBColorByBanding
bool setRGBColorByBanding(unsigned char dim, double freq)
Assigns color to points by 'banding'.
Definition: ecvPointCloud.cpp:1957
ecvVolumeCalcTool.h
CommandC2CDist::CommandC2CDist
CommandC2CDist()
Definition: ecvCommandLineCommands.cpp:3882
COMMAND_DENSITY_TYPE
constexpr char COMMAND_DENSITY_TYPE[]
Definition: ecvCommandLineCommands.cpp:69
CommandClearMeshes::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5233
ccNormalVectors::ConvertDipAndDipDirToString
static QString ConvertDipAndDipDirToString(PointCoordinateType dip_deg, PointCoordinateType dipDir_deg)
Converts geological 'dip direction & dip' parameters to a string.
Definition: ecvNormalVectors.cpp:815
ccPointCloud::reserve
bool reserve(unsigned numberOfPoints) override
Reserves memory for all the active features.
Definition: ecvPointCloud.cpp:1452
CommandClearClouds::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5215
COMMAND_C2C_DIST
constexpr char COMMAND_C2C_DIST[]
Definition: ecvCommandLineCommands.cpp:100
COMMAND_MOMENT
constexpr char COMMAND_MOMENT[]
Definition: ecvCommandLineCommands.cpp:146
ccCommandLineInterface::removeClouds
virtual void removeClouds(bool onlyLast=false)=0
Removes all clouds (or only the last one ;)
CommandColorBanding
Definition: ecvCommandLineCommands.h:258
ccCropTool::Crop
static ccHObject * Crop(ccHObject *entity, const ccBBox &box, bool inside=true, const ccGLMatrix *meshRotation=0)
Crops the input entity.
Definition: ecvCropTool.cpp:23
COMMAND_CLEAR
constexpr char COMMAND_CLEAR[]
Definition: ecvCommandLineCommands.cpp:140
COMMAND_BEST_FIT_PLANE_MAKE_HORIZ
constexpr char COMMAND_BEST_FIT_PLANE_MAKE_HORIZ[]
Definition: ecvCommandLineCommands.cpp:89
CommandMergeClouds
Definition: ecvCommandLineCommands.h:160
COMMAND_EXTRACT_CC
constexpr char COMMAND_EXTRACT_CC[]
spatial step / octree level)
Definition: ecvCommandLineCommands.cpp:66
CommandSaveClouds::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5030
ecvProgressDialog
Graphical progress indicator (thread-safe)
Definition: ecvProgressDialog.h:27
CommandDropGlobalShift
Definition: ecvCommandLineCommands.h:124
COMMAND_CONVERT_NORMALS_TO_SFS
constexpr char COMMAND_CONVERT_NORMALS_TO_SFS[]
Definition: ecvCommandLineCommands.cpp:132
COMMAND_C2M_DIST
constexpr char COMMAND_C2M_DIST[]
Definition: ecvCommandLineCommands.cpp:98
ccCommandLineInterface::meshExportExt
virtual QString meshExportExt() const =0
Returns the current mesh(es) export extension (warning: can be anything)
cloudViewer::ICPRegistrationTools::Parameters::filterOutFarthestPoints
bool filterOutFarthestPoints
Definition: RegistrationTools.h:185
CLEntityDesc
Loaded entity description.
Definition: ecvCommandLineInterface.h:34
cloudViewer::ScalarField::getMax
ScalarType getMax() const
Returns the maximum value.
Definition: ScalarField.h:74
COMMAND_DEBUG
constexpr char COMMAND_DEBUG[]
Definition: ecvCommandLineCommands.cpp:150
CommandLogFile::CommandLogFile
CommandLogFile()
Definition: ecvCommandLineCommands.cpp:5183
cloudViewer::Neighbourhood
Definition: Neighbourhood.h:25
ccPointCloud::hasNormals
bool hasNormals() const override
Returns whether normals are enabled or not.
Definition: ecvPointCloud.cpp:1693
OPTION_ALL
constexpr char OPTION_ALL[]
Definition: ecvCommandLineCommands.cpp:164
CommandFilterBySFValue
Definition: ecvCommandLineCommands.h:142
ecvScalarField.h
OPTION_MODEL
constexpr char OPTION_MODEL[]
Definition: ecvCommandLineCommands.cpp:161
COMMAND_ROUGHNESS
constexpr char COMMAND_ROUGHNESS[]
Definition: ecvCommandLineCommands.cpp:72
ecvProgressDialog.h
COMMAND_FEATURE
constexpr char COMMAND_FEATURE[]
Definition: ecvCommandLineCommands.cpp:147
ccCommandLineInterface::processGlobalShiftCommand
bool processGlobalShiftCommand(GlobalShiftOptions &options)
Definition: ecvCommandLineInterface.cpp:172
CommandRemoveScanGrids
Definition: ecvCommandLineCommands.h:198
cloudViewer::ICPRegistrationTools::Parameters::convType
CONVERGENCE_TYPE convType
Convergence type.
Definition: RegistrationTools.h:169
COMMAND_ICP_ADJUST_SCALE
constexpr char COMMAND_ICP_ADJUST_SCALE[]
Definition: ecvCommandLineCommands.cpp:121
ccPointCloud::invertNormals
void invertNormals()
Inverts normals (if any)
Definition: ecvPointCloud.cpp:2741
CommandRemoveSF::removeSF
bool removeSF(int sfIndex, ccPointCloud &pc)
Definition: ecvCommandLineCommands.cpp:2517
CommandSFRename::CommandSFRename
CommandSFRename()
Definition: ecvCommandLineCommands.cpp:4487
CommandMergeClouds::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2400
ccGenericMesh
Generic mesh interface.
Definition: ecvGenericMesh.h:28
CommandApproxDensity
Definition: ecvCommandLineCommands.h:94
cloudViewer::Neighbourhood::EigenValue2
@ EigenValue2
Definition: Neighbourhood.h:174
cloudViewer::CloudSamplingTools::sorFilter
static ReferenceCloud * sorFilter(GenericIndexedCloudPersist *cloud, int knn=6, double nSigma=1.0, DgmOctree *octree=nullptr, GenericProgressCallback *progressCb=nullptr)
Statistical Outliers Removal (SOR) filter.
Definition: CloudSamplingTools.cpp:464
cloudViewer::Neighbourhood::EigenValuesSum
@ EigenValuesSum
Definition: Neighbourhood.h:162
CommandSFRename
Definition: ecvCommandLineCommands.h:312
cloudViewer::ICPRegistrationTools::Parameters::nbMaxIterations
unsigned nbMaxIterations
Definition: RegistrationTools.h:177
CommandSFGradient
Definition: ecvCommandLineCommands.h:106
COMMAND_COMPUTE_GRIDDED_NORMALS
constexpr char COMMAND_COMPUTE_GRIDDED_NORMALS[]
Definition: ecvCommandLineCommands.cpp:128
CLEntityDesc::indexInFile
int indexInFile
Definition: ecvCommandLineInterface.h:37
OPTION_BURNT_COLOR_THRESHOLD
constexpr char OPTION_BURNT_COLOR_THRESHOLD[]
Definition: ecvCommandLineCommands.cpp:181
COMMAND_SF_GRADIENT
constexpr char COMMAND_SF_GRADIENT[]
Definition: ecvCommandLineCommands.cpp:71
OPTION_OFF
constexpr char OPTION_OFF[]
Definition: ecvCommandLineCommands.cpp:158
CommandSetNoTimestamp
Definition: ecvCommandLineCommands.h:399
a
a[190]
Definition: essential_matrix_poly.h:19
ccDrawableObject::showSF
virtual void showSF(bool state)
Sets active scalarfield visibility.
Definition: ecvDrawableObject.h:108
ccCommandLineInterface::Command
Generic command interface.
Definition: ecvCommandLineInterface.h:130
ccShiftedObject
Shifted entity interface.
Definition: ecvShiftedObject.h:18
ccPointCloud::computeNormalsWithOctree
bool computeNormalsWithOctree(CV_LOCAL_MODEL_TYPES model, ccNormalVectors::Orientation preferredOrientation, PointCoordinateType defaultRadius, ecvProgressDialog *pDlg=nullptr)
Compute the normals by approximating the local surface around each point.
Definition: ecvPointCloud.cpp:5508
ccMesh::invertNormals
void invertNormals()
Inverts normals (if any)
Definition: ecvMesh.cpp:3288
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
CommandInvertNormal::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:659
COMMAND_NO_TIMESTAMP
constexpr char COMMAND_NO_TIMESTAMP[]
Definition: ecvCommandLineCommands.cpp:145
cloudViewer::ICPRegistrationTools::Parameters::finalOverlapRatio
double finalOverlapRatio
Definition: RegistrationTools.h:193
CommandSORFilter
Definition: ecvCommandLineCommands.h:222
COMMAND_ORIENT_NORMALS
constexpr char COMMAND_ORIENT_NORMALS[]
Definition: ecvCommandLineCommands.cpp:91
CommandMergeMeshes::CommandMergeMeshes
CommandMergeMeshes()
Definition: ecvCommandLineCommands.cpp:2327
ccCommandLineInterface::arguments
virtual QStringList & arguments()=0
Returns the list of arguments.
CommandMergeClouds::CommandMergeClouds
CommandMergeClouds()
Definition: ecvCommandLineCommands.cpp:2396
CommandComputeMeshVolume
Definition: ecvCommandLineCommands.h:148
ccCommandLineInterface::print
virtual void print(const QString &message) const =0
COMMAND_AUTO_SAVE
constexpr char COMMAND_AUTO_SAVE[]
Definition: ecvCommandLineCommands.cpp:138
CommandDensity
Definition: ecvCommandLineCommands.h:100
CommandMatchBBCenters
Definition: ecvCommandLineCommands.h:204
Tuple3Tpl::z
Type z
Definition: CVGeom.h:137
CommandC2MDist::CommandC2MDist
CommandC2MDist()
Definition: ecvCommandLineCommands.cpp:3879
COMMAND_INVERT_NORMALS
constexpr char COMMAND_INVERT_NORMALS[]
Definition: ecvCommandLineCommands.cpp:129
cloudViewer::ICPRegistrationTools::Parameters::minRMSDecrease
double minRMSDecrease
Definition: RegistrationTools.h:173
cloudViewer::Polyline::setClosed
void setClosed(bool state)
Sets whether the polyline is closed or not.
Definition: Polyline.h:29
ccScalarFieldArithmeticsDlg::GetOperationByName
static Operation GetOperationByName(QString name)
Returns the operation enumerator based on its name.
Definition: ecvScalarFieldArithmeticsDlg.cpp:116
OPTION_SIGMA_SF
constexpr char OPTION_SIGMA_SF[]
Definition: ecvCommandLineCommands.cpp:180
ccScalarField::setColorScale
void setColorScale(ccColorScale::Shared scale)
Sets associated color scale.
Definition: ecvScalarField.cpp:108
CommandComputeMeshVolume::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2264
CommandChangeCloudOutputFormat::CommandChangeCloudOutputFormat
CommandChangeCloudOutputFormat()
Definition: ecvCommandLineCommands.cpp:317
ccCommandLineInterface::ExportOption::ForceNoTimestamp
@ ForceNoTimestamp
CommandSFRename::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4491
ccEntityAction::exportNormalToSF
bool exportNormalToSF(const ccHObject::Container &selectedEntities, QWidget *parent, bool *exportDimensions)
Definition: ecvEntityAction.cpp:1341
CommandSFOperation
Definition: ecvCommandLineCommands.h:306
CommandSave::CommandSave
CommandSave(const QString &name, const QString &keyword)
Definition: ecvCommandLineCommands.cpp:4983
COMMAND_DROP_GLOBAL_SHIFT
constexpr char COMMAND_DROP_GLOBAL_SHIFT[]
Definition: ecvCommandLineCommands.cpp:75
ccNormalVectors::Orientation
Orientation
'Default' orientations
Definition: ecvNormalVectors.h:70
COMMAND_EXPORT_EXTENSION
constexpr char COMMAND_EXPORT_EXTENSION[]
Definition: ecvCommandLineCommands.cpp:54
ccCommandLineInterface::removeMeshes
virtual void removeMeshes(bool onlyLast=false)=0
Removes all meshes (or only the last one ;)
COMMAND_POP_MESHES
constexpr char COMMAND_POP_MESHES[]
Definition: ecvCommandLineCommands.cpp:144
CommandPopClouds::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5224
CommandExtractCCs::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1301
CommandExtractCCs::CommandExtractCCs
CommandExtractCCs()
Definition: ecvCommandLineCommands.cpp:1297
CommandForceNormalsComputation
Definition: ecvCommandLineCommands.h:330
CommandClear
Definition: ecvCommandLineCommands.h:369
ccPointCloud::hasScalarFields
bool hasScalarFields() const override
Returns whether one or more scalar fields are instantiated.
Definition: ecvPointCloud.cpp:1697
ccPointCloud::unallocateNorms
void unallocateNorms()
Erases the cloud normals.
Definition: ecvPointCloud.cpp:1159
COMMAND_CLEAR_NORMALS
constexpr char COMMAND_CLEAR_NORMALS[]
Definition: ecvCommandLineCommands.cpp:133
cloudViewer::ReferenceCloud::clear
virtual void clear(bool releaseMemory=false)
Clears the cloud.
Definition: ReferenceCloud.cpp:26
COMMAND_OPEN_SKIP_LINES
constexpr char COMMAND_OPEN_SKIP_LINES[]
Definition: ecvCommandLineCommands.cpp:62
USE_SPECIAL_SF_VALUE
USE_SPECIAL_SF_VALUE
Definition: ecvCommandLineCommands.cpp:2050
COMMAND_C2C_SPLIT_XYZ
constexpr char COMMAND_C2C_SPLIT_XYZ[]
Definition: ecvCommandLineCommands.cpp:102
CommandChangeOutputFormat::CommandChangeOutputFormat
CommandChangeOutputFormat(const QString &name, const QString &keyword)
Definition: ecvCommandLineCommands.cpp:276
ccCommandLineInterface
Command line interface.
Definition: ecvCommandLineInterface.h:112
CommandInvertNormal
Definition: ecvCommandLineCommands.h:57
CommandChangeMeshOutputFormat::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:459
OPTION_MEAN
constexpr char OPTION_MEAN[]
Definition: ecvCommandLineCommands.cpp:177
ecvHObjectCaster.h
PC_ONE
constexpr PointCoordinateType PC_ONE
'1' as a PointCoordinateType value
Definition: CVConst.h:67
CommandCPS::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3889
CommandDist::m_cloud2meshDist
bool m_cloud2meshDist
Definition: ecvCommandLineCommands.h:271
AsciiFilter::GetFileFilter
static QString GetFileFilter()
Definition: AsciiFilter.h:26
CommandForceNormalsComputation::CommandForceNormalsComputation
CommandForceNormalsComputation()
Definition: ecvCommandLineCommands.cpp:4971
cloudViewer::DELAUNAY_2D_BEST_LS_PLANE
@ DELAUNAY_2D_BEST_LS_PLANE
Definition: PointProjectionTools.h:25
CommandSFArithmetic::CommandSFArithmetic
CommandSFArithmetic()
Definition: ecvCommandLineCommands.cpp:4269
ccCommandLineInterface::autoSaveMode
bool autoSaveMode() const
Definition: ecvCommandLineInterface.cpp:155
ccGLMatrix
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
CommandDensity::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1621
CommandMoment::CommandMoment
CommandMoment()
Definition: ecvCommandLineCommands.cpp:5256
COMMAND_ICP_ITERATION_COUNT
constexpr char COMMAND_ICP_ITERATION_COUNT[]
Definition: ecvCommandLineCommands.cpp:119
CLCloudDesc
Loaded cloud description.
Definition: ecvCommandLineInterface.h:68
CommandRemoveSF
Definition: ecvCommandLineCommands.h:178
CommandICP::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4595
COMMAND_ICP_OVERLAP
constexpr char COMMAND_ICP_OVERLAP[]
Definition: ecvCommandLineCommands.cpp:120
CommandICP::CommandICP
CommandICP()
Definition: ecvCommandLineCommands.cpp:4592
CommandDensity::CommandDensity
CommandDensity()
Definition: ecvCommandLineCommands.cpp:1617
CommandRemoveNormals
Definition: ecvCommandLineCommands.h:192
AsciiFilter::SaveSFBeforeColor
static void SaveSFBeforeColor(bool state)
Sets whether color and SF should be swapped (default is color then SF)
Definition: AsciiFilter.cpp:57
COMMAND_REMOVE_SF
constexpr char COMMAND_REMOVE_SF[]
Definition: ecvCommandLineCommands.cpp:83
CommandCrop
Definition: ecvCommandLineCommands.h:240
CommandDropGlobalShift::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1906
ccEntityAction::NORMAL_CONVERSION_DEST::DIP_DIR_SFS
@ DIP_DIR_SFS
COMMAND_APPROX_DENSITY
constexpr char COMMAND_APPROX_DENSITY[]
Definition: ecvCommandLineCommands.cpp:70
COMMAND_SUBSAMPLE
constexpr char COMMAND_SUBSAMPLE[]
Definition: ecvCommandLineCommands.cpp:63
CommandOctreeNormal::CommandOctreeNormal
CommandOctreeNormal()
Definition: ecvCommandLineCommands.cpp:716
PlyFilter.h
COMMAND_ICP_USE_DATA_SF_AS_WEIGHT
constexpr char COMMAND_ICP_USE_DATA_SF_AS_WEIGHT[]
Definition: ecvCommandLineCommands.cpp:125
ccPointCloud::getCurrentDisplayedScalarFieldIndex
int getCurrentDisplayedScalarFieldIndex() const
Returns the currently displayed scalar field index (or -1 if none)
Definition: ecvPointCloud.cpp:3223
CommandChangeHierarchyOutputFormat
Definition: ecvCommandLineCommands.h:33
COMMAND_SET_ACTIVE_SF
constexpr char COMMAND_SET_ACTIVE_SF[]
Definition: ecvCommandLineCommands.cpp:81
cloudViewer::Neighbourhood::GeomFeature
GeomFeature
Geometric feature computed from eigen values/vectors.
Definition: Neighbourhood.h:161
COMMAND_ASCII_EXPORT_SEPARATOR
constexpr char COMMAND_ASCII_EXPORT_SEPARATOR[]
Definition: ecvCommandLineCommands.cpp:56
cloudViewer::ReferenceCloudContainer
std::vector< ReferenceCloud * > ReferenceCloudContainer
A standard container to store several subsets of points.
Definition: AutoSegmentationTools.h:28
count
int count
Definition: FileIOFactory.cpp:132
ccCommandLineInterface::cloudExportExt
virtual QString cloudExportExt() const =0
Returns the current cloud(s) export extension (warning: can be anything)
CommandConvertNormalsToSFs
Definition: ecvCommandLineCommands.h:70
COMMAND_EXTRACT_VERTICES
constexpr char COMMAND_EXTRACT_VERTICES[]
Definition: ecvCommandLineCommands.cpp:115
CVLog::Warning
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
Definition: CVLog.cpp:133
AsciiFilter::SetOutputSeparatorIndex
static void SetOutputSeparatorIndex(int separatorIndex)
Sets the default output separator (as saving time)
Definition: AsciiFilter.cpp:53
COMMAND_CLEAR_CLOUDS
constexpr char COMMAND_CLEAR_CLOUDS[]
Definition: ecvCommandLineCommands.cpp:141
CommandSetNoTimestamp::CommandSetNoTimestamp
CommandSetNoTimestamp()
Definition: ecvCommandLineCommands.cpp:5247
COMMAND_CONVERT_NORMALS_TO_DIP
constexpr char COMMAND_CONVERT_NORMALS_TO_DIP[]
Definition: ecvCommandLineCommands.cpp:131
CommandSFColorScale
Definition: ecvCommandLineCommands.h:130
cloudViewer::ReferenceCloud
A very simple point cloud (no point duplication)
Definition: ReferenceCloud.h:29
CommandMatchBestFitPlane::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2717
OPTION_NOT
constexpr char OPTION_NOT[]
Definition: ecvCommandLineCommands.cpp:166
cloudViewer::GeometricalAnalysisTools::LocalDensity
@ LocalDensity
Definition: GeometricalAnalysisTools.h:27
CommandConvertNormalsToSFs::CommandConvertNormalsToSFs
CommandConvertNormalsToSFs()
Definition: ecvCommandLineCommands.cpp:921
COMMAND_DELAUNAY
constexpr char COMMAND_DELAUNAY[]
Definition: ecvCommandLineCommands.cpp:107
CommandCoordToSF::CommandCoordToSF
CommandCoordToSF()
Definition: ecvCommandLineCommands.cpp:3286
ccMesh::Triangulate
static ccMesh * Triangulate(ccGenericPointCloud *cloud, cloudViewer::TRIANGULATION_TYPES type, bool updateNormals=false, PointCoordinateType maxEdgeLength=0, unsigned char dim=2)
Creates a Delaunay 2.5D mesh from a point cloud.
Definition: ecvMesh.cpp:1732
CVLog::TheInstance
static CVLog * TheInstance()
Returns the static and unique instance.
Definition: CVLog.cpp:53
cloudViewer::CloudSamplingTools::subsampleCloudWithOctreeAtLevel
static ReferenceCloud * subsampleCloudWithOctreeAtLevel(GenericIndexedCloudPersist *cloud, unsigned char octreeLevel, SUBSAMPLING_CELL_METHOD subsamplingMethod, GenericProgressCallback *progressCb=nullptr, DgmOctree *inputOctree=nullptr)
Subsamples a point cloud (process based on the octree)
Definition: CloudSamplingTools.cpp:126
cloudViewer::NormalDistribution
The Normal/Gaussian statistical distribution.
Definition: NormalDistribution.h:18
USE_NONE
@ USE_NONE
Definition: ecvCommandLineCommands.cpp:2051
ccCommandLineInterface::hierarchyExportFormat
virtual QString hierarchyExportFormat() const =0
Returns the current hierarchy(ies) export format.
ccMesh
Triangular mesh.
Definition: ecvMesh.h:35
COMMAND_FILTER
constexpr char COMMAND_FILTER[]
Definition: ecvCommandLineCommands.cpp:152
ccCommandLineInterface::hierarchyExportExt
virtual QString hierarchyExportExt() const =0
ccShiftedObject::getGlobalScale
virtual double getGlobalScale() const
Returns the scale applied to original coordinates.
Definition: ecvShiftedObject.h:53
CommandChangeCloudOutputFormat
Definition: ecvCommandLineCommands.h:21
ccGLMatrixTpl::fromAsciiFile
virtual bool fromAsciiFile(QString filename)
Loads matrix from an ASCII file.
Definition: ecvGLMatrixTpl.h:538
ecvRegistrationTools.h
CLMeshDesc::mesh
ccGenericMesh * mesh
Definition: ecvCommandLineInterface.h:91
CommandCurvature::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1467
ccScalarFieldArithmeticsDlg::SF2::constantValue
double constantValue
Definition: ecvScalarFieldArithmeticsDlg.h:73
CommandPopMeshes::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5242
COMMAND_C2C_LOCAL_MODEL
constexpr char COMMAND_C2C_LOCAL_MODEL[]
Definition: ecvCommandLineCommands.cpp:103
CommandDist::CommandDist
CommandDist(bool cloud2meshDist, const QString &name, const QString &keyword)
Definition: ecvCommandLineCommands.cpp:3591
NAN_VALUE
constexpr ScalarType NAN_VALUE
NaN as a ScalarType value.
Definition: CVConst.h:76
ccScalarFieldArithmeticsDlg::Operation
Operation
Arithmetic operations.
Definition: ecvScalarFieldArithmeticsDlg.h:25
COMMAND_FLIP_TRIANGLES
constexpr char COMMAND_FLIP_TRIANGLES[]
Definition: ecvCommandLineCommands.cpp:149
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
CommandForceNormalsComputation::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4976
cloudViewer::Neighbourhood::GAUSSIAN_CURV
@ GAUSSIAN_CURV
Definition: Neighbourhood.h:42
cloudViewer::GeometricalAnalysisTools::MomentOrder1
@ MomentOrder1
Definition: GeometricalAnalysisTools.h:32
COMMAND_POP_CLOUDS
constexpr char COMMAND_POP_CLOUDS[]
Definition: ecvCommandLineCommands.cpp:142
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
Tuple3Tpl::y
Type y
Definition: CVGeom.h:137
ccObject::getName
virtual QString getName() const
Returns object name.
Definition: ecvObject.h:72
CommandExtractVertices::CommandExtractVertices
CommandExtractVertices()
Definition: ecvCommandLineCommands.cpp:3025
ccHObject::getOwnBB
virtual ccBBox getOwnBB(bool withGLFeatures=false)
Returns the entity's own bounding-box.
Definition: ecvHObject.cpp:757
CommandSFArithmetic::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4273
ccScalarField::setMinDisplayed
void setMinDisplayed(ScalarType val)
Sets the minimum displayed value.
Definition: ecvScalarField.cpp:256
CommandOctreeNormal
Definition: ecvCommandLineCommands.h:51
CommandOrientNormalsMST::CommandOrientNormalsMST
CommandOrientNormalsMST()
Definition: ecvCommandLineCommands.cpp:2861
OPTION_MESH
constexpr char OPTION_MESH[]
Definition: ecvCommandLineCommands.cpp:168
ecvPolyline.h
CC_CONNECTED_COMPONENTS_DEFAULT_LABEL_NAME
#define CC_CONNECTED_COMPONENTS_DEFAULT_LABEL_NAME
Definition: ecvCommon.h:23
CLMeshDesc
Loaded mesh description.
Definition: ecvCommandLineInterface.h:90
COMMAND_PLY_EXPORT_FORMAT
constexpr char COMMAND_PLY_EXPORT_FORMAT[]
Definition: ecvCommandLineCommands.cpp:127
OPTION_RGB
constexpr char OPTION_RGB[]
Definition: ecvCommandLineCommands.cpp:174
cloudViewer::PointCloudTpl::getCurrentInScalarField
ScalarField * getCurrentInScalarField() const
Returns the scalar field currently associated to the cloud input.
Definition: PointCloudTpl.h:391
OPTION_MEDIAN
constexpr char OPTION_MEDIAN[]
Definition: ecvCommandLineCommands.cpp:178
cloudViewer::Neighbourhood::getGravityCenter
const CCVector3 * getGravityCenter()
Returns gravity center.
Definition: Neighbourhood.cpp:58
CommandCoordToSF
Definition: ecvCommandLineCommands.h:246
ccLibAlgorithms::CCLIB_ALGO_SF_GRADIENT
@ CCLIB_ALGO_SF_GRADIENT
Definition: ecvLibAlgorithms.h:65
CommandPopClouds::CommandPopClouds
CommandPopClouds()
Definition: ecvCommandLineCommands.cpp:5220
FileIOFilter::FilterContainer
std::vector< FileIOFilter::Shared > FilterContainer
Type of a I/O filters container.
Definition: FileIOFilter.h:284
OPTION_SF
constexpr char OPTION_SF[]
Definition: ecvCommandLineCommands.cpp:173
COMMAND_BEST_FIT_PLANE
constexpr char COMMAND_BEST_FIT_PLANE[]
Definition: ecvCommandLineCommands.cpp:88
COMMAND_DELAUNAY_BF
constexpr char COMMAND_DELAUNAY_BF[]
Definition: ecvCommandLineCommands.cpp:109
cloudViewer::PointCloudTpl::addPoint
void addPoint(const CCVector3 &P)
Adds a 3D point to the database.
Definition: PointCloudTpl.h:246
COMMAND_CROP_2D
constexpr char COMMAND_CROP_2D[]
Definition: ecvCommandLineCommands.cpp:96
ccGLMatrixTpl< float >::FromToRotation
static ccGLMatrixTpl< float > FromToRotation(const Vector3Tpl< float > &from, const Vector3Tpl< float > &to)
Creates a transformation matrix that rotates a vector to another.
Definition: ecvGLMatrixTpl.h:230
CommandDelaunayTri::CommandDelaunayTri
CommandDelaunayTri()
Definition: ecvCommandLineCommands.cpp:4166
CommandC2CDist
Definition: ecvCommandLineCommands.h:278
rotation
Eigen::Matrix3d rotation
Definition: VoxelGridIO.cpp:27
cloudViewer::GeometricalAnalysisTools::ApproxLocalDensity
@ ApproxLocalDensity
Definition: GeometricalAnalysisTools.h:29
ccComparisonDlg::initDialog
bool initDialog()
Should be called once after the dialog is created.
Definition: ecvComparisonDlg.h:46
cloudViewer::ScalarField::computeMeanAndVariance
void computeMeanAndVariance(ScalarType &mean, ScalarType *variance=nullptr) const
Definition: ScalarField.cpp:41
CommandSFConvertToRGB
Definition: ecvCommandLineCommands.h:136
LS
@ LS
Definition: CVConst.h:123
CommandMatchBBCenters::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2666
CommandCoordToSF::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3290
COMMAND_ROUGHNESS_UP_DIR
constexpr char COMMAND_ROUGHNESS_UP_DIR[]
Definition: ecvCommandLineCommands.cpp:73
CommandOctreeNormal::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:721
PointCoordinateType
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
COMMAND_ICP
constexpr char COMMAND_ICP[]
Definition: ecvCommandLineCommands.cpp:116
cloudViewer::Neighbourhood::NORMAL_CHANGE_RATE
@ NORMAL_CHANGE_RATE
Definition: Neighbourhood.h:42
CommandRemoveAllSFs
Definition: ecvCommandLineCommands.h:172
CLEntityDesc::getEntity
virtual ccHObject * getEntity()=0
ccCommandLineInterface::IsCommand
static bool IsCommand(const QString &token, const char *command)
Test whether a command line token is a valid command keyword or not.
Definition: ecvCommandLineInterface.cpp:119
ccCommandLineInterface::toggleAddTimestamp
void toggleAddTimestamp(bool state)
Definition: ecvCommandLineInterface.cpp:157
COMMAND_APPLY_TRANSFORMATION
constexpr char COMMAND_APPLY_TRANSFORMATION[]
Definition: ecvCommandLineCommands.cpp:74
Tuple3Tpl::u
Type u[3]
Definition: CVGeom.h:139
cloudViewer::CloudSamplingTools::SFModulationParams::a
double a
Modulation scheme: y = a.sf + b.
Definition: CloudSamplingTools.h:146
cloudViewer::Neighbourhood::EigenValue1
@ EigenValue1
Definition: Neighbourhood.h:173
CommandClearClouds::CommandClearClouds
CommandClearClouds()
Definition: ecvCommandLineCommands.cpp:5211
cloudViewer::Neighbourhood::Sphericity
@ Sphericity
Definition: Neighbourhood.h:171
ccComparisonDlg::cancelAndExit
void cancelAndExit()
Definition: ecvComparisonDlg.cpp:1055
CommandChangeCloudOutputFormat::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:321
DistanceComputationTools.h
cloudViewer::ScalarField::setName
void setName(const char *name)
Sets scalar field name.
Definition: ScalarField.cpp:22
cloudViewer::Neighbourhood::PCA2
@ PCA2
Definition: Neighbourhood.h:169
PlyFilter::SetDefaultOutputFormat
static void SetDefaultOutputFormat(e_ply_storage_mode format)
Definition: PlyFilter.cpp:74
ccHObject::addChild
virtual bool addChild(ccHObject *child, int dependencyFlags=DP_PARENT_OF_OTHER, int insertIndex=-1)
Adds a child.
Definition: ecvHObject.cpp:534
OPTION_FORCE
constexpr char OPTION_FORCE[]
Definition: ecvCommandLineCommands.cpp:171
ccComparisonDlg::CLOUDCLOUD_DIST
@ CLOUDCLOUD_DIST
Definition: ecvComparisonDlg.h:31
CommandRemoveNormals::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2612
CommandStatTest::CommandStatTest
CommandStatTest()
Definition: ecvCommandLineCommands.cpp:3944
USE_SAT_MAX
@ USE_SAT_MAX
Definition: ecvCommandLineCommands.cpp:2058
cloudViewer::MeshSamplingTools::computeMeshVolume
static double computeMeshVolume(GenericMesh *mesh)
Computes the mesh volume.
Definition: MeshSamplingTools.cpp:50
cloudViewer::GenericDistribution::getName
virtual const char * getName() const =0
Returns distribution name.
ccObject::setEnabled
virtual void setEnabled(bool state)
Sets the "enabled" property.
Definition: ecvObject.h:102
CommandSFColorScale::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1936
ccScalarFieldArithmeticsDlg::Apply
static bool Apply(ccPointCloud *cloud, Operation op, int sf1Idx, bool inplace, SF2 *sf2=0, QWidget *parent=0)
Applies operation on a given cloud.
Definition: ecvScalarFieldArithmeticsDlg.cpp:169
CommandMergeMeshes::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2331
ccCommandLineInterface::exportEntity
virtual QString exportEntity(CLEntityDesc &entityDesc, const QString &suffix=QString(), QString *outputFilename=nullptr, ccCommandLineInterface::ExportOptions options=ExportOption::NoOptions)=0
Exports a cloud or a mesh.
CommandSORFilter::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2931
AsciiFilter::SavePointCountHeader
static void SavePointCountHeader(bool state)
Definition: AsciiFilter.cpp:63
cloudViewer::Neighbourhood::Omnivariance
@ Omnivariance
Definition: Neighbourhood.h:163
CommandFilterBySFValue::CommandFilterBySFValue
CommandFilterBySFValue()
Definition: ecvCommandLineCommands.cpp:2045
CommandDist
Definition: ecvCommandLineCommands.h:264
ccCommandLineInterface::warning
virtual void warning(const QString &message) const =0
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
CommandMoment
Definition: ecvCommandLineCommands.h:405
COMMAND_ICP_ENABLE_FARTHEST_REMOVAL
constexpr char COMMAND_ICP_ENABLE_FARTHEST_REMOVAL[]
Definition: ecvCommandLineCommands.cpp:123
ccLibAlgorithms::ApplyCCLibAlgorithm
bool ApplyCCLibAlgorithm(CC_LIB_ALGORITHM algo, ccHObject::Container &entities, QWidget *parent, void **additionalParameters)
Definition: ecvLibAlgorithms.cpp:395
CommandCPS::CommandCPS
CommandCPS()
Definition: ecvCommandLineCommands.cpp:3885
ccPlane
Plane (primitive)
Definition: ecvPlane.h:17
CommandC2MDist
Definition: ecvCommandLineCommands.h:274
CommandMergeMeshes
Definition: ecvCommandLineCommands.h:154
ecvCommandLineCommands.h
CommandSave::ParseFileNames
static bool ParseFileNames(ccCommandLineInterface &cmd, QStringList &fileNames)
Definition: ecvCommandLineCommands.cpp:4986
CommandClear::CommandClear
CommandClear()
Definition: ecvCommandLineCommands.cpp:5202
CommandRemoveRGB::CommandRemoveRGB
CommandRemoveRGB()
Definition: ecvCommandLineCommands.cpp:2581
CC_CHI2_DISTANCES_DEFAULT_SF_NAME
#define CC_CHI2_DISTANCES_DEFAULT_SF_NAME
Definition: ecvCommon.h:22
ecvCommon.h
CommandChangePLYExportFormat::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4943
ccScalarField
A scalar field associated to display-related parameters.
Definition: ecvScalarField.h:19
CommandOrientNormalsMST
Definition: ecvCommandLineCommands.h:216
CommandConvertNormalsToDipAndDipDir::process
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:882
COMMAND_DELAUNAY_AA
constexpr char COMMAND_DELAUNAY_AA[]
Definition: ecvCommandLineCommands.cpp:108
CommandCrop::CommandCrop
CommandCrop()
Definition: ecvCommandLineCommands.cpp:3155
ccScalarFieldArithmeticsDlg::SF2
Secondary SF descriptor.
Definition: ecvScalarFieldArithmeticsDlg.h:69
cloudViewer::DistanceComputationTools::computeCloud2CloudDistances
static int computeCloud2CloudDistances(GenericIndexedCloudPersist *comparedCloud, GenericIndexedCloudPersist *referenceCloud, Cloud2CloudDistancesComputationParams &params, GenericProgressCallback *progressCb=nullptr, DgmOctree *compOctree=nullptr, DgmOctree *refOctree=nullptr)
Definition: DistanceComputationTools.cpp:112
CommandSave::SetFileDesc
static void SetFileDesc(CLEntityDesc &desc, const QString &fileName)
Definition: ecvCommandLineCommands.cpp:5020
GetSFIndexOrName
static bool GetSFIndexOrName(ccCommandLineInterface &cmd, int &sfIndex, QString &sfName, bool allowMinusOne=false)
Definition: ecvCommandLineCommands.cpp:184
cloudViewer::Neighbourhood::CurvatureType
CurvatureType
Curvature type.
Definition: Neighbourhood.h:42
CommandCurvature
Definition: ecvCommandLineCommands.h:88
cloudViewer::CloudSamplingTools::resampleCloudSpatially
static ReferenceCloud * resampleCloudSpatially(GenericIndexedCloudPersist *cloud, PointCoordinateType minDistance, const SFModulationParams &modParams, DgmOctree *octree=nullptr, GenericProgressCallback *progressCb=nullptr)
Resamples a point cloud (process based on inter point distance)
Definition: CloudSamplingTools.cpp:256
ccMesh::clearTriNormals
void clearTriNormals()
Removes per-triangle normals.
Definition: ecvMesh.h:353
name
std::string name
Definition: FileIOFactory.cpp:129
AsciiFilter.h
OPTION_SIGMA
constexpr char OPTION_SIGMA[]
Definition: ecvCommandLineCommands.cpp:179
ecvComparisonDlg.h
ccPolyline
Colored polyline.
Definition: ecvPolyline.h:23
ccGLMatrixTpl::toString
QString toString(int precision=12, QChar separator=' ') const
Returns matrix as a string.
Definition: ecvGLMatrixTpl.h:502
COMMAND_STAT_TEST
constexpr char COMMAND_STAT_TEST[]
Definition: ecvCommandLineCommands.cpp:106
CommandApproxDensity::CommandApproxDensity
CommandApproxDensity()
Definition: ecvCommandLineCommands.cpp:1563
COMMAND_VOLUME_TO_FILE
constexpr char COMMAND_VOLUME_TO_FILE[]
Definition: ecvCommandLineCommands.cpp:135
ccCommandLineInterface::importFile
virtual bool importFile(QString filename, const GlobalShiftOptions &globalShiftOptions, FileIOFilter::Shared filter=FileIOFilter::Shared(nullptr))=0
Loads a file with a specific filter.
CommandSetActiveSF::CommandSetActiveSF
CommandSetActiveSF()
Definition: ecvCommandLineCommands.cpp:2440
CommandApplyTransformation::CommandApplyTransformation
CommandApplyTransformation()
Definition: ecvCommandLineCommands.cpp:1845
COMMAND_COLOR_BANDING
constexpr char COMMAND_COLOR_BANDING[]
Definition: ecvCommandLineCommands.cpp:97