ccUtils.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. //##########################################################################
  3. //# #
  4. //# CLOUDCOMPARE #
  5. //# #
  6. //# This program is free software; you can redistribute it and/or modify #
  7. //# it under the terms of the GNU General Public License as published by #
  8. //# the Free Software Foundation; version 2 or later of the License. #
  9. //# #
  10. //# This program is distributed in the hope that it will be useful, #
  11. //# but WITHOUT ANY WARRANTY; without even the implied warranty of #
  12. //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
  13. //# GNU General Public License for more details. #
  14. //# #
  15. //# COPYRIGHT: CloudCompare project #
  16. //# #
  17. //##########################################################################
  18. class QString;
  19. //CCCoreLib
  20. #include <CCGeom.h>
  21. namespace ccUtils
  22. {
  23. //! Display a warning or error for locked verts
  24. void DisplayLockedVerticesWarning(const QString &meshName, bool displayAsError);
  25. //! Tries to convert the current contents of the clipboard into a vector (3 values)
  26. /** Supported separators: white spaces, comma or semicolon
  27. **/
  28. bool GetVectorFromClipboard(CCVector3d& vector, bool sendErrors = true);
  29. }