ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvCommandLineParser.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 // interface
12 
13 // Local
14 #include "ecvPluginManager.h"
15 
16 class ecvProgressDialog;
17 class QDialog;
18 
21 public:
23  static int Parse(int nargs, char** args, ccPluginInterfaceList& plugins);
24 
26  ~ccCommandLineParser() override;
27 
28  // inherited from ccCommandLineInterface
29  QString getExportFilename(const CLEntityDesc& entityDesc,
30  QString extension = QString(),
31  QString suffix = QString(),
32  QString* baseOutputFilename = nullptr,
33  bool forceNoTimestamp = false) const override;
34  QString exportEntity(CLEntityDesc& entityDesc,
35  const QString& suffix = QString(),
36  QString* baseOutputFilename = nullptr,
37  ccCommandLineInterface::ExportOptions options =
38  ExportOption::NoOptions) override;
39  void removeClouds(bool onlyLast = false) override;
40  void removeMeshes(bool onlyLast = false) override;
41  QStringList& arguments() override { return m_arguments; }
42  const QStringList& arguments() const override { return m_arguments; }
43  bool registerCommand(Command::Shared command) override;
44  QDialog* widgetParent() override { return m_parentWidget; }
45  void print(const QString& message) const override;
46  void warning(const QString& message) const override;
47  bool error(const QString& message)
48  const override; // must always return false!
49  bool saveClouds(QString suffix = QString(),
50  bool allAtOnce = false,
51  const QString* allAtOnceFileName = nullptr) override;
52  bool saveMeshes(QString suffix = QString(),
53  bool allAtOnce = false,
54  const QString* allAtOnceFileName = nullptr) override;
55  bool importFile(QString filename,
56  const GlobalShiftOptions& globalShiftOptions,
57  FileIOFilter::Shared filter =
58  FileIOFilter::Shared(nullptr)) override;
59  QString cloudExportFormat() const override { return m_cloudExportFormat; }
60  QString cloudExportExt() const override { return m_cloudExportExt; }
61  QString meshExportFormat() const override { return m_meshExportFormat; }
62  QString meshExportExt() const override { return m_meshExportExt; }
63  QString hierarchyExportFormat() const override {
64  return m_hierarchyExportFormat;
65  }
66  QString hierarchyExportExt() const override { return m_hierarchyExportExt; }
67  void setCloudExportFormat(QString format, QString ext) override {
68  m_cloudExportFormat = format;
69  m_cloudExportExt = ext;
70  }
71  void setMeshExportFormat(QString format, QString ext) override {
72  m_meshExportFormat = format;
73  m_meshExportExt = ext;
74  }
75  void setHierarchyExportFormat(QString format, QString ext) override {
76  m_hierarchyExportFormat = format;
77  m_hierarchyExportExt = ext;
78  }
79 
80 protected: // other methods
82 
85 
87 
88  void cleanup();
89 
91  int start(QDialog* parent = 0);
92 
93 private: // members
96  QString m_cloudExportFormat;
98  QString m_cloudExportExt;
101  QString m_meshExportFormat;
103  QString m_meshExportExt;
106  QString m_hierarchyExportFormat;
108  QString m_hierarchyExportExt;
109 
111  QString m_meshFilename;
112 
114  QStringList m_arguments;
115 
117  QMap<QString, Command::Shared> m_commands;
118 
120  ccHObject m_orphans;
121 
123  ecvProgressDialog* m_progressDialog;
124 
126  QDialog* m_parentWidget;
127 };
CommandDelaunayTri
Definition: ecvCommandLineCommands.h:294
FileIOFilter::SaveToFile
static CC_FILE_ERROR SaveToFile(ccHObject *entities, const QString &filename, const SaveParameters &parameters, Shared filter)
Definition: FileIOFilter.cpp:377
CommandPopMeshes
Definition: ecvCommandLineCommands.h:393
ccHObject::filterChildren
unsigned filterChildren(Container &filteredChildren, bool recursive=false, CV_CLASS_ENUM filter=CV_TYPES::OBJECT, bool strict=false) const
Collects the children corresponding to a certain pattern.
Definition: ecvHObject.cpp:611
ccHObject::detachChild
void detachChild(ccHObject *child)
Detaches a specific child.
Definition: ecvHObject.cpp:988
ccCommandLineInterface::GlobalShiftOptions::FIRST_GLOBAL_SHIFT
@ FIRST_GLOBAL_SHIFT
Definition: ecvCommandLineInterface.h:225
filename
std::string filename
Definition: PointCloudIO.cpp:47
ccObject::isKindOf
bool isKindOf(CV_CLASS_ENUM type) const
Definition: ecvObject.h:128
ccCommandLineParser::cloudExportFormat
QString cloudExportFormat() const override
Returns the current cloud(s) export format.
Definition: ecvCommandLineParser.h:59
CommandCPS
Definition: ecvCommandLineCommands.h:282
cloudViewer::GenericMesh::size
virtual unsigned size() const =0
Returns the number of triangles.
ccCommandLineParser::hierarchyExportExt
QString hierarchyExportExt() const override
Definition: ecvCommandLineParser.h:66
cloudViewer::GenericCloud::size
virtual unsigned size() const =0
Returns the number of points.
ccCommandLineInterface::GlobalShiftOptions::customGlobalShift
CCVector3d customGlobalShift
Definition: ecvCommandLineInterface.h:230
ccHObject::getParent
ccHObject * getParent() const
Returns parent object.
Definition: ecvHObject.h:245
CommandSubsample
Definition: ecvCommandLineCommands.h:76
CommandSaveClouds
Definition: ecvCommandLineCommands.h:345
format
filament::Texture::InternalFormat format
Definition: FilamentResourceManager.cpp:181
ccCommandLineInterface::clouds
virtual std::vector< CLCloudDesc > & clouds()
Currently opened point clouds and their filename.
Definition: ecvCommandLineInterface.cpp:133
ccCommandLineParser::registerCommand
bool registerCommand(Command::Shared command) override
Definition: ecvCommandLineParser.cpp:154
ccCommandLineInterface::m_loadingParameters
CLLoadParameters m_loadingParameters
File loading parameters.
Definition: ecvCommandLineInterface.h:340
ccCommandLineParser::removeMeshes
void removeMeshes(bool onlyLast=false) override
Removes all meshes (or only the last one ;)
Definition: ecvCommandLineParser.cpp:347
CommandSaveMeshes
Definition: ecvCommandLineCommands.h:351
CV_TYPES::MESH
@ MESH
Definition: CVTypes.h:105
CommandExtractCCs
Definition: ecvCommandLineCommands.h:82
CommandApplyTransformation
Definition: ecvCommandLineCommands.h:118
ccObject::setName
virtual void setName(const QString &name)
Sets object name.
Definition: ecvObject.h:75
CommandSetActiveSF
Definition: ecvCommandLineCommands.h:166
ccObject::isA
bool isA(CV_CLASS_ENUM type) const
Definition: ecvObject.h:131
CommandConvertNormalsToDipAndDipDir
Definition: ecvCommandLineCommands.h:63
ccCommandLineParser::saveMeshes
bool saveMeshes(QString suffix=QString(), bool allAtOnce=false, const QString *allAtOnceFileName=nullptr) override
Saves all meshes.
Definition: ecvCommandLineParser.cpp:574
CVLog::Print
static bool Print(const char *format,...)
Prints out a formatted message in console.
Definition: CVLog.cpp:113
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.
ccCommandLineParser::widgetParent
QDialog * widgetParent() override
Returns a (widget) parent (if any is available)
Definition: ecvCommandLineParser.h:44
ecvConsole::ReleaseInstance
static void ReleaseInstance(bool flush=true)
Releases unique instance.
Definition: ecvConsole.cpp:90
CommandChangeMeshOutputFormat
Definition: ecvCommandLineCommands.h:27
ccCommandLineParser
Command line parser.
Definition: ecvCommandLineParser.h:20
ccCommandLineParser::setCloudExportFormat
void setCloudExportFormat(QString format, QString ext) override
Sets the current cloud(s) export format and extension.
Definition: ecvCommandLineParser.h:67
ccCommandLineParser::importFile
bool importFile(QString filename, const GlobalShiftOptions &globalShiftOptions, FileIOFilter::Shared filter=FileIOFilter::Shared(nullptr)) override
Loads a file with a specific filter.
Definition: ecvCommandLineParser.cpp:356
CLEntityDesc::basename
QString basename
Definition: ecvCommandLineInterface.h:35
cloudViewer::PointCloudTpl::size
unsigned size() const override
Definition: PointCloudTpl.h:38
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
CommandClearMeshes
Definition: ecvCommandLineCommands.h:387
BinFilter
CLOUDVIEWER dedicated binary point cloud I/O filter.
Definition: BinFilter.h:15
ccCommandLineParser::meshExportFormat
QString meshExportFormat() const override
Returns the current mesh(es) export format.
Definition: ecvCommandLineParser.h:61
ecvGlobalShiftManager::NO_DIALOG_AUTO_SHIFT
@ NO_DIALOG_AUTO_SHIFT
Definition: ecvGlobalShiftManager.h:31
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
ecvPluginManager.h
ccCommandLineParser::hierarchyExportFormat
QString hierarchyExportFormat() const override
Returns the current hierarchy(ies) export format.
Definition: ecvCommandLineParser.h:63
CommandChangePLYExportFormat
Definition: ecvCommandLineCommands.h:324
CommandICP
Definition: ecvCommandLineCommands.h:318
CommandStatTest
Definition: ecvCommandLineCommands.h:288
ccCommandLineInterface::silentMode
bool silentMode() const
Returns the silent mode.
Definition: ecvCommandLineInterface.cpp:149
ccCommandLineParser::start
int start(QDialog *parent=0)
Parses the command line.
Definition: ecvCommandLineParser.cpp:701
CommandFeature
Definition: ecvCommandLineCommands.h:411
ccHObject::Container
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
ccCommandLineInterface::GlobalShiftOptions
Global Shift options.
Definition: ecvCommandLineInterface.h:221
ecvGenericMesh.h
CCVector3d
Vector3Tpl< double > CCVector3d
Double 3D Vector.
Definition: CVGeom.h:804
CommandMatchBestFitPlane
Definition: ecvCommandLineCommands.h:210
ccCommandLineInterface::meshes
virtual std::vector< CLMeshDesc > & meshes()
Currently opened meshes and their filename.
Definition: ecvCommandLineInterface.cpp:139
ccCommandLineParser::setMeshExportFormat
void setMeshExportFormat(QString format, QString ext) override
Sets the current mesh(es) export format and extension.
Definition: ecvCommandLineParser.h:71
result
core::Tensor result
Definition: VtkUtils.cpp:76
ecvCommandLineInterface.h
CVLog::Error
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
ecvConsole.h
CommandClearClouds
Definition: ecvCommandLineCommands.h:375
CommandRemoveRGB
Definition: ecvCommandLineCommands.h:186
BinFilter::GetFileFilter
static QString GetFileFilter()
Definition: BinFilter.h:20
CommandClearNormals
Definition: ecvCommandLineCommands.h:45
CommandSampleMesh
Definition: ecvCommandLineCommands.h:234
CommandAutoSave
Definition: ecvCommandLineCommands.h:357
ccCommandLineParser::saveClouds
bool saveClouds(QString suffix=QString(), bool allAtOnce=false, const QString *allAtOnceFileName=nullptr) override
Saves all clouds.
Definition: ecvCommandLineParser.cpp:519
CommandLogFile
Definition: ecvCommandLineCommands.h:363
ccGenericPointCloud
A 3D cloud interface with associated features (color, normals, octree, etc.)
Definition: ecvGenericPointCloud.h:45
FileIOFilter::SaveParameters::alwaysDisplaySaveDialog
bool alwaysDisplaySaveDialog
Definition: FileIOFilter.h:91
CommandExtractVertices
Definition: ecvCommandLineCommands.h:228
Vector3Tpl< double >
ccCommandLineParser::setHierarchyExportFormat
void setHierarchyExportFormat(QString format, QString ext) override
Sets the current hierarchy(ies) export format and extension.
Definition: ecvCommandLineParser.h:75
CommandLoad
Definition: ecvCommandLineCommands.h:39
FileIOFilter::LoadFromFile
static ccHObject * LoadFromFile(const QString &filename, LoadParameters &parameters, Shared filter, CC_FILE_ERROR &result)
Loads one or more entities from a file with a known filter.
Definition: FileIOFilter.cpp:253
ccCommandLineInterface::Command::Shared
QSharedPointer< Command > Shared
Shared type.
Definition: ecvCommandLineInterface.h:132
CommandCrop2D
Definition: ecvCommandLineCommands.h:252
CLEntityDesc::path
QString path
Definition: ecvCommandLineInterface.h:36
CommandVolume25D
Definition: ecvCommandRaster.h:18
ecvCommandLineParser.h
ccCommandLineInterface::CLLoadParameters::m_coordinatesShiftEnabled
bool m_coordinatesShiftEnabled
Definition: ecvCommandLineInterface.h:213
CC_FILE_ERROR
CC_FILE_ERROR
Typical I/O filter errors.
Definition: FileIOFilter.h:20
BinFilter.h
ecvCommandRaster.h
CommandColorBanding
Definition: ecvCommandLineCommands.h:258
CommandMergeClouds
Definition: ecvCommandLineCommands.h:160
ecvProgressDialog
Graphical progress indicator (thread-safe)
Definition: ecvProgressDialog.h:27
ccCommandLineParser::meshExportExt
QString meshExportExt() const override
Returns the current mesh(es) export extension (warning: can be anything)
Definition: ecvCommandLineParser.h:62
CommandDropGlobalShift
Definition: ecvCommandLineCommands.h:124
CLEntityDesc
Loaded entity description.
Definition: ecvCommandLineInterface.h:34
CL_ENTITY_TYPE::CLOUD
@ CLOUD
CommandFilterBySFValue
Definition: ecvCommandLineCommands.h:142
ccCommandLineInterface::ExportOption::NoOptions
@ NoOptions
ecvProgressDialog.h
ccCommandLineInterface::m_addTimestamp
bool m_addTimestamp
Whether a timestamp should be automatically added to output files or not.
Definition: ecvCommandLineInterface.h:334
CommandRemoveScanGrids
Definition: ecvCommandLineCommands.h:198
ccGenericMesh
Generic mesh interface.
Definition: ecvGenericMesh.h:28
CommandApproxDensity
Definition: ecvCommandLineCommands.h:94
ccCommandLineParser::removeClouds
void removeClouds(bool onlyLast=false) override
Removes all clouds (or only the last one ;)
Definition: ecvCommandLineParser.cpp:339
CommandSFRename
Definition: ecvCommandLineCommands.h:312
CommandSFGradient
Definition: ecvCommandLineCommands.h:106
CommandRasterize
Definition: ecvCommandRaster.h:12
CLEntityDesc::indexInFile
int indexInFile
Definition: ecvCommandLineInterface.h:37
CommandSetNoTimestamp
Definition: ecvCommandLineCommands.h:399
ccCommandLineInterface::GlobalShiftOptions::AUTO_GLOBAL_SHIFT
@ AUTO_GLOBAL_SHIFT
Definition: ecvCommandLineInterface.h:224
CommandSORFilter
Definition: ecvCommandLineCommands.h:222
CommandComputeMeshVolume
Definition: ecvCommandLineCommands.h:148
ccCommandLineInterface::ExportOption::ForceMesh
@ ForceMesh
CommandDensity
Definition: ecvCommandLineCommands.h:100
ccCommandLineInterface::GlobalShiftOptions::NO_GLOBAL_SHIFT
@ NO_GLOBAL_SHIFT
Definition: ecvCommandLineInterface.h:223
CommandMatchBBCenters
Definition: ecvCommandLineCommands.h:204
CLEntityDesc::getCLEntityType
virtual CL_ENTITY_TYPE getCLEntityType() const =0
COMMAND_HELP
constexpr char COMMAND_HELP[]
Definition: ecvCommandLineParser.cpp:37
FileIOFilter::LoadParameters::shiftHandlingMode
ecvGlobalShiftManager::Mode shiftHandlingMode
How to handle big coordinates.
Definition: FileIOFilter.h:64
ccCommandLineInterface::CLLoadParameters::m_coordinatesShift
CCVector3d m_coordinatesShift
Definition: ecvCommandLineInterface.h:214
ccCommandLineInterface::ExportOption::ForceNoTimestamp
@ ForceNoTimestamp
ecvGlobalShiftManager::NO_DIALOG
@ NO_DIALOG
Definition: ecvGlobalShiftManager.h:30
CommandSFOperation
Definition: ecvCommandLineCommands.h:306
CL_ENTITY_TYPE::MESH
@ MESH
CommandForceNormalsComputation
Definition: ecvCommandLineCommands.h:330
ccCommandLineParser::print
void print(const QString &message) const override
Definition: ecvCommandLineParser.cpp:44
CommandClear
Definition: ecvCommandLineCommands.h:369
ccCommandLineInterface
Command line interface.
Definition: ecvCommandLineInterface.h:112
CommandInvertNormal
Definition: ecvCommandLineCommands.h:57
ccCommandLineParser::cloudExportExt
QString cloudExportExt() const override
Returns the current cloud(s) export extension (warning: can be anything)
Definition: ecvCommandLineParser.h:60
ecvHObjectCaster.h
ccCommandLineInterface::GlobalShiftOptions::CUSTOM_GLOBAL_SHIFT
@ CUSTOM_GLOBAL_SHIFT
Definition: ecvCommandLineInterface.h:226
ccPluginInterface
Standard ECV plugin interface.
Definition: ecvPluginInterface.h:33
CLCloudDesc
Loaded cloud description.
Definition: ecvCommandLineInterface.h:68
ccObject::getUniqueID
virtual unsigned getUniqueID() const
Returns object unique ID.
Definition: ecvObject.h:86
CommandRemoveSF
Definition: ecvCommandLineCommands.h:178
CommandRemoveNormals
Definition: ecvCommandLineCommands.h:192
FileIOFilter::Shared
QSharedPointer< FileIOFilter > Shared
Shared type.
Definition: FileIOFilter.h:97
ccCommandLineParser::~ccCommandLineParser
~ccCommandLineParser() override
Destructor.
Definition: ecvCommandLineParser.cpp:147
CommandCrop
Definition: ecvCommandLineCommands.h:240
FileIOFilter::SaveParameters::parentWidget
QWidget * parentWidget
Parent widget (if any)
Definition: FileIOFilter.h:93
ccCommandLineInterface::GlobalShiftOptions::mode
Mode mode
Definition: ecvCommandLineInterface.h:229
CommandChangeHierarchyOutputFormat
Definition: ecvCommandLineCommands.h:33
count
int count
Definition: FileIOFactory.cpp:132
CommandConvertNormalsToSFs
Definition: ecvCommandLineCommands.h:70
CVLog::Warning
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
Definition: CVLog.cpp:133
FileIOFilter::SaveParameters
Generic saving parameters.
Definition: FileIOFilter.h:84
CommandSFColorScale
Definition: ecvCommandLineCommands.h:130
CVLog::TheInstance
static CVLog * TheInstance()
Returns the static and unique instance.
Definition: CVLog.cpp:53
ccCommandLineInterface::ExportOption::ForceCloud
@ ForceCloud
CommandChangeCloudOutputFormat
Definition: ecvCommandLineCommands.h:21
ccHObject::isAncestorOf
bool isAncestorOf(const ccHObject *anObject) const
Returns true if the current object is an ancestor of the specified one.
Definition: ecvHObject.cpp:699
ecvPluginInterface.h
CLMeshDesc::mesh
ccGenericMesh * mesh
Definition: ecvCommandLineInterface.h:91
ccCommandLineParser::getExportFilename
QString getExportFilename(const CLEntityDesc &entityDesc, QString extension=QString(), QString suffix=QString(), QString *baseOutputFilename=nullptr, bool forceNoTimestamp=false) const override
Returns the name of a to-be-exported entity.
Definition: ecvCommandLineParser.cpp:174
CLGroupDesc
Loaded group description.
Definition: ecvCommandLineInterface.h:53
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
ccObject::getName
virtual QString getName() const
Returns object name.
Definition: ecvObject.h:72
ccCommandLineParser::error
bool error(const QString &message) const override
Definition: ecvCommandLineParser.cpp:52
ccCommandLineParser::exportEntity
QString exportEntity(CLEntityDesc &entityDesc, const QString &suffix=QString(), QString *baseOutputFilename=nullptr, ccCommandLineInterface::ExportOptions options=ExportOption::NoOptions) override
Exports a cloud or a mesh.
Definition: ecvCommandLineParser.cpp:223
CommandOctreeNormal
Definition: ecvCommandLineCommands.h:51
CLMeshDesc
Loaded mesh description.
Definition: ecvCommandLineInterface.h:90
CommandCoordToSF
Definition: ecvCommandLineCommands.h:246
CommandCrossSection
Definition: ecvCommandCrossSection.h:15
ccPluginInterfaceList
QVector< ccPluginInterface * > ccPluginInterfaceList
Simply a list of.
Definition: ecvPluginManager.h:18
ccHObject::DP_NONE
@ DP_NONE
Definition: ecvHObject.h:258
CommandC2CDist
Definition: ecvCommandLineCommands.h:278
CommandSFConvertToRGB
Definition: ecvCommandLineCommands.h:136
ccCommandLineParser::cleanup
void cleanup()
Definition: ecvCommandLineParser.cpp:696
ccCommandLineInterface::m_clouds
std::vector< CLCloudDesc > m_clouds
Currently opened point clouds and their filename.
Definition: ecvCommandLineInterface.h:322
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
ecvCommandCrossSection.h
ccCommandLineParser::arguments
QStringList & arguments() override
Returns the list of arguments.
Definition: ecvCommandLineParser.h:41
ccCommandLineParser::arguments
const QStringList & arguments() const override
Returns the list of arguments (const version)
Definition: ecvCommandLineParser.h:42
ccHObject::addChild
virtual bool addChild(ccHObject *child, int dependencyFlags=DP_PARENT_OF_OTHER, int insertIndex=-1)
Adds a child.
Definition: ecvHObject.cpp:534
CC_FERR_NO_ERROR
@ CC_FERR_NO_ERROR
Definition: FileIOFilter.h:21
ccCommandLineParser::ccCommandLineParser
ccCommandLineParser()
Default constructor.
Definition: ecvCommandLineParser.cpp:135
ccCommandLineInterface::m_meshes
std::vector< CLMeshDesc > m_meshes
Currently opened meshes and their filename.
Definition: ecvCommandLineInterface.h:325
CommandMoment
Definition: ecvCommandLineCommands.h:405
FileIOFilter::GetFilter
static Shared GetFilter(const QString &fileFilter, bool onImport)
Returns the filter corresponding to the given 'file filter'.
Definition: FileIOFilter.cpp:212
CommandC2MDist
Definition: ecvCommandLineCommands.h:274
ccCommandLineParser::Parse
static int Parse(int nargs, char **args, ccPluginInterfaceList &plugins)
Parses the input command.
Definition: ecvCommandLineParser.cpp:58
CommandMergeMeshes
Definition: ecvCommandLineCommands.h:154
ecvCommandLineCommands.h
ccCommandLineParser::registerBuiltInCommands
void registerBuiltInCommands()
Definition: ecvCommandLineParser.cpp:627
ccCommandLineParser::warning
void warning(const QString &message) const override
Definition: ecvCommandLineParser.cpp:48
COMMAND_SILENT_MODE
constexpr char COMMAND_SILENT_MODE[]
Definition: ecvCommandLineParser.cpp:38
CommandOrientNormalsMST
Definition: ecvCommandLineCommands.h:216
CommandSave::SetFileDesc
static void SetFileDesc(CLEntityDesc &desc, const QString &fileName)
Definition: ecvCommandLineCommands.cpp:5020
CommandCurvature
Definition: ecvCommandLineCommands.h:88
ccHObjectCaster::ToGenericMesh
static ccGenericMesh * ToGenericMesh(ccHObject *obj)
Converts current object to ccGenericMesh (if possible)
Definition: ecvHObjectCaster.cpp:123
AsciiFilter.h
ccCommandLineInterface::ExportOption::ForceHierarchy
@ ForceHierarchy