qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
ccCommandLineParser Class Reference

Command line parser. More...

#include <ccCommandLineParser.h>

Inheritance diagram for ccCommandLineParser:
Inheritance graph
[legend]
Collaboration diagram for ccCommandLineParser:
Collaboration graph
[legend]

Public Member Functions

 ~ccCommandLineParser () override
 Destructor.
 
QString getExportFilename (const CLEntityDesc &entityDesc, QString extension=QString(), QString suffix=QString(), QString *baseOutputFilename=nullptr, bool forceNoTimestamp=false) const override
 
QString exportEntity (CLEntityDesc &entityDesc, const QString &suffix=QString(), QString *baseOutputFilename=nullptr, ccCommandLineInterface::ExportOptions options=ExportOption::NoOptions) override
 
void removeClouds (bool onlyLast=false) override
 
void removeMeshes (bool onlyLast=false) override
 
QStringList & arguments () override
 
const QStringList & arguments () const override
 
bool registerCommand (Command::Shared command) override
 
QDialog * widgetParent () override
 
void print (const QString &message) const override
 
void warning (const QString &message) const override
 
bool error (const QString &message) const override
 
bool saveClouds (QString suffix=QString(), bool allAtOnce=false, const QString *allAtOnceFileName=nullptr) override
 
bool saveMeshes (QString suffix=QString(), bool allAtOnce=false, const QString *allAtOnceFileName=nullptr) override
 
bool importFile (QString filename, const GlobalShiftOptions &globalShiftOptions, FileIOFilter::Shared filter=FileIOFilter::Shared(nullptr)) override
 
QString cloudExportFormat () const override
 
QString cloudExportExt () const override
 
QString meshExportFormat () const override
 
QString meshExportExt () const override
 
QString hierarchyExportFormat () const override
 
QString hierarchyExportExt () const override
 
void setCloudExportFormat (QString format, QString ext) override
 
void setMeshExportFormat (QString format, QString ext) override
 
void setHierarchyExportFormat (QString format, QString ext) override
 

Static Public Member Functions

static int Parse (const QStringList &arguments, ccPluginInterfaceList &plugins)
 Parses the input command.
 

Protected Member Functions

 ccCommandLineParser ()
 Default constructor. More...
 
void registerBuiltInCommands ()
 
void cleanup ()
 
int start (QDialog *parent=nullptr)
 Parses the command line.
 

Detailed Description

Command line parser.

Constructor & Destructor Documentation

◆ ccCommandLineParser()

ccCommandLineParser::ccCommandLineParser ( )
protected

Default constructor.

Shouldn't be called by user.


The documentation for this class was generated from the following files: