| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620 |
- #ifndef COMMAND_LINE_COMMANDS_HEADER
- #define COMMAND_LINE_COMMANDS_HEADER
- #include <QStringList>
- #include "ccCommandLineInterface.h"
- struct CommandChangeOutputFormat : public ccCommandLineInterface::Command
- {
- CommandChangeOutputFormat(const QString& name, const QString& keyword);
- QString getFileFormatFilter(ccCommandLineInterface& cmd, QString& defaultExt);
- };
- struct CommandChangeCloudOutputFormat : public CommandChangeOutputFormat
- {
- CommandChangeCloudOutputFormat();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandChangeMeshOutputFormat : public CommandChangeOutputFormat
- {
- CommandChangeMeshOutputFormat();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandChangeHierarchyOutputFormat : public CommandChangeOutputFormat
- {
- CommandChangeHierarchyOutputFormat();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandLoad : public ccCommandLineInterface::Command
- {
- CommandLoad();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandLoadCommandFile : public ccCommandLineInterface::Command
- {
- CommandLoadCommandFile();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandClearNormals : public ccCommandLineInterface::Command
- {
- CommandClearNormals();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandOctreeNormal : public ccCommandLineInterface::Command
- {
- CommandOctreeNormal();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandInvertNormal : public ccCommandLineInterface::Command
- {
- CommandInvertNormal();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandConvertNormalsToDipAndDipDir : public ccCommandLineInterface::Command
- {
- CommandConvertNormalsToDipAndDipDir();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandConvertNormalsToSFs : public ccCommandLineInterface::Command
- {
- CommandConvertNormalsToSFs();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandConvertNormalsToHSV : public ccCommandLineInterface::Command
- {
- CommandConvertNormalsToHSV();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSubsample : public ccCommandLineInterface::Command
- {
- CommandSubsample();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandExtractCCs : public ccCommandLineInterface::Command
- {
- CommandExtractCCs();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandCurvature : public ccCommandLineInterface::Command
- {
- CommandCurvature();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandApproxDensity : public ccCommandLineInterface::Command
- {
- CommandApproxDensity();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandDensity : public ccCommandLineInterface::Command
- {
- CommandDensity();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSFGradient : public ccCommandLineInterface::Command
- {
- CommandSFGradient();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandRoughness : public ccCommandLineInterface::Command
- {
- CommandRoughness();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandApplyTransformation : public ccCommandLineInterface::Command
- {
- CommandApplyTransformation();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandDropGlobalShift : public ccCommandLineInterface::Command
- {
- CommandDropGlobalShift();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSFColorScale : public ccCommandLineInterface::Command
- {
- CommandSFColorScale();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSFConvertToRGB : public ccCommandLineInterface::Command
- {
- CommandSFConvertToRGB();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandRGBConvertToSF : public ccCommandLineInterface::Command
- {
- CommandRGBConvertToSF();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandFilterBySFValue : public ccCommandLineInterface::Command
- {
- CommandFilterBySFValue();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandComputeMeshVolume : public ccCommandLineInterface::Command
- {
- CommandComputeMeshVolume();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandMergeMeshes : public ccCommandLineInterface::Command
- {
- CommandMergeMeshes();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandMergeClouds : public ccCommandLineInterface::Command
- {
- CommandMergeClouds();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSetActiveSF : public ccCommandLineInterface::Command
- {
- CommandSetActiveSF();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSetGlobalShift : public ccCommandLineInterface::Command
- {
- CommandSetGlobalShift();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandRemoveAllSFs : public ccCommandLineInterface::Command
- {
- CommandRemoveAllSFs();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandRemoveSF : public ccCommandLineInterface::Command
- {
- CommandRemoveSF();
- bool process(ccCommandLineInterface& cmd) override;
- bool removeSF(int sfIndex, ccPointCloud& pc);
- };
- struct CommandRemoveRGB : public ccCommandLineInterface::Command
- {
- CommandRemoveRGB();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandRemoveNormals : public ccCommandLineInterface::Command
- {
- CommandRemoveNormals();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandRemoveScanGrids : public ccCommandLineInterface::Command
- {
- CommandRemoveScanGrids();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandRemoveSensors : public ccCommandLineInterface::Command
- {
- CommandRemoveSensors();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandMatchBBCenters : public ccCommandLineInterface::Command
- {
- CommandMatchBBCenters();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandMatchBestFitPlane : public ccCommandLineInterface::Command
- {
- CommandMatchBestFitPlane();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandOrientNormalsMST : public ccCommandLineInterface::Command
- {
- CommandOrientNormalsMST();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSORFilter : public ccCommandLineInterface::Command
- {
- CommandSORFilter();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandNoiseFilter : public ccCommandLineInterface::Command
- {
- CommandNoiseFilter();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandRemoveDuplicatePoints : public ccCommandLineInterface::Command
- {
- CommandRemoveDuplicatePoints();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandExtractVertices : public ccCommandLineInterface::Command
- {
- CommandExtractVertices();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandFlipTriangles : public ccCommandLineInterface::Command
- {
- CommandFlipTriangles();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSampleMesh : public ccCommandLineInterface::Command
- {
- CommandSampleMesh();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandCompressFWF : public ccCommandLineInterface::Command
- {
- CommandCompressFWF();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandCrop : public ccCommandLineInterface::Command
- {
- CommandCrop();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandCoordToSF : public ccCommandLineInterface::Command
- {
- CommandCoordToSF();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSFToCoord : public ccCommandLineInterface::Command
- {
- CommandSFToCoord();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandCrop2D : public ccCommandLineInterface::Command
- {
- CommandCrop2D();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandColorBanding : public ccCommandLineInterface::Command
- {
- CommandColorBanding();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandColorLevels : public ccCommandLineInterface::Command
- {
- CommandColorLevels();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandDist : public ccCommandLineInterface::Command
- {
- CommandDist(bool cloud2meshDist, const QString& name, const QString& keyword);
- bool process(ccCommandLineInterface& cmd) override;
- bool m_cloud2meshDist;
- };
- struct CommandC2MDist : public CommandDist
- {
- CommandC2MDist();
- };
- struct CommandC2CDist : public CommandDist
- {
- CommandC2CDist();
- };
- struct CommandCPS : public ccCommandLineInterface::Command
- {
- CommandCPS();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandStatTest : public ccCommandLineInterface::Command
- {
- CommandStatTest();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandDelaunayTri : public ccCommandLineInterface::Command
- {
- CommandDelaunayTri();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSFArithmetic : public ccCommandLineInterface::Command
- {
- CommandSFArithmetic();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSFOperation : public ccCommandLineInterface::Command
- {
- CommandSFOperation();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSFOperationSF : public ccCommandLineInterface::Command
- {
- CommandSFOperationSF();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSFInterpolation : public ccCommandLineInterface::Command
- {
- CommandSFInterpolation();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandColorInterpolation : public ccCommandLineInterface::Command
- {
- CommandColorInterpolation();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandFilter : public ccCommandLineInterface::Command
- {
- CommandFilter();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandRenameEntities : public ccCommandLineInterface::Command
- {
- CommandRenameEntities();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSFRename : public ccCommandLineInterface::Command
- {
- CommandSFRename();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSFAddConst : public ccCommandLineInterface::Command
- {
- CommandSFAddConst();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSFAddId : public ccCommandLineInterface::Command
- {
- CommandSFAddId();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandICP : public ccCommandLineInterface::Command
- {
- CommandICP();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandChangePLYExportFormat : public ccCommandLineInterface::Command
- {
- CommandChangePLYExportFormat();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandForceNormalsComputation : public ccCommandLineInterface::Command
- {
- CommandForceNormalsComputation();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSave : public ccCommandLineInterface::Command
- {
- CommandSave(const QString& name, const QString& keyword);
- static bool ParseFileNames(ccCommandLineInterface& cmd, QStringList& fileNames);
- static void SetFileDesc(CLEntityDesc& desc, const QString& fileName);
- };
- struct CommandSaveClouds : public CommandSave
- {
- CommandSaveClouds();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSaveMeshes : public CommandSave
- {
- CommandSaveMeshes();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandAutoSave : public ccCommandLineInterface::Command
- {
- CommandAutoSave();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandLogFile : public ccCommandLineInterface::Command
- {
- CommandLogFile();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSelectEntities : public ccCommandLineInterface::Command
- {
- CommandSelectEntities();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandClear : public ccCommandLineInterface::Command
- {
- CommandClear();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandClearClouds : public ccCommandLineInterface::Command
- {
- CommandClearClouds();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandPopClouds : public ccCommandLineInterface::Command
- {
- CommandPopClouds();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandClearMeshes : public ccCommandLineInterface::Command
- {
- CommandClearMeshes();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandPopMeshes : public ccCommandLineInterface::Command
- {
- CommandPopMeshes();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSetNoTimestamp : public ccCommandLineInterface::Command
- {
- CommandSetNoTimestamp();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandMoment : public ccCommandLineInterface::Command
- {
- CommandMoment();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandFeature : public ccCommandLineInterface::Command
- {
- CommandFeature();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandDebugCmdLine : public ccCommandLineInterface::Command
- {
- CommandDebugCmdLine();
- bool process(ccCommandLineInterface& cmd) override;
- };
- struct CommandSetVerbosity : public ccCommandLineInterface::Command
- {
- CommandSetVerbosity();
- bool process(ccCommandLineInterface& cmd) override;
- };
- #endif //COMMAND_LINE_COMMANDS_HEADER
|