ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccCommandLineInterface::Command Struct Referenceabstract

Generic command interface. More...

#include <ecvCommandLineInterface.h>

Inherited by BundlerCommand, Command3DMASCClassif, CommandApplyTransformation, CommandApproxDensity, CommandAutoSave, CommandCPS, CommandCSF, CommandCanupoClassif, CommandChangeOutputFormat, CommandChangePLYExportFormat, CommandClear, CommandClearClouds, CommandClearMeshes, CommandClearNormals, CommandColorBanding, CommandComputeMeshVolume, CommandConvertNormalsToDipAndDipDir, CommandConvertNormalsToSFs, CommandCoordToSF, CommandCrop, CommandCrop2D, CommandCrossSection, CommandCurvature, CommandDelaunayTri, CommandDensity, CommandDist, CommandDropGlobalShift, CommandExtractCCs, CommandExtractVertices, CommandFeature, CommandFilterBySFValue, CommandForceNormalsComputation, CommandICP, CommandInvertNormal, CommandLoad, CommandLoadLASFWF, CommandLogFile, CommandM3C2, CommandMatchBBCenters, CommandMatchBestFitPlane, CommandMergeClouds, CommandMergeMeshes, CommandMoment, CommandOctreeNormal, CommandOrientNormalsMST, CommandPopClouds, CommandPopMeshes, CommandRANSAC, CommandRasterize, CommandRemoveAllSFs, CommandRemoveNormals, CommandRemoveRGB, CommandRemoveSF, CommandRemoveScanGrids, CommandRoughness, CommandSFArithmetic, CommandSFColorScale, CommandSFConvertToRGB, CommandSFGradient, CommandSFOperation, CommandSFRename, CommandSORFilter, CommandSampleMesh, CommandSave, CommandSaveLASFWF, CommandSetActiveSF, CommandSetNoTimestamp, CommandStatTest, CommandSubsample, CommandTreeIso, CommandVolume25D, FBXCommand, PCDCommand, PCVCommand, and PythonPluginCommand.

Public Types

using Shared = QSharedPointer< Command >
 Shared type. More...
 

Public Member Functions

 Command (const QString &name, const QString &keyword)
 Default constructor. More...
 
virtual ~Command ()=default
 
virtual bool process (ccCommandLineInterface &cmd)=0
 Main process. More...
 

Public Attributes

QString m_name
 Command name. More...
 
QString m_keyword
 Command keyword. More...
 

Detailed Description

Generic command interface.

Definition at line 130 of file ecvCommandLineInterface.h.

Member Typedef Documentation

◆ Shared

Shared type.

Definition at line 132 of file ecvCommandLineInterface.h.

Constructor & Destructor Documentation

◆ Command()

ccCommandLineInterface::Command::Command ( const QString &  name,
const QString &  keyword 
)

Default constructor.

Definition at line 225 of file ecvCommandLineInterface.cpp.

◆ ~Command()

virtual ccCommandLineInterface::Command::~Command ( )
virtualdefault

Member Function Documentation

◆ process()

virtual bool ccCommandLineInterface::Command::process ( ccCommandLineInterface cmd)
pure virtual

Main process.

Implemented in CommandTreeIso, CommandRANSAC, PythonPluginCommand, PCVCommand, PCDCommand, CommandM3C2, CommandCSF, CommandCanupoClassif, Command3DMASCClassif, CommandSaveLASFWF, CommandLoadLASFWF, FBXCommand, BundlerCommand, CommandVolume25D, CommandRasterize, CommandFeature, CommandMoment, CommandSetNoTimestamp, CommandPopMeshes, CommandClearMeshes, CommandPopClouds, CommandClearClouds, CommandClear, CommandLogFile, CommandAutoSave, CommandSaveMeshes, CommandSaveClouds, CommandForceNormalsComputation, CommandChangePLYExportFormat, CommandICP, CommandSFRename, CommandSFOperation, CommandSFArithmetic, CommandDelaunayTri, CommandStatTest, CommandCPS, CommandDist, CommandColorBanding, CommandCrop2D, CommandCoordToSF, CommandCrop, CommandSampleMesh, CommandExtractVertices, CommandSORFilter, CommandOrientNormalsMST, CommandMatchBestFitPlane, CommandMatchBBCenters, CommandRemoveScanGrids, CommandRemoveNormals, CommandRemoveRGB, CommandRemoveSF, CommandRemoveAllSFs, CommandSetActiveSF, CommandMergeClouds, CommandMergeMeshes, CommandComputeMeshVolume, CommandFilterBySFValue, CommandSFConvertToRGB, CommandSFColorScale, CommandDropGlobalShift, CommandApplyTransformation, CommandRoughness, CommandSFGradient, CommandDensity, CommandApproxDensity, CommandCurvature, CommandExtractCCs, CommandSubsample, CommandConvertNormalsToSFs, CommandConvertNormalsToDipAndDipDir, CommandInvertNormal, CommandOctreeNormal, CommandClearNormals, CommandLoad, CommandChangeHierarchyOutputFormat, CommandChangeMeshOutputFormat, CommandChangeCloudOutputFormat, and CommandCrossSection.

Member Data Documentation

◆ m_keyword

QString ccCommandLineInterface::Command::m_keyword

Command keyword.

Definition at line 145 of file ecvCommandLineInterface.h.

◆ m_name

QString ccCommandLineInterface::Command::m_name

Command name.

Definition at line 143 of file ecvCommandLineInterface.h.


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