![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Command line interface. More...
#include <ecvCommandLineInterface.h>
Classes | |
| struct | CLLoadParameters |
| struct | Command |
| Generic command interface. More... | |
| struct | GlobalShiftOptions |
| Global Shift options. More... | |
Public Types | |
| enum | ExportOption { ExportOption::NoOptions = 0x0, ExportOption::ForceCloud = 0x1, ExportOption::ForceMesh = 0x2, ExportOption::ForceHierarchy = 0x4, ExportOption::ForceNoTimestamp = 0x8 } |
Public Member Functions | |
| ccCommandLineInterface () | |
| Default constructor. More... | |
| virtual | ~ccCommandLineInterface ()=default |
| virtual bool | registerCommand (Command::Shared command)=0 |
| Registers a new command. More... | |
| virtual QString | getExportFilename (const CLEntityDesc &entityDesc, QString extension=QString(), QString suffix=QString(), QString *baseOutputFilename=nullptr, bool forceNoTimestamp=false) const =0 |
| Returns the name of a to-be-exported entity. More... | |
| virtual QString | exportEntity (CLEntityDesc &entityDesc, const QString &suffix=QString(), QString *outputFilename=nullptr, ccCommandLineInterface::ExportOptions options=ExportOption::NoOptions)=0 |
| Exports a cloud or a mesh. More... | |
| virtual bool | saveClouds (QString suffix=QString(), bool allAtOnce=false, const QString *allAtOnceFileName=nullptr)=0 |
| Saves all clouds. More... | |
| virtual bool | saveMeshes (QString suffix=QString(), bool allAtOnce=false, const QString *allAtOnceFileName=nullptr)=0 |
| Saves all meshes. More... | |
| virtual void | removeClouds (bool onlyLast=false)=0 |
| Removes all clouds (or only the last one ;) More... | |
| virtual void | removeMeshes (bool onlyLast=false)=0 |
| Removes all meshes (or only the last one ;) More... | |
| virtual QStringList & | arguments ()=0 |
| Returns the list of arguments. More... | |
| virtual const QStringList & | arguments () const =0 |
| Returns the list of arguments (const version) More... | |
| virtual ecvProgressDialog * | progressDialog () |
| Returns a (shared) progress dialog (if any is available) More... | |
| virtual QDialog * | widgetParent () |
| Returns a (widget) parent (if any is available) More... | |
| virtual CLLoadParameters & | fileLoadingParams () |
| File loading parameters. More... | |
| virtual bool | importFile (QString filename, const GlobalShiftOptions &globalShiftOptions, FileIOFilter::Shared filter=FileIOFilter::Shared(nullptr))=0 |
| Loads a file with a specific filter. More... | |
| virtual QString | cloudExportFormat () const =0 |
| Returns the current cloud(s) export format. More... | |
| virtual QString | cloudExportExt () const =0 |
| Returns the current cloud(s) export extension (warning: can be anything) More... | |
| virtual QString | meshExportFormat () const =0 |
| Returns the current mesh(es) export format. More... | |
| virtual QString | meshExportExt () const =0 |
| Returns the current mesh(es) export extension (warning: can be anything) More... | |
| virtual QString | hierarchyExportFormat () const =0 |
| Returns the current hierarchy(ies) export format. More... | |
| virtual QString | hierarchyExportExt () const =0 |
| virtual void | setCloudExportFormat (QString format, QString ext)=0 |
| Sets the current cloud(s) export format and extension. More... | |
| virtual void | setMeshExportFormat (QString format, QString ext)=0 |
| Sets the current mesh(es) export format and extension. More... | |
| virtual void | setHierarchyExportFormat (QString format, QString ext)=0 |
| Sets the current hierarchy(ies) export format and extension. More... | |
| virtual void | print (const QString &message) const =0 |
| virtual void | warning (const QString &message) const =0 |
| virtual bool | error (const QString &message) const =0 |
| virtual std::vector< CLCloudDesc > & | clouds () |
| Currently opened point clouds and their filename. More... | |
| virtual const std::vector< CLCloudDesc > & | clouds () const |
| Currently opened point clouds and their filename (const version) More... | |
| virtual std::vector< CLMeshDesc > & | meshes () |
| Currently opened meshes and their filename. More... | |
| virtual const std::vector< CLMeshDesc > & | meshes () const |
| Currently opened meshes and their filename (const version) More... | |
| void | toggleSilentMode (bool state) |
| Toggles silent mode. More... | |
| bool | silentMode () const |
| Returns the silent mode. More... | |
| void | toggleAutoSaveMode (bool state) |
| bool | autoSaveMode () const |
| void | toggleAddTimestamp (bool state) |
| bool | addTimestamp () const |
| void | setNumericalPrecision (int p) |
| Sets the numerical precision. More... | |
| int | numericalPrecision () const |
| Returns the numerical precision. More... | |
| bool | nextCommandIsGlobalShift () const |
| Returns whether the nex command is the '-GLOBAL_SHIFT' option. More... | |
| bool | processGlobalShiftCommand (GlobalShiftOptions &options) |
Static Public Member Functions | |
| static bool | IsCommand (const QString &token, const char *command) |
| Test whether a command line token is a valid command keyword or not. More... | |
Protected Attributes | |
| std::vector< CLCloudDesc > | m_clouds |
| Currently opened point clouds and their filename. More... | |
| std::vector< CLMeshDesc > | m_meshes |
| Currently opened meshes and their filename. More... | |
| bool | m_silentMode |
| Silent mode. More... | |
| bool | m_autoSaveMode |
| Whether files should be automatically saved (after each process) or not. More... | |
| bool | m_addTimestamp |
| Whether a timestamp should be automatically added to output files or not. More... | |
| int | m_precision |
| Default numerical precision for ASCII output. More... | |
| CLLoadParameters | m_loadingParameters |
| File loading parameters. More... | |
Command line interface.
|
strong |
| ccCommandLineInterface::ccCommandLineInterface | ( | ) |
Default constructor.
|
virtualdefault |
| bool ccCommandLineInterface::addTimestamp | ( | ) | const |
Returns whether a timestamp should be automatically added to output files or not
References m_addTimestamp.
Referenced by CommandRasterize::process(), CommandVolume25D::process(), CommandMatchBestFitPlane::process(), CommandICP::process(), CommandSaveClouds::process(), and CommandSaveMeshes::process().
|
pure virtual |
Returns the list of arguments (const version)
Implemented in ccCommandLineParser.
|
pure virtual |
Returns the list of arguments.
Implemented in ccCommandLineParser.
Referenced by CommandChangeOutputFormat::getFileFormatFilter(), GetSFIndexOrName(), CommandRANSAC::makePathIfPossible(), nextCommandIsGlobalShift(), CommandSave::ParseFileNames(), PythonPluginCommand::Args::parseFrom(), CommandRasterize::process(), CommandCrossSection::process(), CommandVolume25D::process(), CommandM3C2::process(), CommandChangeCloudOutputFormat::process(), CommandLoadLASFWF::process(), CommandCanupoClassif::process(), CommandChangeMeshOutputFormat::process(), CommandCSF::process(), BundlerCommand::process(), FBXCommand::process(), CommandChangeHierarchyOutputFormat::process(), PCDCommand::process(), CommandLoad::process(), PCVCommand::process(), CommandOctreeNormal::process(), Command3DMASCClassif::process(), CommandRANSAC::process(), CommandTreeIso::process(), CommandSaveLASFWF::process(), CommandSubsample::process(), CommandExtractCCs::process(), CommandCurvature::process(), CommandApproxDensity::process(), CommandDensity::process(), CommandSFGradient::process(), CommandRoughness::process(), CommandApplyTransformation::process(), CommandSFColorScale::process(), CommandSFConvertToRGB::process(), CommandFilterBySFValue::process(), CommandComputeMeshVolume::process(), CommandSetActiveSF::process(), CommandRemoveSF::process(), CommandMatchBestFitPlane::process(), CommandOrientNormalsMST::process(), CommandSORFilter::process(), CommandSampleMesh::process(), CommandCrop::process(), CommandCoordToSF::process(), CommandCrop2D::process(), CommandColorBanding::process(), CommandDist::process(), CommandStatTest::process(), CommandDelaunayTri::process(), CommandSFArithmetic::process(), CommandSFOperation::process(), CommandSFRename::process(), CommandICP::process(), CommandChangePLYExportFormat::process(), CommandSaveClouds::process(), CommandSaveMeshes::process(), CommandAutoSave::process(), CommandLogFile::process(), CommandMoment::process(), CommandFeature::process(), processGlobalShiftCommand(), and ReadDensityType().
| bool ccCommandLineInterface::autoSaveMode | ( | ) | const |
Returns whether files should be automatically saved (after each process) or not
References m_autoSaveMode.
Referenced by CommandRasterize::process(), CommandVolume25D::process(), CommandM3C2::process(), CommandCanupoClassif::process(), PCVCommand::process(), CommandOctreeNormal::process(), Command3DMASCClassif::process(), CommandRANSAC::process(), CommandInvertNormal::process(), CommandConvertNormalsToDipAndDipDir::process(), CommandConvertNormalsToSFs::process(), CommandSubsample::process(), CommandExtractCCs::process(), CommandCurvature::process(), CommandApproxDensity::process(), CommandDensity::process(), CommandSFGradient::process(), CommandRoughness::process(), CommandApplyTransformation::process(), CommandSFColorScale::process(), CommandSFConvertToRGB::process(), CommandFilterBySFValue::process(), CommandMergeMeshes::process(), CommandMergeClouds::process(), CommandMatchBBCenters::process(), CommandMatchBestFitPlane::process(), CommandOrientNormalsMST::process(), CommandSORFilter::process(), CommandExtractVertices::process(), CommandSampleMesh::process(), CommandCrop::process(), CommandCoordToSF::process(), CommandCrop2D::process(), CommandColorBanding::process(), CommandDist::process(), CommandStatTest::process(), CommandDelaunayTri::process(), CommandSFArithmetic::process(), CommandSFOperation::process(), CommandSFRename::process(), CommandICP::process(), CommandMoment::process(), and CommandFeature::process().
|
pure virtual |
Returns the current cloud(s) export extension (warning: can be anything)
Implemented in ccCommandLineParser.
Referenced by CommandChangeCloudOutputFormat::process(), CommandSaveLASFWF::process(), and CommandSaveClouds::process().
|
pure virtual |
Returns the current cloud(s) export format.
Implemented in ccCommandLineParser.
Referenced by CommandChangeCloudOutputFormat::process(), CommandSaveLASFWF::process(), and CommandSaveClouds::process().
|
virtual |
Currently opened point clouds and their filename.
References m_clouds.
Referenced by define_ccCommandLine(), ccCommandLineParser::importFile(), CommandRasterize::process(), CommandCrossSection::process(), CommandVolume25D::process(), CommandM3C2::process(), CommandCanupoClassif::process(), CommandCSF::process(), CommandClearNormals::process(), PCVCommand::process(), CommandOctreeNormal::process(), Command3DMASCClassif::process(), CommandRANSAC::process(), CommandInvertNormal::process(), CommandTreeIso::process(), CommandConvertNormalsToDipAndDipDir::process(), CommandConvertNormalsToSFs::process(), CommandSubsample::process(), CommandExtractCCs::process(), CommandCurvature::process(), CommandApproxDensity::process(), CommandDensity::process(), CommandSFGradient::process(), CommandRoughness::process(), CommandApplyTransformation::process(), CommandDropGlobalShift::process(), CommandSFColorScale::process(), CommandSFConvertToRGB::process(), CommandFilterBySFValue::process(), CommandMergeClouds::process(), CommandSetActiveSF::process(), CommandRemoveAllSFs::process(), CommandRemoveSF::process(), CommandRemoveRGB::process(), CommandRemoveNormals::process(), CommandRemoveScanGrids::process(), CommandMatchBBCenters::process(), CommandMatchBestFitPlane::process(), CommandOrientNormalsMST::process(), CommandSORFilter::process(), CommandExtractVertices::process(), CommandSampleMesh::process(), CommandCrop::process(), CommandCoordToSF::process(), CommandCrop2D::process(), CommandColorBanding::process(), CommandDist::process(), CommandCPS::process(), CommandStatTest::process(), CommandDelaunayTri::process(), CommandSFArithmetic::process(), CommandSFOperation::process(), CommandSFRename::process(), CommandICP::process(), CommandSaveClouds::process(), CommandMoment::process(), and CommandFeature::process().
|
virtual |
Currently opened point clouds and their filename (const version)
|
pure virtual |
Implemented in ccCommandLineParser.
Referenced by CommandChangeOutputFormat::getFileFormatFilter(), CommandRANSAC::makePathIfPossible(), CommandSave::ParseFileNames(), PythonPluginCommand::Args::parseFrom(), CommandRasterize::process(), CommandCrossSection::process(), CommandM3C2::process(), CommandVolume25D::process(), CommandChangeCloudOutputFormat::process(), CommandLoadLASFWF::process(), CommandCanupoClassif::process(), CommandChangeMeshOutputFormat::process(), CommandCSF::process(), BundlerCommand::process(), FBXCommand::process(), CommandChangeHierarchyOutputFormat::process(), PCDCommand::process(), CommandLoad::process(), PCVCommand::process(), CommandClearNormals::process(), CommandRANSAC::process(), CommandOctreeNormal::process(), Command3DMASCClassif::process(), CommandInvertNormal::process(), CommandTreeIso::process(), CommandConvertNormalsToDipAndDipDir::process(), CommandConvertNormalsToSFs::process(), CommandSubsample::process(), CommandExtractCCs::process(), CommandCurvature::process(), CommandApproxDensity::process(), CommandDensity::process(), CommandSFGradient::process(), CommandRoughness::process(), CommandApplyTransformation::process(), CommandDropGlobalShift::process(), CommandSFColorScale::process(), CommandSFConvertToRGB::process(), CommandFilterBySFValue::process(), CommandComputeMeshVolume::process(), CommandMergeMeshes::process(), CommandMergeClouds::process(), CommandSetActiveSF::process(), CommandRemoveSF::process(), CommandMatchBBCenters::process(), CommandMatchBestFitPlane::process(), CommandOrientNormalsMST::process(), CommandSORFilter::process(), CommandExtractVertices::process(), CommandSampleMesh::process(), CommandCrop::process(), CommandCoordToSF::process(), CommandCrop2D::process(), CommandColorBanding::process(), CommandDist::process(), CommandCPS::process(), CommandStatTest::process(), CommandDelaunayTri::process(), CommandSFArithmetic::process(), CommandSFOperation::process(), CommandSFRename::process(), CommandICP::process(), CommandChangePLYExportFormat::process(), CommandSaveClouds::process(), CommandSaveMeshes::process(), CommandAutoSave::process(), CommandLogFile::process(), CommandMoment::process(), CommandFeature::process(), PythonPluginCommand::process(), processGlobalShiftCommand(), and ReadDensityType().
|
pure virtual |
Exports a cloud or a mesh.
Implemented in ccCommandLineParser.
Referenced by define_ccCommandLine(), CommandRasterize::process(), CommandCrossSection::process(), CommandM3C2::process(), CommandVolume25D::process(), CommandCanupoClassif::process(), CommandCSF::process(), PCVCommand::process(), CommandRANSAC::process(), CommandOctreeNormal::process(), Command3DMASCClassif::process(), CommandInvertNormal::process(), CommandConvertNormalsToDipAndDipDir::process(), CommandConvertNormalsToSFs::process(), CommandSubsample::process(), CommandExtractCCs::process(), CommandFilterBySFValue::process(), CommandMergeMeshes::process(), CommandMergeClouds::process(), CommandMatchBBCenters::process(), CommandMatchBestFitPlane::process(), CommandOrientNormalsMST::process(), CommandSORFilter::process(), CommandExtractVertices::process(), CommandSampleMesh::process(), CommandCrop::process(), CommandCoordToSF::process(), CommandCrop2D::process(), CommandDist::process(), CommandCPS::process(), CommandStatTest::process(), CommandDelaunayTri::process(), CommandSFArithmetic::process(), CommandSFOperation::process(), CommandSFRename::process(), and CommandICP::process().
|
virtual |
File loading parameters.
References m_loadingParameters.
Referenced by CommandForceNormalsComputation::process().
|
pure virtual |
Returns the name of a to-be-exported entity.
Implemented in ccCommandLineParser.
Referenced by define_ccCommandLine(), and CommandRasterize::process().
|
pure virtual |
Returns the current hierarchy(ies) export extension (warning: can be anything)
Implemented in ccCommandLineParser.
Referenced by CommandChangeHierarchyOutputFormat::process().
|
pure virtual |
Returns the current hierarchy(ies) export format.
Implemented in ccCommandLineParser.
Referenced by CommandChangeHierarchyOutputFormat::process().
|
pure virtual |
Loads a file with a specific filter.
Automatically dispatches the entities between the clouds and meshes sets.
Implemented in ccCommandLineParser.
Referenced by CommandLoadLASFWF::process(), and CommandLoad::process().
|
static |
Test whether a command line token is a valid command keyword or not.
Referenced by nextCommandIsGlobalShift(), ccCommandLineParser::Parse(), CommandRasterize::process(), CommandVolume25D::process(), CommandCanupoClassif::process(), CommandChangeCloudOutputFormat::process(), CommandChangeMeshOutputFormat::process(), CommandCSF::process(), BundlerCommand::process(), FBXCommand::process(), CommandChangeHierarchyOutputFormat::process(), CommandLoad::process(), PCVCommand::process(), CommandOctreeNormal::process(), Command3DMASCClassif::process(), CommandTreeIso::process(), CommandApproxDensity::process(), CommandDensity::process(), CommandComputeMeshVolume::process(), CommandMatchBestFitPlane::process(), CommandCrop::process(), CommandCrop2D::process(), CommandDist::process(), CommandDelaunayTri::process(), and CommandICP::process().
|
virtual |
Currently opened meshes and their filename.
References m_meshes.
Referenced by define_ccCommandLine(), ccCommandLineParser::importFile(), CommandRasterize::process(), CommandCrossSection::process(), CommandVolume25D::process(), CommandClearNormals::process(), PCVCommand::process(), CommandRANSAC::process(), CommandInvertNormal::process(), CommandApplyTransformation::process(), CommandDropGlobalShift::process(), CommandComputeMeshVolume::process(), CommandMergeMeshes::process(), CommandRemoveAllSFs::process(), CommandRemoveSF::process(), CommandRemoveRGB::process(), CommandRemoveNormals::process(), CommandRemoveScanGrids::process(), CommandMatchBBCenters::process(), CommandMatchBestFitPlane::process(), CommandExtractVertices::process(), CommandSampleMesh::process(), CommandCrop::process(), CommandColorBanding::process(), CommandDist::process(), CommandDelaunayTri::process(), CommandSFArithmetic::process(), CommandSFOperation::process(), CommandSFRename::process(), CommandICP::process(), and CommandSaveMeshes::process().
|
virtual |
Currently opened meshes and their filename (const version)
|
pure virtual |
Returns the current mesh(es) export extension (warning: can be anything)
Implemented in ccCommandLineParser.
Referenced by CommandChangeMeshOutputFormat::process(), and CommandSaveMeshes::process().
|
pure virtual |
Returns the current mesh(es) export format.
Implemented in ccCommandLineParser.
Referenced by CommandChangeMeshOutputFormat::process(), and CommandSaveMeshes::process().
| bool ccCommandLineInterface::nextCommandIsGlobalShift | ( | ) | const |
Returns whether the nex command is the '-GLOBAL_SHIFT' option.
References arguments(), and IsCommand().
Referenced by CommandLoadLASFWF::process(), and CommandLoad::process().
| int ccCommandLineInterface::numericalPrecision | ( | ) | const |
Returns the numerical precision.
References m_precision.
Referenced by CommandChangeCloudOutputFormat::process(), CommandMatchBestFitPlane::process(), and CommandICP::process().
|
pure virtual |
Implemented in ccCommandLineParser.
Referenced by GetSFIndexOrName(), CommandRANSAC::makePathIfPossible(), CommandRasterize::process(), CommandCrossSection::process(), CommandVolume25D::process(), CommandM3C2::process(), CommandChangeCloudOutputFormat::process(), CommandLoadLASFWF::process(), CommandCanupoClassif::process(), CommandChangeMeshOutputFormat::process(), CommandCSF::process(), BundlerCommand::process(), FBXCommand::process(), CommandChangeHierarchyOutputFormat::process(), PCDCommand::process(), CommandLoad::process(), CommandClearNormals::process(), PCVCommand::process(), CommandOctreeNormal::process(), Command3DMASCClassif::process(), CommandRANSAC::process(), CommandInvertNormal::process(), CommandTreeIso::process(), CommandConvertNormalsToDipAndDipDir::process(), CommandConvertNormalsToSFs::process(), CommandSubsample::process(), CommandExtractCCs::process(), CommandCurvature::process(), CommandApproxDensity::process(), CommandDensity::process(), CommandSFGradient::process(), CommandRoughness::process(), CommandApplyTransformation::process(), CommandDropGlobalShift::process(), CommandSFColorScale::process(), CommandSFConvertToRGB::process(), CommandFilterBySFValue::process(), CommandComputeMeshVolume::process(), CommandMergeMeshes::process(), CommandMergeClouds::process(), CommandSetActiveSF::process(), CommandRemoveSF::process(), CommandMatchBBCenters::process(), CommandMatchBestFitPlane::process(), CommandOrientNormalsMST::process(), CommandSORFilter::process(), CommandExtractVertices::process(), CommandSampleMesh::process(), CommandCrop::process(), CommandCoordToSF::process(), CommandCrop2D::process(), CommandColorBanding::process(), CommandDist::process(), CommandCPS::process(), CommandStatTest::process(), CommandDelaunayTri::process(), CommandSFArithmetic::process(), CommandSFOperation::process(), CommandSFRename::process(), CommandICP::process(), CommandAutoSave::process(), CommandMoment::process(), CommandFeature::process(), and PythonPluginCommand::process().
| bool ccCommandLineInterface::processGlobalShiftCommand | ( | GlobalShiftOptions & | options | ) |
Check the current command line argument stack against the 'COMMAND_OPEN_SHIFT_ON_LOAD' keyword and process the following commands if necessary
References arguments(), ccCommandLineInterface::GlobalShiftOptions::AUTO_GLOBAL_SHIFT, ccCommandLineInterface::GlobalShiftOptions::CUSTOM_GLOBAL_SHIFT, ccCommandLineInterface::GlobalShiftOptions::customGlobalShift, error(), ccCommandLineInterface::GlobalShiftOptions::FIRST_GLOBAL_SHIFT, ccCommandLineInterface::GlobalShiftOptions::mode, ccCommandLineInterface::GlobalShiftOptions::NO_GLOBAL_SHIFT, size, Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by CommandLoadLASFWF::process(), and CommandLoad::process().
|
virtual |
Returns a (shared) progress dialog (if any is available)
Referenced by CommandSubsample::process().
|
pure virtual |
Registers a new command.
Referenced by qCSF::registerCommands(), q3DMASCPlugin::registerCommands(), qPCV::registerCommands(), and PythonPlugin::registerCommands().
|
pure virtual |
Removes all clouds (or only the last one ;)
Implemented in ccCommandLineParser.
Referenced by CommandCrossSection::process(), CommandCSF::process(), CommandClear::process(), CommandClearClouds::process(), and CommandPopClouds::process().
|
pure virtual |
Removes all meshes (or only the last one ;)
Implemented in ccCommandLineParser.
Referenced by CommandCrossSection::process(), CommandMergeMeshes::process(), CommandExtractVertices::process(), CommandClear::process(), CommandClearMeshes::process(), and CommandPopMeshes::process().
|
pure virtual |
Saves all clouds.
| suffix | optional suffix |
| allAtOnce | whether to save all clouds in the same file or one cloud per file |
Implemented in ccCommandLineParser.
Referenced by define_ccCommandLine(), CommandSaveLASFWF::process(), CommandCurvature::process(), CommandApproxDensity::process(), CommandDensity::process(), CommandSFGradient::process(), CommandRoughness::process(), CommandApplyTransformation::process(), CommandSFColorScale::process(), CommandSFConvertToRGB::process(), CommandColorBanding::process(), CommandSaveClouds::process(), CommandMoment::process(), and CommandFeature::process().
|
pure virtual |
Saves all meshes.
| suffix | optional suffix |
| allAtOnce | whether to save all meshes in the same file or one mesh per file |
Implemented in ccCommandLineParser.
Referenced by define_ccCommandLine(), CommandApplyTransformation::process(), CommandColorBanding::process(), and CommandSaveMeshes::process().
|
pure virtual |
Sets the current cloud(s) export format and extension.
Implemented in ccCommandLineParser.
Referenced by CommandChangeCloudOutputFormat::process(), CommandSaveLASFWF::process(), and CommandSaveClouds::process().
|
pure virtual |
Sets the current hierarchy(ies) export format and extension.
Implemented in ccCommandLineParser.
Referenced by CommandChangeHierarchyOutputFormat::process().
|
pure virtual |
Sets the current mesh(es) export format and extension.
Implemented in ccCommandLineParser.
Referenced by CommandChangeMeshOutputFormat::process(), and CommandSaveMeshes::process().
| void ccCommandLineInterface::setNumericalPrecision | ( | int | p | ) |
Sets the numerical precision.
References m_precision.
| bool ccCommandLineInterface::silentMode | ( | ) | const |
Returns the silent mode.
References m_silentMode.
Referenced by ccCommandLineParser::exportEntity(), CommandRasterize::process(), CommandVolume25D::process(), CommandM3C2::process(), CommandCanupoClassif::process(), CommandRANSAC::process(), CommandOctreeNormal::process(), Command3DMASCClassif::process(), CommandSubsample::process(), CommandExtractCCs::process(), CommandOrientNormalsMST::process(), CommandSORFilter::process(), CommandSampleMesh::process(), CommandStatTest::process(), and CommandLogFile::process().
| void ccCommandLineInterface::toggleAddTimestamp | ( | bool | state | ) |
Sets whether a timestamp should be automatically added to output files or not
References m_addTimestamp.
Referenced by CommandSaveClouds::process(), CommandSaveMeshes::process(), and CommandSetNoTimestamp::process().
| void ccCommandLineInterface::toggleAutoSaveMode | ( | bool | state | ) |
Sets whether files should be automatically saved (after each process) or not
References m_autoSaveMode.
Referenced by CommandAutoSave::process().
| void ccCommandLineInterface::toggleSilentMode | ( | bool | state | ) |
|
pure virtual |
Implemented in ccCommandLineParser.
Referenced by GetEmptyCellFillingStrategy(), GetProjectionType(), GetSFIndexOrName(), CommandRasterize::process(), CommandCrossSection::process(), CommandVolume25D::process(), CommandChangeCloudOutputFormat::process(), CommandRANSAC::process(), CommandInvertNormal::process(), CommandConvertNormalsToDipAndDipDir::process(), CommandConvertNormalsToSFs::process(), CommandSubsample::process(), CommandExtractCCs::process(), CommandSFGradient::process(), CommandSFConvertToRGB::process(), CommandComputeMeshVolume::process(), CommandMergeMeshes::process(), CommandMergeClouds::process(), CommandSetActiveSF::process(), CommandRemoveSF::process(), CommandMatchBBCenters::process(), CommandMatchBestFitPlane::process(), CommandOrientNormalsMST::process(), CommandExtractVertices::process(), CommandCrop2D::process(), CommandColorBanding::process(), CommandDist::process(), CommandCPS::process(), and CommandDelaunayTri::process().
|
virtual |
Returns a (widget) parent (if any is available)
Reimplemented in ccCommandLineParser.
Referenced by CommandRasterize::process(), CommandVolume25D::process(), CommandM3C2::process(), CommandCSF::process(), CommandOctreeNormal::process(), Command3DMASCClassif::process(), CommandConvertNormalsToSFs::process(), CommandSubsample::process(), CommandExtractCCs::process(), CommandCurvature::process(), CommandApproxDensity::process(), CommandDensity::process(), CommandSFGradient::process(), CommandRoughness::process(), CommandOrientNormalsMST::process(), CommandSORFilter::process(), CommandSampleMesh::process(), CommandDist::process(), CommandStatTest::process(), CommandICP::process(), CommandMoment::process(), and CommandFeature::process().
|
protected |
Whether a timestamp should be automatically added to output files or not.
Referenced by addTimestamp(), ccCommandLineParser::getExportFilename(), and toggleAddTimestamp().
|
protected |
Whether files should be automatically saved (after each process) or not.
Referenced by autoSaveMode(), and toggleAutoSaveMode().
|
protected |
Currently opened point clouds and their filename.
Referenced by clouds(), ccCommandLineParser::importFile(), ccCommandLineParser::removeClouds(), and ccCommandLineParser::saveClouds().
|
protected |
File loading parameters.
Referenced by fileLoadingParams(), and ccCommandLineParser::importFile().
|
protected |
Currently opened meshes and their filename.
Referenced by ccCommandLineParser::importFile(), meshes(), ccCommandLineParser::removeMeshes(), and ccCommandLineParser::saveMeshes().
|
protected |
Default numerical precision for ASCII output.
Referenced by numericalPrecision(), and setNumericalPrecision().
|
protected |
Silent mode.
Referenced by silentMode(), and toggleSilentMode().