pre-commit-ci[bot]
222a2520b1
[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
wmayer
8d24f0c021
Points: apply clang-formatting
2023-09-01 20:07:54 +02:00
wmayer
5d585de259
Points: for E57 reader move from float to double
2023-08-22 12:44:38 +02:00
wmayer
43ec243292
Points: modernize C++: use equals default
2023-08-22 12:37:37 +02:00
wmayer
9f42af487b
Points: modernize C++: use range-based for loop
2023-08-15 17:20:01 +02:00
wmayer
9f456d712b
modernize C++: use equals delete
2023-08-10 17:29:05 +02:00
wmayer
0d23594107
Core: add functions setPackedARGB and fromPackedRGBA
2023-02-26 10:11:53 +01:00
wmayer
41e6c17605
Points: use Color::getPackedARGB() for pcl colors
2023-02-26 10:11:53 +01:00
wmayer
a58ede8b9a
Points: support of surface normals and fix handling with intensity
2022-12-22 20:17:49 +01:00
wmayer
3e576c3bca
Points: refactor E57Reader
2022-12-22 19:14:38 +01:00
wmayer
f0a4ec8240
Points: fixes #7924 : Pointcloud import anomalies
2022-12-21 13:05:16 +01:00
Uwe
378184f8ea
[Points] re-add a header
2022-12-07 23:19:38 +01:00
Uwe
987314b9d8
[Points] improve PreCompiled.h handling
2022-12-07 18:22:00 +01:00
wmayer
da7006b889
Points: [skip ci] fix build failure
2022-11-29 18:50:24 +01:00
Uwe
95f647b9ed
[Points] remove unused includes ( #7900 )
...
- also some sorting
2022-11-29 04:44:35 +01:00
wmayer
2ae40e006c
Points: modernize C++: replace 'typedef' with 'using'
2022-08-29 22:57:24 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
berniev
2d4c5a4cfb
Mod: use emplace_back
2022-08-05 10:36:16 +02:00
wmayer
2b04b01edc
cppcoreguidelines-special-member-functions
...
* disable move constructor and move assignment for several core classes
2022-06-25 17:46:48 +02:00
wmayer
7de296b60e
cppcoreguidelines-pro-type-union-access
...
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Ru-pun using union for type-punning is undefined behaviour.
See also https://en.wikipedia.org/wiki/Type_punning#Use_of_union . Replace it with std::memcpy.
2022-06-25 17:17:04 +02:00
wmayer
216ed31d8a
Points: fix round-off errors in pcd export
2022-05-17 11:48:58 +02:00
wmayer
0be04bb5e0
Points: Fix several coverity issues:
...
* CID 350545: Resource leak
* CID 350553: Resource leak
* CID 350559: Resource leak
* CID 350593: Resource leak
* CID 350604: Resource leak
* CID 350625: Resource leak
* CID 350650: Resource leak
* CID 129019: Division or modulo by float zero (false-positive)
* CID 129020: Division or modulo by float zero (false-positive)
* CID 129021: Division or modulo by float zero (false-positive)
2022-03-13 16:48:19 +01:00
wmayer
c3828d6225
Part: refactor PropertyPartShape::SaveDocFile and PropertyPartShape::RestoreDocFile
...
Set exception mask of std::istream::failbit | std::istream::badbit to istream to make sure it raises an exception for corrupted input files.
See: https://forum.freecadweb.org/viewtopic.php?p=536747
2022-03-11 22:06:38 +01:00
wmayer
4398ae54dd
Points: modernize C++11
...
* remove redundant void-arg
* use nullptr
2022-01-26 17:53:41 +01:00
luzpaz
1c83d8fedd
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
Uwe
e485fed06f
[Points] compilation fix or -> ||
...
- also some style fixes made by MSVC
2021-12-16 03:02:13 +01:00
wmayer
71b8af6bb1
Points: fix several warnings, fix invalid point assignment
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
40180dd311
If the channels xyz be missing, display error message.
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
698a876ba1
Load settings move to AppPointsPy
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
8da1799956
Add E57Reader
2021-12-15 22:14:57 +01:00
Benjamin Nauck
e7024f5db3
[Points] Use std::shared_ptr instead of boost::shared_ptr
...
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
luz.paz
d923798946
[skip ci] Fix header uniformity for Import, Mesh, Points, Raytracing
2019-12-26 10:10:30 +01:00
asapelkin
e951094af9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
wmayer
9f7075bb8f
extend convertTo function to also support SbRotation/Base::Rotation
2019-09-06 21:29:51 +02:00
wmayer
ffaf1c9b76
V1028 Possible overflow. Consider casting operands, not the result
2019-02-17 19:31:02 +01:00
wmayer
0b846eee52
consider global placement when exporting point cloud
2018-09-05 22:18:55 +02:00
luz.paz
505488c4f9
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
wmayer
880a200c70
improve point import and export
2018-02-13 00:27:18 +01:00
Mateusz Skowroński
23cdde88e0
Fix some GCC 7 warnings:
...
* dynamic exception specifications are deprecated [-Wdeprecated]
* this statement may fall through [-Wimplicit-fallthrough=]
2017-12-05 17:22:00 +01:00
wmayer
621d4283e5
fix build failures with gcc
2017-11-03 17:21:48 +01:00
wmayer
e0d5d92cde
implement own ply/pcd importer/exporter
2017-11-03 17:03:51 +01:00
wmayer
1673ab801e
use specialized exception classes
2017-04-28 18:49:11 +02:00
wmayer
a5e6edff87
+ support of export of points to pcd and ply format
2016-03-04 14:48:26 +01:00
wmayer
a3209e1aee
+ do some code cleanup and renaming in Points module
2016-02-21 16:18:28 +01:00
wmayer
7bdecf9b38
+ handling of organized point cloud
2016-02-20 22:19:47 +01:00
wmayer
1a64c3f2dc
+ fixes #0001592 : Import colored PCL point clouds
2016-02-14 22:46:27 +01:00
wmayer
07b36e6bca
+ extended ply reader based on pcl to read-in attached properties
2015-12-31 15:36:16 +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