PCVCommand.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef PCVCOMMAND_H
  2. #define PCVCOMMAND_H
  3. //##########################################################################
  4. //# #
  5. //# CLOUDCOMPARE PLUGIN #
  6. //# #
  7. //# This program is free software; you can redistribute it and/or modify #
  8. //# it under the terms of the GNU General Public License as published by #
  9. //# the Free Software Foundation; version 2 of the License. #
  10. //# #
  11. //# This program is distributed in the hope that it will be useful, #
  12. //# but WITHOUT ANY WARRANTY; without even the implied warranty of #
  13. //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
  14. //# GNU General Public License for more details. #
  15. //# #
  16. //# COPYRIGHT: CloudCompare project #
  17. //# #
  18. //##########################################################################
  19. #include "ccCommandLineInterface.h"
  20. class ccProgressDialog;
  21. class ccMainAppInterface;
  22. //qCC_db
  23. #include <ccHObject.h>
  24. class PCVCommand : public ccCommandLineInterface::Command
  25. {
  26. public:
  27. PCVCommand();
  28. ~PCVCommand() override = default;
  29. static bool Process( const ccHObject::Container& candidates,
  30. const std::vector<CCVector3>& rays,
  31. bool meshIsClosed,
  32. unsigned resolution,
  33. ccProgressDialog* progressDlg = nullptr,
  34. ccMainAppInterface* app = nullptr);
  35. bool process(ccCommandLineInterface& cmd) override;
  36. };
  37. #endif