 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
10 #include <QStringList>
267 const QString& keyword);
340 QStringList& fileNames);
virtual ccOctree::Shared computeOctree(cloudViewer::GenericProgressCallback *progressCb=nullptr, bool autoAddChild=true)
Computes the cloud octree.
Definition: ecvGenericPointCloud.cpp:124
Definition: ecvCommandLineCommands.h:294
Definition: ecvCommandLineCommands.h:393
@ TRI
Definition: CVConst.h:124
int addScalarField(const char *uniqueName) override
Creates a new scalar field and registers it.
Definition: ecvPointCloud.cpp:4210
void deleteScalarField(int index) override
Deletes a specific scalar field.
Definition: ecvPointCloud.cpp:3237
static void SetDefaultSkippedLineCount(int count)
Sets the default number of skipped lines (at loading time)
Definition: AsciiFilter.cpp:43
constexpr char COMMAND_SAMPLE_MESH[]
Definition: ecvCommandLineCommands.cpp:93
virtual bool saveClouds(QString suffix=QString(), bool allAtOnce=false, const QString *allAtOnceFileName=nullptr)=0
Saves all clouds.
QTextStream & endl(QTextStream &stream)
Definition: QtCompat.h:718
void toggleAutoSaveMode(bool state)
Definition: ecvCommandLineInterface.cpp:151
CommandSaveClouds()
Definition: ecvCommandLineCommands.cpp:5027
CommandConvertNormalsToDipAndDipDir()
Definition: ecvCommandLineCommands.cpp:877
constexpr char COMMAND_ICP_MIN_ERROR_DIIF[]
Definition: ecvCommandLineCommands.cpp:118
constexpr char COMMAND_MAX_THREAD_COUNT[]
Definition: ecvCommandLineCommands.cpp:155
void detachChild(ccHObject *child)
Detaches a specific child.
Definition: ecvHObject.cpp:988
std::string filename
Definition: PointCloudIO.cpp:47
void showNormals(bool state) override
Sets normals visibility.
Definition: ecvGenericMesh.cpp:44
virtual QString meshExportFormat() const =0
Returns the current mesh(es) export format.
@ Linearity
Definition: Neighbourhood.h:167
constexpr char COMMAND_LOG_FILE[]
Definition: ecvCommandLineCommands.cpp:139
bool convertNormalsTo(const ccHObject::Container &selectedEntities, NORMAL_CONVERSION_DEST dest)
Converts a cloud's normals.
Definition: ecvEntityAction.cpp:1951
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1980
constexpr char COMMAND_ICP_RANDOM_SAMPLING_LIMIT[]
Definition: ecvCommandLineCommands.cpp:122
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1694
virtual void showNormals(bool state)
Sets normals visibility.
Definition: ecvDrawableObject.h:93
bool setParameters(ScalarType a, ScalarType b, ScalarType valueShift=0)
Sets the distribution parameters.
Definition: WeibullDistribution.cpp:112
CommandMatchBBCenters()
Definition: ecvCommandLineCommands.cpp:2662
constexpr char OPTION_FIRST[]
Definition: ecvCommandLineCommands.cpp:162
constexpr char OPTION_LAST[]
Definition: ecvCommandLineCommands.cpp:163
constexpr char COMMAND_HIERARCHY_EXPORT_FORMAT[]
Definition: ecvCommandLineCommands.cpp:60
void computeMinAndMax() override
Determines the min and max values.
Definition: ecvScalarField.cpp:145
static void SetOutputSFPrecision(int prec)
Sets the default output scalar values precision (as saving time)
Definition: AsciiFilter.cpp:51
CommandRemoveAllSFs()
Definition: ecvCommandLineCommands.cpp:2487
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2491
Vector3Tpl< T > getCenter() const
Returns center.
Definition: BoundingBox.h:164
constexpr char COMMAND_SF_OP[]
Definition: ecvCommandLineCommands.cpp:112
static bool ReadDensityType(ccCommandLineInterface &cmd, cloudViewer::GeometricalAnalysisTools::Density &density)
Definition: ecvCommandLineCommands.cpp:1536
@ USE_DISP_MIN
Definition: ecvCommandLineCommands.cpp:2053
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2642
CommandComputeMeshVolume()
Definition: ecvCommandLineCommands.cpp:2260
Type x
Definition: CVGeom.h:137
constexpr char COMMAND_ICP_ROT[]
Definition: ecvCommandLineCommands.cpp:126
CV_LOCAL_MODEL_TYPES
Definition: CVConst.h:121
A generic class to handle a probability distribution.
Definition: GenericDistribution.h:25
unsigned size() const override
Returns the number of points.
Definition: ReferenceCloud.h:41
Definition: ecvCommandLineCommands.h:282
virtual ecvProgressDialog * progressDialog()
Returns a (shared) progress dialog (if any is available)
Definition: ecvCommandLineInterface.cpp:124
virtual unsigned size() const =0
Returns the number of points.
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4170
constexpr char COMMAND_C2M_DIST_FLIP_NORMALS[]
Definition: ecvCommandLineCommands.cpp:99
virtual void computeMinAndMax()
Determines the min and max values.
Definition: ScalarField.h:123
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2533
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3496
constexpr char OPTION_FILE_NAMES[]
Definition: ecvCommandLineCommands.cpp:159
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5205
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3346
constexpr char COMMAND_CLEAR_MESHES[]
Definition: ecvCommandLineCommands.cpp:143
constexpr char COMMAND_ASCII_EXPORT_ADD_PTS_COUNT[]
Definition: ecvCommandLineCommands.cpp:58
ccHObject * getParent() const
Returns parent object.
Definition: ecvHObject.h:245
CommandClearNormals()
Definition: ecvCommandLineCommands.cpp:606
virtual unsigned size() const override
Returns the number of triangles.
Definition: ecvMesh.cpp:2143
CommandPopMeshes()
Definition: ecvCommandLineCommands.cpp:5238
CommandCurvature()
Definition: ecvCommandLineCommands.cpp:1463
CommandSFConvertToRGB()
Definition: ecvCommandLineCommands.cpp:1976
Definition: ecvCommandLineCommands.h:76
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5260
CommandSFGradient()
Definition: ecvCommandLineCommands.cpp:1690
static const FilterContainer & GetFilters()
Returns the set of all registered filters.
Definition: FileIOFilter.cpp:224
Definition: ecvCommandLineCommands.h:345
static ccPlane * Fit(cloudViewer::GenericIndexedCloudPersist *cloud, double *rms=0)
Fits a plane primitive on a cloud.
Definition: ecvPlane.cpp:108
@ EigenEntropy
Definition: Neighbourhood.h:164
constexpr char COMMAND_ICP_REFERENCE_IS_FIRST[]
Definition: ecvCommandLineCommands.cpp:117
GraphType data
Definition: graph_cut.cc:138
constexpr char COMMAND_MESH_EXPORT_FORMAT[]
Definition: ecvCommandLineCommands.cpp:59
constexpr char COMMAND_CLOSEST_POINT_SET[]
Definition: ecvCommandLineCommands.cpp:101
constexpr char COMMAND_REMOVE_NORMALS[]
Definition: ecvCommandLineCommands.cpp:86
@ CLOUDMESH_DIST
Definition: ecvComparisonDlg.h:32
virtual QString cloudExportFormat() const =0
Returns the current cloud(s) export format.
virtual std::vector< CLCloudDesc > & clouds()
Currently opened point clouds and their filename.
Definition: ecvCommandLineInterface.cpp:133
constexpr char COMMAND_CLOUD_EXPORT_FORMAT[]
Definition: ecvCommandLineCommands.cpp:53
virtual QDialog * widgetParent()
Returns a (widget) parent (if any is available)
Definition: ecvCommandLineInterface.cpp:126
static ccPointCloud * ToPointCloud(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccPointCloud.
Definition: ecvHObjectCaster.cpp:54
QSharedPointer< ccColorScale > Shared
Shared pointer type.
Definition: ecvColorScale.h:74
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3597
constexpr char OPTION_BILATERAL[]
Definition: ecvCommandLineCommands.cpp:176
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2865
virtual CLLoadParameters & fileLoadingParams()
File loading parameters.
Definition: ecvCommandLineInterface.cpp:129
Definition: ecvCommandLineCommands.h:351
@ MESH
Definition: CVTypes.h:105
constexpr char OPTION_ORIENT[]
Definition: ecvCommandLineCommands.cpp:160
ExportOption
Definition: ecvCommandLineInterface.h:119
Definition: ecvCommandLineCommands.h:82
virtual void setMeshExportFormat(QString format, QString ext)=0
Sets the current mesh(es) export format and extension.
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2444
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5094
@ USE_N_SIGMA_MIN
Definition: ecvCommandLineCommands.cpp:2055
CommandRoughness()
Definition: ecvCommandLineCommands.cpp:1765
@ SurfaceVariation
Definition: Neighbourhood.h:170
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3948
@ USE_N_SIGMA_MAX
Definition: ecvCommandLineCommands.cpp:2059
virtual void setName(const QString &name)
Sets object name.
Definition: ecvObject.h:75
Definition: ecvCommandLineCommands.h:166
virtual bool error(const QString &message) const =0
constexpr char COMMAND_CROP[]
Definition: ecvCommandLineCommands.cpp:94
constexpr char COMMAND_ASCII_EXPORT_ADD_COL_HEADER[]
Definition: ecvCommandLineCommands.cpp:57
bool isA(CV_CLASS_ENUM type) const
Definition: ecvObject.h:131
Bounding box structure.
Definition: ecvBBox.h:25
unsigned getNumberOfScalarFields() const
Returns the number of associated (and active) scalar fields.
Definition: PointCloudTpl.h:345
Definition: ecvCommandLineCommands.h:63
virtual void setGlobalScale(double scale)
Definition: ecvShiftedObject.cpp:33
bool setParameters(ScalarType _mu, ScalarType _sigma2)
Sets the distribution parameters.
Definition: NormalDistribution.cpp:43
constexpr char OPTION_GAUSSIAN[]
Definition: ecvCommandLineCommands.cpp:175
void setTranslation(const Vector3Tpl< float > &Tr)
Sets translation (float version)
Definition: ecvGLMatrixTpl.h:836
Definition: ecvCommandLineCommands.h:381
@ POINT_CLOUD
Definition: CVTypes.h:104
Definition: ecvCommandLineCommands.h:300
Definition: ecvCommandLineCommands.h:112
virtual ccGenericPointCloud * getAssociatedCloud() const =0
Returns the vertices cloud.
ccPointCloud * pc
Definition: ecvCommandLineInterface.h:69
static Shared LoadFromXML(QString filename)
Loads a color scale from an XML file.
Definition: ecvColorScale.cpp:460
@ USE_MIN
Definition: ecvCommandLineCommands.cpp:2052
virtual void setHierarchyExportFormat(QString format, QString ext)=0
Sets the current hierarchy(ies) export format and extension.
int GetScalarFieldIndex(ccPointCloud *cloud, int sfIndex, const QString &sfName, bool minusOneMeansCurrent=false)
Definition: ecvCommandLineCommands.cpp:220
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4373
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5307
static void SaveColumnsNamesHeader(bool state)
Definition: AsciiFilter.cpp:59
bool nextCommandIsGlobalShift() const
Returns whether the nex command is the '-GLOBAL_SHIFT' option.
Definition: ecvCommandLineInterface.cpp:167
QString basename
Definition: ecvCommandLineInterface.h:35
constexpr char COMMAND_REMOVE_SCAN_GRIDS[]
Definition: ecvCommandLineCommands.cpp:84
CommandInvertNormal()
Definition: ecvCommandLineCommands.cpp:655
unsigned size() const override
Definition: PointCloudTpl.h:38
bool orientNormalsWithMST(unsigned kNN=6, ecvProgressDialog *pDlg=nullptr)
Orient the normals with a Minimum Spanning Tree.
Definition: ecvPointCloud.cpp:5568
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
constexpr char OPTION_CLOUD[]
Definition: ecvCommandLineCommands.cpp:167
Definition: ecvCommandLineCommands.h:387
virtual bool saveMeshes(QString suffix=QString(), bool allAtOnce=false, const QString *allAtOnceFileName=nullptr)=0
Saves all meshes.
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
Definition: ecvCommandLineCommands.cpp:2057
void setSaturationStart(ScalarType val)
Sets the value at which to start color gradient.
Definition: ecvScalarField.cpp:266
@ DELAUNAY_2D_AXIS_ALIGNED
Definition: PointProjectionTools.h:23
A simple scalar field (to be associated to a point cloud)
Definition: ScalarField.h:25
@ USE_SAT_MIN
Definition: ecvCommandLineCommands.cpp:2054
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
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3030
Definition: ecvCommandLineCommands.h:318
Definition: ecvCommandLineCommands.h:288
@ EigenValue3
Definition: Neighbourhood.h:175
bool computeDistances()
Definition: ecvComparisonDlg.cpp:678
constexpr char OPTION_USE_ACTIVE_SF[]
Definition: ecvCommandLineCommands.cpp:172
CCVector3 getNormal() const override
Returns the entity normal.
Definition: ecvPlane.h:73
constexpr char COMMAND_COORD_TO_SF[]
Definition: ecvCommandLineCommands.cpp:114
cloudViewer::ScalarField * GetScalarField(ccPointCloud *cloud, int sfIndex, const QString &sfName, bool minusOneMeansCurrent=false)
Definition: ecvCommandLineCommands.cpp:264
constexpr char COMMAND_ASCII_EXPORT_PRECISION[]
Definition: ecvCommandLineCommands.cpp:55
constexpr char COMMAND_VERBOSITY[]
Definition: ecvCommandLineCommands.cpp:151
@ Anisotropy
Definition: Neighbourhood.h:165
CommandSFColorScale()
Definition: ecvCommandLineCommands.cpp:1932
bool silentMode() const
Returns the silent mode.
Definition: ecvCommandLineInterface.cpp:149
CommandSubsample()
Definition: ecvCommandLineCommands.cpp:965
bool exportCoordToSF(bool exportDims[3])
Exports the specified coordinate dimension(s) to scalar field(s)
Definition: ecvPointCloud.cpp:5876
bool convertCurrentScalarFieldToColors(bool mixWithExistingColor=false)
Definition: ecvPointCloud.cpp:2039
int getScalarFieldIndexByName(const char *name) const
Returns the index of a scalar field represented by its name.
Definition: PointCloudTpl.h:375
static const int MAX_OCTREE_LEVEL
Max octree subdivision level.
Definition: DgmOctree.h:67
constexpr char COMMAND_FILTER_SF_BY_VALUE[]
Definition: ecvCommandLineCommands.cpp:78
CommandRemoveSF()
Definition: ecvCommandLineCommands.cpp:2513
CommandDropGlobalShift()
Definition: ecvCommandLineCommands.cpp:1902
CommandRemoveNormals()
Definition: ecvCommandLineCommands.cpp:2608
CommandSampleMesh()
Definition: ecvCommandLineCommands.cpp:3073
constexpr char COMMAND_ICP_USE_MODEL_SF_AS_WEIGHT[]
Definition: ecvCommandLineCommands.cpp:124
QSharedPointer< ccOctree > Shared
Shared pointer.
Definition: ecvOctree.h:32
constexpr char COMMAND_CURVATURE[]
Definition: ecvCommandLineCommands.cpp:67
Definition: ecvCommandLineCommands.h:411
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
ccGenericPointCloud * getAssociatedCloud() const override
Returns the vertices cloud.
Definition: ecvMesh.h:143
Vector3Tpl< PointCoordinateType > CCVector3
Default 3D Vector.
Definition: CVGeom.h:798
Global Shift options.
Definition: ecvCommandLineInterface.h:221
constexpr char COMMAND_SF_CONVERT_TO_RGB[]
Definition: ecvCommandLineCommands.cpp:77
static ccMesh * ToMesh(ccHObject *obj)
Converts current object to ccMesh (if possible)
Definition: ecvHObjectCaster.cpp:129
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3158
constexpr char COMMAND_DELAUNAY_MAX_EDGE_LENGTH[]
Definition: ecvCommandLineCommands.cpp:110
int numericalPrecision() const
Returns the numerical precision.
Definition: ecvCommandLineInterface.cpp:165
constexpr char COMMAND_BEST_FIT_PLANE_KEEP_LOADED[]
Definition: ecvCommandLineCommands.cpp:90
static PointCoordinateType GuessBestRadius(ccGenericPointCloud *cloud, cloudViewer::DgmOctree *cloudOctree=nullptr, cloudViewer::GenericProgressCallback *progressCb=nullptr)
Definition: ecvNormalVectors.cpp:236
void setCurrentDisplayedScalarField(int index)
Sets the currently displayed scalar field.
Definition: ecvPointCloud.cpp:3227
@ PCA1
Definition: Neighbourhood.h:168
constexpr char COMMAND_RGB_CONVERT_TO_SF[]
Definition: ecvCommandLineCommands.cpp:148
CommandFeature()
Definition: ecvCommandLineCommands.cpp:5303
Definition: ecvCommandLineCommands.h:210
ScalarField * getScalarField(int index) const
Returns a pointer to a specific scalar field.
Definition: PointCloudTpl.h:354
virtual std::vector< CLMeshDesc > & meshes()
Currently opened meshes and their filename.
Definition: ecvCommandLineInterface.cpp:139
void applyAndExit()
Definition: ecvComparisonDlg.cpp:1002
constexpr char COMMAND_SF_ARITHMETIC[]
Definition: ecvCommandLineCommands.cpp:111
CommandRemoveScanGrids()
Definition: ecvCommandLineCommands.cpp:2638
core::Tensor result
Definition: VtkUtils.cpp:76
virtual void setCloudExportFormat(QString format, QString ext)=0
Sets the current cloud(s) export format and extension.
constexpr char COMMAND_CROP_OUTSIDE[]
Definition: ecvCommandLineCommands.cpp:95
virtual ccOctree::Shared getOctree() const
Returns the associated octree (if any)
Definition: ecvGenericPointCloud.cpp:97
constexpr char COMMAND_REMOVE_ALL_SFS[]
Definition: ecvCommandLineCommands.cpp:82
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3077
bool addTimestamp() const
Definition: ecvCommandLineInterface.cpp:161
@ MEAN_CURV
Definition: Neighbourhood.h:42
CommandAutoSave()
Definition: ecvCommandLineCommands.cpp:5155
constexpr char COMMAND_REMOVE_RGB[]
Definition: ecvCommandLineCommands.cpp:85
constexpr char OPTION_ALL_AT_ONCE[]
Definition: ecvCommandLineCommands.cpp:156
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
CommandSFOperation()
Definition: ecvCommandLineCommands.cpp:4369
Definition: ecvCommandLineCommands.h:375
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:926
constexpr char COMMAND_RENAME_SF[]
Definition: ecvCommandLineCommands.cpp:113
Definition: ecvCommandLineCommands.h:186
@ Verticality
Definition: Neighbourhood.h:172
virtual void showColors(bool state)
Sets colors visibility.
Definition: ecvDrawableObject.h:84
virtual bool addPointIndex(unsigned globalIndex)
Point global index insertion mechanism.
Definition: ReferenceCloud.cpp:84
@ INVALID
Definition: ecvScalarFieldArithmeticsDlg.h:46
The Weibull statistical parametric distribution.
Definition: WeibullDistribution.h:18
CommandCrop2D()
Definition: ecvCommandLineCommands.cpp:3343
int size
Definition: FileIOFactory.cpp:130
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2062
CommandColorBanding()
Definition: ecvCommandLineCommands.cpp:3492
int getCurrentInScalarFieldIndex()
Returns current INPUT scalar field index (or -1 if none)
Definition: PointCloudTpl.h:413
constexpr char COMMAND_SF_COLOR_SCALE[]
Definition: ecvCommandLineCommands.cpp:76
constexpr char COMMAND_COMPUTE_OCTREE_NORMALS[]
Definition: ecvCommandLineCommands.cpp:130
CommandSaveMeshes()
Definition: ecvCommandLineCommands.cpp:5091
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1567
bool autoComputeNormals
Definition: FileIOFilter.h:76
virtual const CCVector3d & getGlobalShift() const
Returns the shift applied to original coordinates.
Definition: ecvShiftedObject.h:46
ScalarType getMin() const
Returns the minimum value.
Definition: ScalarField.h:72
Definition: ecvCommandLineCommands.h:45
static void SetOutputCoordsPrecision(int prec)
Sets the default output coords precision (as saving time)
Definition: AsciiFilter.cpp:47
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:544
constexpr char COMMAND_MATCH_BB_CENTERS[]
Definition: ecvCommandLineCommands.cpp:87
Definition: ecvCommandLineCommands.h:336
Definition: ecvCommandLineCommands.h:234
Definition: ecvCommandLineCommands.h:357
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:610
int getCurrentOutScalarFieldIndex()
Returns current OUTPUT scalar field index (or -1 if none)
Definition: PointCloudTpl.h:426
CommandMatchBestFitPlane()
Definition: ecvCommandLineCommands.cpp:2713
constexpr char COMMAND_MESH_VOLUME[]
Definition: ecvCommandLineCommands.cpp:134
bool isConstantValue
Definition: ecvScalarFieldArithmeticsDlg.h:72
constexpr char OPTION_NUMBER_OF_POINTS[]
Definition: ecvCommandLineCommands.cpp:170
bool hasNormals() const override
Returns whether normals are enabled or not.
Definition: ecvMesh.cpp:225
constexpr char COMMAND_MERGE_CLOUDS[]
Definition: ecvCommandLineCommands.cpp:79
constexpr char COMMAND_DENSITY[]
Definition: ecvCommandLineCommands.cpp:68
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5251
constexpr char COMMAND_C2X_OCTREE_LEVEL[]
Definition: ecvCommandLineCommands.cpp:105
void applyRotation(Vector3Tpl< float > &vec) const
Applies rotation only to a 3D vector (in place) - float version.
Definition: ecvGLMatrixTpl.h:1184
Definition: ecvCommandLineCommands.h:363
constexpr char OPTION_PERCENT[]
Definition: ecvCommandLineCommands.cpp:169
A 3D cloud interface with associated features (color, normals, octree, etc.)
Definition: ecvGenericPointCloud.h:45
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5159
constexpr char COMMAND_SOR_FILTER[]
Definition: ecvCommandLineCommands.cpp:92
Dialog for cloud/cloud or cloud/mesh comparison setting.
Definition: ecvComparisonDlg.h:25
Definition: ecvCommandLineCommands.h:228
static bool ValidValue(ScalarType value)
Returns whether a scalar value is valid or not.
Definition: ScalarField.h:61
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2585
CommandSORFilter()
Definition: ecvCommandLineCommands.cpp:2927
@ QUADRIC
Definition: CVConst.h:125
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5187
const char * getName() const
Returns scalar field name.
Definition: ScalarField.h:43
@ USE_MAX
Definition: ecvCommandLineCommands.cpp:2056
Definition: ecvCommandLineCommands.h:39
ScalarField * getCurrentOutScalarField() const
Returns the scalar field currently associated to the cloud output.
Definition: PointCloudTpl.h:400
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1769
static const std::string path
Definition: PointCloud.cpp:59
CommandClearMeshes()
Definition: ecvCommandLineCommands.cpp:5229
constexpr char COMMAND_SAVE_CLOUDS[]
Definition: ecvCommandLineCommands.cpp:136
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:969
void setCurrentInScalarField(int index)
Sets the INPUT scalar field.
Definition: PointCloudTpl.h:408
constexpr char COMMAND_SAVE_MESHES[]
Definition: ecvCommandLineCommands.cpp:137
bool GreaterThanEpsilon(float x)
Test a floating point number against our epsilon (a very small number).
Definition: CVMath.h:37
Definition: ecvCommandLineCommands.h:252
constexpr char COMMAND_C2X_MAX_DISTANCE[]
Definition: ecvCommandLineCommands.cpp:104
constexpr char OPTION_REGEX[]
Definition: ecvCommandLineCommands.cpp:165
bool ComputeGeomCharacteristic(cloudViewer::GeometricalAnalysisTools::GeomCharacteristic c, int subOption, PointCoordinateType radius, ccHObject::Container &entities, const CCVector3 *roughnessUpDir, QWidget *parent, ecvProgressDialog *progressDialog)
Definition: ecvLibAlgorithms.cpp:146
void setSymmetricalScale(bool state)
Sets whether the color scale should be symmetrical or not.
Definition: ecvScalarField.cpp:123
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
@ DIVIDE
Definition: ecvScalarFieldArithmeticsDlg.h:29
QString path
Definition: ecvCommandLineInterface.h:36
std::size_t countValidValues() const
Returns the number of valid values in this scalar field.
Definition: ScalarField.cpp:29
constexpr char OPTION_ON[]
Definition: ecvCommandLineCommands.cpp:157
constexpr char COMMAND_MERGE_MESHES[]
Definition: ecvCommandLineCommands.cpp:80
void swap(cloudViewer::core::SmallVectorImpl< T > &LHS, cloudViewer::core::SmallVectorImpl< T > &RHS)
Implement std::swap in terms of SmallVector swap.
Definition: SmallVector.h:1370
static ccShiftedObject * ToShifted(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccShiftedObject.
Definition: ecvHObjectCaster.cpp:108
constexpr char OPTION_BLEND_GRAYSCALE[]
Definition: ecvCommandLineCommands.cpp:182
constexpr char COMMAND_OPEN[]
Definition: ecvCommandLineCommands.cpp:61
void applyGLTransformation_recursive(const ccGLMatrix *trans=nullptr)
Applies the active OpenGL transformation to the entity (recursive)
Definition: ecvHObject.cpp:948
CommandLoad()
Definition: ecvCommandLineCommands.cpp:541
bool setRGBColorByBanding(unsigned char dim, double freq)
Assigns color to points by 'banding'.
Definition: ecvPointCloud.cpp:1957
CommandC2CDist()
Definition: ecvCommandLineCommands.cpp:3882
constexpr char COMMAND_DENSITY_TYPE[]
Definition: ecvCommandLineCommands.cpp:69
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5233
static QString ConvertDipAndDipDirToString(PointCoordinateType dip_deg, PointCoordinateType dipDir_deg)
Converts geological 'dip direction & dip' parameters to a string.
Definition: ecvNormalVectors.cpp:815
bool reserve(unsigned numberOfPoints) override
Reserves memory for all the active features.
Definition: ecvPointCloud.cpp:1452
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5215
constexpr char COMMAND_C2C_DIST[]
Definition: ecvCommandLineCommands.cpp:100
constexpr char COMMAND_MOMENT[]
Definition: ecvCommandLineCommands.cpp:146
virtual void removeClouds(bool onlyLast=false)=0
Removes all clouds (or only the last one ;)
Definition: ecvCommandLineCommands.h:258
constexpr char COMMAND_CLEAR[]
Definition: ecvCommandLineCommands.cpp:140
constexpr char COMMAND_BEST_FIT_PLANE_MAKE_HORIZ[]
Definition: ecvCommandLineCommands.cpp:89
Definition: ecvCommandLineCommands.h:160
constexpr char COMMAND_EXTRACT_CC[]
spatial step / octree level)
Definition: ecvCommandLineCommands.cpp:66
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5030
Graphical progress indicator (thread-safe)
Definition: ecvProgressDialog.h:27
Definition: ecvCommandLineCommands.h:124
constexpr char COMMAND_CONVERT_NORMALS_TO_SFS[]
Definition: ecvCommandLineCommands.cpp:132
constexpr char COMMAND_C2M_DIST[]
Definition: ecvCommandLineCommands.cpp:98
virtual QString meshExportExt() const =0
Returns the current mesh(es) export extension (warning: can be anything)
Loaded entity description.
Definition: ecvCommandLineInterface.h:34
ScalarType getMax() const
Returns the maximum value.
Definition: ScalarField.h:74
constexpr char COMMAND_DEBUG[]
Definition: ecvCommandLineCommands.cpp:150
CommandLogFile()
Definition: ecvCommandLineCommands.cpp:5183
Definition: Neighbourhood.h:25
bool hasNormals() const override
Returns whether normals are enabled or not.
Definition: ecvPointCloud.cpp:1693
constexpr char OPTION_ALL[]
Definition: ecvCommandLineCommands.cpp:164
Definition: ecvCommandLineCommands.h:142
constexpr char OPTION_MODEL[]
Definition: ecvCommandLineCommands.cpp:161
constexpr char COMMAND_ROUGHNESS[]
Definition: ecvCommandLineCommands.cpp:72
constexpr char COMMAND_FEATURE[]
Definition: ecvCommandLineCommands.cpp:147
bool processGlobalShiftCommand(GlobalShiftOptions &options)
Definition: ecvCommandLineInterface.cpp:172
Definition: ecvCommandLineCommands.h:198
constexpr char COMMAND_ICP_ADJUST_SCALE[]
Definition: ecvCommandLineCommands.cpp:121
void invertNormals()
Inverts normals (if any)
Definition: ecvPointCloud.cpp:2741
bool removeSF(int sfIndex, ccPointCloud &pc)
Definition: ecvCommandLineCommands.cpp:2517
CommandSFRename()
Definition: ecvCommandLineCommands.cpp:4487
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2400
Generic mesh interface.
Definition: ecvGenericMesh.h:28
Definition: ecvCommandLineCommands.h:94
@ EigenValue2
Definition: Neighbourhood.h:174
@ EigenValuesSum
Definition: Neighbourhood.h:162
Definition: ecvCommandLineCommands.h:312
Definition: ecvCommandLineCommands.h:106
constexpr char COMMAND_COMPUTE_GRIDDED_NORMALS[]
Definition: ecvCommandLineCommands.cpp:128
int indexInFile
Definition: ecvCommandLineInterface.h:37
constexpr char OPTION_BURNT_COLOR_THRESHOLD[]
Definition: ecvCommandLineCommands.cpp:181
constexpr char COMMAND_SF_GRADIENT[]
Definition: ecvCommandLineCommands.cpp:71
constexpr char OPTION_OFF[]
Definition: ecvCommandLineCommands.cpp:158
Definition: ecvCommandLineCommands.h:399
a[190]
Definition: essential_matrix_poly.h:19
virtual void showSF(bool state)
Sets active scalarfield visibility.
Definition: ecvDrawableObject.h:108
Generic command interface.
Definition: ecvCommandLineInterface.h:130
Shifted entity interface.
Definition: ecvShiftedObject.h:18
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
void invertNormals()
Inverts normals (if any)
Definition: ecvMesh.cpp:3288
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:659
constexpr char COMMAND_NO_TIMESTAMP[]
Definition: ecvCommandLineCommands.cpp:145
Definition: ecvCommandLineCommands.h:222
constexpr char COMMAND_ORIENT_NORMALS[]
Definition: ecvCommandLineCommands.cpp:91
CommandMergeMeshes()
Definition: ecvCommandLineCommands.cpp:2327
virtual QStringList & arguments()=0
Returns the list of arguments.
CommandMergeClouds()
Definition: ecvCommandLineCommands.cpp:2396
Definition: ecvCommandLineCommands.h:148
virtual void print(const QString &message) const =0
constexpr char COMMAND_AUTO_SAVE[]
Definition: ecvCommandLineCommands.cpp:138
Definition: ecvCommandLineCommands.h:100
Definition: ecvCommandLineCommands.h:204
Type z
Definition: CVGeom.h:137
CommandC2MDist()
Definition: ecvCommandLineCommands.cpp:3879
constexpr char COMMAND_INVERT_NORMALS[]
Definition: ecvCommandLineCommands.cpp:129
void setClosed(bool state)
Sets whether the polyline is closed or not.
Definition: Polyline.h:29
static Operation GetOperationByName(QString name)
Returns the operation enumerator based on its name.
Definition: ecvScalarFieldArithmeticsDlg.cpp:116
constexpr char OPTION_SIGMA_SF[]
Definition: ecvCommandLineCommands.cpp:180
void setColorScale(ccColorScale::Shared scale)
Sets associated color scale.
Definition: ecvScalarField.cpp:108
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2264
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4491
bool exportNormalToSF(const ccHObject::Container &selectedEntities, QWidget *parent, bool *exportDimensions)
Definition: ecvEntityAction.cpp:1341
Definition: ecvCommandLineCommands.h:306
CommandSave(const QString &name, const QString &keyword)
Definition: ecvCommandLineCommands.cpp:4983
constexpr char COMMAND_DROP_GLOBAL_SHIFT[]
Definition: ecvCommandLineCommands.cpp:75
Orientation
'Default' orientations
Definition: ecvNormalVectors.h:70
constexpr char COMMAND_EXPORT_EXTENSION[]
Definition: ecvCommandLineCommands.cpp:54
virtual void removeMeshes(bool onlyLast=false)=0
Removes all meshes (or only the last one ;)
constexpr char COMMAND_POP_MESHES[]
Definition: ecvCommandLineCommands.cpp:144
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5224
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1301
CommandExtractCCs()
Definition: ecvCommandLineCommands.cpp:1297
Definition: ecvCommandLineCommands.h:330
Definition: ecvCommandLineCommands.h:369
bool hasScalarFields() const override
Returns whether one or more scalar fields are instantiated.
Definition: ecvPointCloud.cpp:1697
void unallocateNorms()
Erases the cloud normals.
Definition: ecvPointCloud.cpp:1159
constexpr char COMMAND_CLEAR_NORMALS[]
Definition: ecvCommandLineCommands.cpp:133
virtual void clear(bool releaseMemory=false)
Clears the cloud.
Definition: ReferenceCloud.cpp:26
constexpr char COMMAND_OPEN_SKIP_LINES[]
Definition: ecvCommandLineCommands.cpp:62
USE_SPECIAL_SF_VALUE
Definition: ecvCommandLineCommands.cpp:2050
constexpr char COMMAND_C2C_SPLIT_XYZ[]
Definition: ecvCommandLineCommands.cpp:102
Command line interface.
Definition: ecvCommandLineInterface.h:112
Definition: ecvCommandLineCommands.h:57
constexpr char OPTION_MEAN[]
Definition: ecvCommandLineCommands.cpp:177
constexpr PointCoordinateType PC_ONE
'1' as a PointCoordinateType value
Definition: CVConst.h:67
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3889
bool m_cloud2meshDist
Definition: ecvCommandLineCommands.h:271
static QString GetFileFilter()
Definition: AsciiFilter.h:26
CommandForceNormalsComputation()
Definition: ecvCommandLineCommands.cpp:4971
@ DELAUNAY_2D_BEST_LS_PLANE
Definition: PointProjectionTools.h:25
CommandSFArithmetic()
Definition: ecvCommandLineCommands.cpp:4269
bool autoSaveMode() const
Definition: ecvCommandLineInterface.cpp:155
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1621
CommandMoment()
Definition: ecvCommandLineCommands.cpp:5256
constexpr char COMMAND_ICP_ITERATION_COUNT[]
Definition: ecvCommandLineCommands.cpp:119
Loaded cloud description.
Definition: ecvCommandLineInterface.h:68
Definition: ecvCommandLineCommands.h:178
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4595
constexpr char COMMAND_ICP_OVERLAP[]
Definition: ecvCommandLineCommands.cpp:120
CommandICP()
Definition: ecvCommandLineCommands.cpp:4592
CommandDensity()
Definition: ecvCommandLineCommands.cpp:1617
Definition: ecvCommandLineCommands.h:192
static void SaveSFBeforeColor(bool state)
Sets whether color and SF should be swapped (default is color then SF)
Definition: AsciiFilter.cpp:57
constexpr char COMMAND_REMOVE_SF[]
Definition: ecvCommandLineCommands.cpp:83
Definition: ecvCommandLineCommands.h:240
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1906
constexpr char COMMAND_APPROX_DENSITY[]
Definition: ecvCommandLineCommands.cpp:70
constexpr char COMMAND_SUBSAMPLE[]
Definition: ecvCommandLineCommands.cpp:63
CommandOctreeNormal()
Definition: ecvCommandLineCommands.cpp:716
constexpr char COMMAND_ICP_USE_DATA_SF_AS_WEIGHT[]
Definition: ecvCommandLineCommands.cpp:125
int getCurrentDisplayedScalarFieldIndex() const
Returns the currently displayed scalar field index (or -1 if none)
Definition: ecvPointCloud.cpp:3223
constexpr char COMMAND_SET_ACTIVE_SF[]
Definition: ecvCommandLineCommands.cpp:81
GeomFeature
Geometric feature computed from eigen values/vectors.
Definition: Neighbourhood.h:161
constexpr char COMMAND_ASCII_EXPORT_SEPARATOR[]
Definition: ecvCommandLineCommands.cpp:56
std::vector< ReferenceCloud * > ReferenceCloudContainer
A standard container to store several subsets of points.
Definition: AutoSegmentationTools.h:28
int count
Definition: FileIOFactory.cpp:132
virtual QString cloudExportExt() const =0
Returns the current cloud(s) export extension (warning: can be anything)
Definition: ecvCommandLineCommands.h:70
constexpr char COMMAND_EXTRACT_VERTICES[]
Definition: ecvCommandLineCommands.cpp:115
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
Definition: CVLog.cpp:133
static void SetOutputSeparatorIndex(int separatorIndex)
Sets the default output separator (as saving time)
Definition: AsciiFilter.cpp:53
constexpr char COMMAND_CLEAR_CLOUDS[]
Definition: ecvCommandLineCommands.cpp:141
CommandSetNoTimestamp()
Definition: ecvCommandLineCommands.cpp:5247
constexpr char COMMAND_CONVERT_NORMALS_TO_DIP[]
Definition: ecvCommandLineCommands.cpp:131
Definition: ecvCommandLineCommands.h:130
A very simple point cloud (no point duplication)
Definition: ReferenceCloud.h:29
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2717
constexpr char OPTION_NOT[]
Definition: ecvCommandLineCommands.cpp:166
CommandConvertNormalsToSFs()
Definition: ecvCommandLineCommands.cpp:921
constexpr char COMMAND_DELAUNAY[]
Definition: ecvCommandLineCommands.cpp:107
CommandCoordToSF()
Definition: ecvCommandLineCommands.cpp:3286
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
static CVLog * TheInstance()
Returns the static and unique instance.
Definition: CVLog.cpp:53
The Normal/Gaussian statistical distribution.
Definition: NormalDistribution.h:18
@ USE_NONE
Definition: ecvCommandLineCommands.cpp:2051
virtual QString hierarchyExportFormat() const =0
Returns the current hierarchy(ies) export format.
Triangular mesh.
Definition: ecvMesh.h:35
constexpr char COMMAND_FILTER[]
Definition: ecvCommandLineCommands.cpp:152
virtual QString hierarchyExportExt() const =0
virtual double getGlobalScale() const
Returns the scale applied to original coordinates.
Definition: ecvShiftedObject.h:53
virtual bool fromAsciiFile(QString filename)
Loads matrix from an ASCII file.
Definition: ecvGLMatrixTpl.h:538
ccGenericMesh * mesh
Definition: ecvCommandLineInterface.h:91
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1467
double constantValue
Definition: ecvScalarFieldArithmeticsDlg.h:73
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:5242
constexpr char COMMAND_C2C_LOCAL_MODEL[]
Definition: ecvCommandLineCommands.cpp:103
CommandDist(bool cloud2meshDist, const QString &name, const QString &keyword)
Definition: ecvCommandLineCommands.cpp:3591
constexpr ScalarType NAN_VALUE
NaN as a ScalarType value.
Definition: CVConst.h:76
Operation
Arithmetic operations.
Definition: ecvScalarFieldArithmeticsDlg.h:25
constexpr char COMMAND_FLIP_TRIANGLES[]
Definition: ecvCommandLineCommands.cpp:149
virtual void setGlobalShift(double x, double y, double z)
Sets shift applied to original coordinates (information storage only)
Definition: ecvShiftedObject.h:33
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4976
@ GAUSSIAN_CURV
Definition: Neighbourhood.h:42
constexpr char COMMAND_POP_CLOUDS[]
Definition: ecvCommandLineCommands.cpp:142
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
Type y
Definition: CVGeom.h:137
virtual QString getName() const
Returns object name.
Definition: ecvObject.h:72
CommandExtractVertices()
Definition: ecvCommandLineCommands.cpp:3025
virtual ccBBox getOwnBB(bool withGLFeatures=false)
Returns the entity's own bounding-box.
Definition: ecvHObject.cpp:757
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:4273
void setMinDisplayed(ScalarType val)
Sets the minimum displayed value.
Definition: ecvScalarField.cpp:256
Definition: ecvCommandLineCommands.h:51
CommandOrientNormalsMST()
Definition: ecvCommandLineCommands.cpp:2861
constexpr char OPTION_MESH[]
Definition: ecvCommandLineCommands.cpp:168
#define CC_CONNECTED_COMPONENTS_DEFAULT_LABEL_NAME
Definition: ecvCommon.h:23
Loaded mesh description.
Definition: ecvCommandLineInterface.h:90
constexpr char COMMAND_PLY_EXPORT_FORMAT[]
Definition: ecvCommandLineCommands.cpp:127
constexpr char OPTION_RGB[]
Definition: ecvCommandLineCommands.cpp:174
ScalarField * getCurrentInScalarField() const
Returns the scalar field currently associated to the cloud input.
Definition: PointCloudTpl.h:391
constexpr char OPTION_MEDIAN[]
Definition: ecvCommandLineCommands.cpp:178
const CCVector3 * getGravityCenter()
Returns gravity center.
Definition: Neighbourhood.cpp:58
Definition: ecvCommandLineCommands.h:246
@ CCLIB_ALGO_SF_GRADIENT
Definition: ecvLibAlgorithms.h:65
CommandPopClouds()
Definition: ecvCommandLineCommands.cpp:5220
std::vector< FileIOFilter::Shared > FilterContainer
Type of a I/O filters container.
Definition: FileIOFilter.h:284
constexpr char OPTION_SF[]
Definition: ecvCommandLineCommands.cpp:173
constexpr char COMMAND_BEST_FIT_PLANE[]
Definition: ecvCommandLineCommands.cpp:88
constexpr char COMMAND_DELAUNAY_BF[]
Definition: ecvCommandLineCommands.cpp:109
void addPoint(const CCVector3 &P)
Adds a 3D point to the database.
Definition: PointCloudTpl.h:246
constexpr char COMMAND_CROP_2D[]
Definition: ecvCommandLineCommands.cpp:96
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()
Definition: ecvCommandLineCommands.cpp:4166
Definition: ecvCommandLineCommands.h:278
Eigen::Matrix3d rotation
Definition: VoxelGridIO.cpp:27
bool initDialog()
Should be called once after the dialog is created.
Definition: ecvComparisonDlg.h:46
void computeMeanAndVariance(ScalarType &mean, ScalarType *variance=nullptr) const
Definition: ScalarField.cpp:41
Definition: ecvCommandLineCommands.h:136
@ LS
Definition: CVConst.h:123
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2666
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:3290
constexpr char COMMAND_ROUGHNESS_UP_DIR[]
Definition: ecvCommandLineCommands.cpp:73
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:721
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
constexpr char COMMAND_ICP[]
Definition: ecvCommandLineCommands.cpp:116
@ NORMAL_CHANGE_RATE
Definition: Neighbourhood.h:42
Definition: ecvCommandLineCommands.h:172
virtual ccHObject * getEntity()=0
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
void toggleAddTimestamp(bool state)
Definition: ecvCommandLineInterface.cpp:157
constexpr char COMMAND_APPLY_TRANSFORMATION[]
Definition: ecvCommandLineCommands.cpp:74
Type u[3]
Definition: CVGeom.h:139
@ EigenValue1
Definition: Neighbourhood.h:173
CommandClearClouds()
Definition: ecvCommandLineCommands.cpp:5211
@ Sphericity
Definition: Neighbourhood.h:171
void cancelAndExit()
Definition: ecvComparisonDlg.cpp:1055
void setName(const char *name)
Sets scalar field name.
Definition: ScalarField.cpp:22
@ PCA2
Definition: Neighbourhood.h:169
static void SetDefaultOutputFormat(e_ply_storage_mode format)
Definition: PlyFilter.cpp:74
virtual bool addChild(ccHObject *child, int dependencyFlags=DP_PARENT_OF_OTHER, int insertIndex=-1)
Adds a child.
Definition: ecvHObject.cpp:534
constexpr char OPTION_FORCE[]
Definition: ecvCommandLineCommands.cpp:171
@ CLOUDCLOUD_DIST
Definition: ecvComparisonDlg.h:31
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2612
CommandStatTest()
Definition: ecvCommandLineCommands.cpp:3944
@ USE_SAT_MAX
Definition: ecvCommandLineCommands.cpp:2058
virtual const char * getName() const =0
Returns distribution name.
virtual void setEnabled(bool state)
Sets the "enabled" property.
Definition: ecvObject.h:102
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:1936
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
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2331
virtual QString exportEntity(CLEntityDesc &entityDesc, const QString &suffix=QString(), QString *outputFilename=nullptr, ccCommandLineInterface::ExportOptions options=ExportOption::NoOptions)=0
Exports a cloud or a mesh.
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:2931
static void SavePointCountHeader(bool state)
Definition: AsciiFilter.cpp:63
@ Omnivariance
Definition: Neighbourhood.h:163
CommandFilterBySFValue()
Definition: ecvCommandLineCommands.cpp:2045
Definition: ecvCommandLineCommands.h:264
virtual void warning(const QString &message) const =0
@ Planarity
Definition: Neighbourhood.h:166
void setCurrentScalarField(int index)
Sets both the INPUT & OUTPUT scalar field.
Definition: PointCloudTpl.h:435
Definition: ecvCommandLineCommands.h:405
constexpr char COMMAND_ICP_ENABLE_FARTHEST_REMOVAL[]
Definition: ecvCommandLineCommands.cpp:123
bool ApplyCCLibAlgorithm(CC_LIB_ALGORITHM algo, ccHObject::Container &entities, QWidget *parent, void **additionalParameters)
Definition: ecvLibAlgorithms.cpp:395
CommandCPS()
Definition: ecvCommandLineCommands.cpp:3885
Plane (primitive)
Definition: ecvPlane.h:17
Definition: ecvCommandLineCommands.h:274
Definition: ecvCommandLineCommands.h:154
static bool ParseFileNames(ccCommandLineInterface &cmd, QStringList &fileNames)
Definition: ecvCommandLineCommands.cpp:4986
CommandClear()
Definition: ecvCommandLineCommands.cpp:5202
CommandRemoveRGB()
Definition: ecvCommandLineCommands.cpp:2581
#define CC_CHI2_DISTANCES_DEFAULT_SF_NAME
Definition: ecvCommon.h:22
A scalar field associated to display-related parameters.
Definition: ecvScalarField.h:19
Definition: ecvCommandLineCommands.h:216
bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: ecvCommandLineCommands.cpp:882
constexpr char COMMAND_DELAUNAY_AA[]
Definition: ecvCommandLineCommands.cpp:108
CommandCrop()
Definition: ecvCommandLineCommands.cpp:3155
Secondary SF descriptor.
Definition: ecvScalarFieldArithmeticsDlg.h:69
static void SetFileDesc(CLEntityDesc &desc, const QString &fileName)
Definition: ecvCommandLineCommands.cpp:5020
static bool GetSFIndexOrName(ccCommandLineInterface &cmd, int &sfIndex, QString &sfName, bool allowMinusOne=false)
Definition: ecvCommandLineCommands.cpp:184
CurvatureType
Curvature type.
Definition: Neighbourhood.h:42
Definition: ecvCommandLineCommands.h:88
void clearTriNormals()
Removes per-triangle normals.
Definition: ecvMesh.h:353
std::string name
Definition: FileIOFactory.cpp:129
constexpr char OPTION_SIGMA[]
Definition: ecvCommandLineCommands.cpp:179
Colored polyline.
Definition: ecvPolyline.h:23
QString toString(int precision=12, QChar separator=' ') const
Returns matrix as a string.
Definition: ecvGLMatrixTpl.h:502
constexpr char COMMAND_STAT_TEST[]
Definition: ecvCommandLineCommands.cpp:106
CommandApproxDensity()
Definition: ecvCommandLineCommands.cpp:1563
constexpr char COMMAND_VOLUME_TO_FILE[]
Definition: ecvCommandLineCommands.cpp:135
virtual bool importFile(QString filename, const GlobalShiftOptions &globalShiftOptions, FileIOFilter::Shared filter=FileIOFilter::Shared(nullptr))=0
Loads a file with a specific filter.
CommandSetActiveSF()
Definition: ecvCommandLineCommands.cpp:2440
constexpr char COMMAND_COLOR_BANDING[]
Definition: ecvCommandLineCommands.cpp:97