Commit Graph

50 Commits

Author SHA1 Message Date
ᴩʜᴏɴᴇᴅʀᴏɪᴅ
a52d70db26 SPDX [ 34 ][ Src / Mod / Points ] (#25073) 2025-11-05 12:44:17 -06:00
Markus Reitböck
52d94684c7 Points: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-22 23:17:40 +02:00
bofdahof
ed2a99e37b Points: apply std::ranges 2025-03-16 17:19:22 -05:00
Kacper Donat
13fbab9e42 Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
tritao
551c2e48fb Gui: Reorganize the selection files into a top Selection folder. 2025-02-03 17:56:57 +01:00
wmayer
c30d42c441 Core: Rename ViewProviderPythonFeature to ViewProviderFeaturePython
Fixes #15888
2024-08-26 18:14:22 +02:00
wmayer
ed573fcf86 Points: fix many linter warnings 2024-03-12 18:02:33 +01:00
Florian Foinant-Willig
85827958ca Points: modernize type checking 2023-10-23 18:08:48 +02:00
wmayer
d305f306df Core: Revert superfluous changes made with PR #9521 2023-10-09 15:06:45 +02:00
AgCaliva
64f60721a9 merge master via cli 2023-09-16 02:12:58 -03:00
pre-commit-ci[bot]
e92ed45df9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
AgCaliva
93679b2729 Fix DOMDocument redefinition error 2023-09-08 09:12:52 -03:00
wmayer
c91b82db0b Points: apply clang-formatting 2023-09-01 20:07:54 +02:00
wmayer
3e8f4d941f Points: modernize C++: use range-based for loop 2023-08-15 17:20:01 +02:00
wmayer
184afd9761 Gui: fix View3DInventorViewer's getViewProviderByPath, getViewProviderByPathFromTail, getViewProvidersOfType
The View3DInventorViewer only contains the top-level view providers which caused unexpected behaviour when using the three methods above. Thus, in client code they haven't been used any more.
Now the methods internally invoke the corresponding methods of the document. This allows it in client code to directly call the appropriate methods again (LoD).
2022-12-12 16:41:58 +01:00
Uwe
cc4b8b4cd1 [Points] improve PreCompiled.h handling 2022-12-07 18:22:00 +01:00
Uwe
bdaee726ae [Points] remove unused includes (#7900)
- also some sorting
2022-11-29 04:44:35 +01:00
berniev
47ac049e14 Mod: use emplace_back 2022-08-05 10:36:16 +02:00
wmayer
d5340a82ab Gui/Mod: replace several reinterpret_cast with static_cast 2022-06-25 11:36:55 +02:00
Uwe
d52633a030 [Points] remove Python.h and Xerces 2022-03-20 22:55:16 +01:00
wmayer
cdf755ec71 Points: modernize C++11
* remove redundant void-arg
* use nullptr
2022-01-26 17:53:41 +01:00
luzpaz
c0f42cea0e Points: translate doxygen from DE to EN + fix superfluous whitespace (#5287)
* Points: translate doxygen from DE to EN + fix superfluous whitespace

For the purpose of making the source documentation uniform, source comments in this file were translated to english.

* Points: remove superfluous whitespace

* Fix left over DE to EN translations (from Cam and Mesh code)
2021-12-25 20:41:12 +01:00
luz paz
b4ea8991fc Points: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Points Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
carlopav
1d2b435813 PointsGui: ordered ViewProvider view properties 2020-08-21 12:36:46 +02:00
wmayer
e25c848554 for point clouds set default selection style to bounding box 2019-11-23 15:46:27 +01:00
wmayer
be69317c64 [skip ci] make mesh/points cutting working for nested view providers 2019-11-09 11:58:54 +01:00
wmayer
5ae5e56950 fix cutting of points 2019-09-22 22:58:53 +02:00
wmayer
1cb6dba26a add comment 2018-12-27 20:06:16 +01:00
triplus
022b89da97 Add Intensity 2018-12-27 20:00:55 +01:00
triplus
17bdbb157e Point cloud display mode enumeration
After point cloud is imported and saved to a file, opening such file introduces issue with point cloud feature display mode property.

Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=3&t=32808
2018-12-27 20:00:55 +01:00
wmayer
5ff6945577 fix compiler warnings with py3 and msvc 2018-04-16 18:24:53 +02:00
wmayer
066fcd3a0f implement transform command of point data 2018-02-13 00:32:58 +01:00
Unknown
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
2d8e70085e rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
wmayer
dec6897ec9 fix -Wextra in Points 2016-09-21 21:10:41 +02:00
wmayer
39e41146bb + move creation of SoFCSelection node to ViewProviderBuilder to avoid code duplication 2016-03-31 15:54:33 +02:00
wmayer
e1c751a316 + when cutting scattered points then also remove colors, grey values or normals if available 2016-02-23 19:47:54 +01:00
wmayer
c35af9011e + do some code cleanup and renaming in Points module 2016-02-21 16:18:28 +01:00
wmayer
f6596963f1 + view provider for scattered and organized point clouds 2016-02-21 13:52:17 +01:00
wmayer
572bb72eb0 + handling of organized point cloud 2016-02-20 22:19:47 +01:00
wmayer
2b3d9a8a6a + optimize view provider for points, improve white spacing 2015-12-30 15:19:47 +01:00
wmayer
f6023d36d2 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
21435326d2 + fix broken PolyPickerSelection 2015-07-02 14:51:38 +02:00
wmayer
6e0287ff17 + remove SoFCSelection from ViewProviderGeometryObject 2015-05-20 21:44:27 +02:00
Stefan Tröger
512a2b94d2 Adaption of FreeCAD to QuarterWidget
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
2014-09-23 10:11:11 +02:00
wmayer
bb63f7a4d5 Remove FileVersion from RestoreDocFile, convert point data back to floats 2013-03-29 15:23:51 +01:00
jrheinlaender
5931944beb Mod/Points moved from float -> double 2013-03-26 19:13:43 +04:30
jrheinlaender
69c13b1ae4 more suggestions for moving float -> double 2013-03-25 20:40:41 +04:30
wmayer
ef890db848 Move from float to double 2013-03-23 15:12:04 +01:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00