 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
25 cmd.
print(
"[LOADING LAS]");
28 QString(
"Missing parameter: filename after \"-%1\"")
52 "Internal error: failed to load the LAS FWF I/O filter");
69 bool allAtOnce =
false;
74 QString argument = cmd.
arguments().front();
97 bool success = cmd.
saveClouds(QString(), allAtOnce);
101 previousCloudExportExt);
virtual bool saveClouds(QString suffix=QString(), bool allAtOnce=false, const QString *allAtOnceFileName=nullptr)=0
Saves all clouds.
std::string filename
Definition: PointCloudIO.cpp:47
virtual bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: qLASFWFIOCommands.h:68
CommandLoadLASFWF()
Definition: qLASFWFIOCommands.h:21
virtual QString cloudExportFormat() const =0
Returns the current cloud(s) export format.
static const char OPTION_COMPRESSED[]
Definition: qLASFWFIOCommands.h:18
virtual bool error(const QString &message) const =0
virtual bool process(ccCommandLineInterface &cmd) override
Main process.
Definition: qLASFWFIOCommands.h:24
static const char OPTION_ALL_AT_ONCE[]
Definition: qLASFWFIOCommands.h:17
bool nextCommandIsGlobalShift() const
Returns whether the nex command is the '-GLOBAL_SHIFT' option.
Definition: ecvCommandLineInterface.cpp:167
Definition: qLASFWFIOCommands.h:20
Global Shift options.
Definition: ecvCommandLineInterface.h:221
core::Tensor result
Definition: VtkUtils.cpp:76
virtual void setCloudExportFormat(QString format, QString ext)=0
Sets the current cloud(s) export format and extension.
static const char COMMAND_LOAD_FWF[]
Definition: qLASFWFIOCommands.h:15
CC_FILE_ERROR
Typical I/O filter errors.
Definition: FileIOFilter.h:20
bool processGlobalShiftCommand(GlobalShiftOptions &options)
Definition: ecvCommandLineInterface.cpp:172
Generic command interface.
Definition: ecvCommandLineInterface.h:130
virtual QStringList & arguments()=0
Returns the list of arguments.
virtual void print(const QString &message) const =0
Command line interface.
Definition: ecvCommandLineInterface.h:112
QSharedPointer< FileIOFilter > Shared
Shared type.
Definition: FileIOFilter.h:97
static const char COMMAND_SAVE_CLOUDS_FWF[]
Definition: qLASFWFIOCommands.h:16
Definition: qLASFWFIOCommands.h:63
virtual QString cloudExportExt() const =0
Returns the current cloud(s) export extension (warning: can be anything)
Command(const QString &name, const QString &keyword)
Default constructor.
Definition: ecvCommandLineInterface.cpp:225
CommandSaveLASFWF()
Definition: qLASFWFIOCommands.h:64
@ CC_FERR_NO_ERROR
Definition: FileIOFilter.h:21
static QString GetFileFilter()
Definition: LASFWFFilter.h:19
static Shared GetFilter(const QString &fileFilter, bool onImport)
Returns the filter corresponding to the given 'file filter'.
Definition: FileIOFilter.cpp:212
virtual bool importFile(QString filename, const GlobalShiftOptions &globalShiftOptions, FileIOFilter::Shared filter=FileIOFilter::Shared(nullptr))=0
Loads a file with a specific filter.