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
ba2c2ca5ad
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Benjamin Nauck
edb4817872
Mod: Use new addObject<T>(...) that requires additional changes
2025-02-10 18:35:38 +01:00
Benjamin Nauck
265b58c034
Mod: Use new addObject<T>(...) using regex
2025-02-10 18:35:38 +01:00
mwganson
2225e7c32f
[Mesh Python] Mesh.show() returns python object, update documentation for Mesh.show(), Part.show(), and Points.show()
2025-02-03 18:27:21 +01:00
Benjamin Nauck
6f535f19fb
Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
...
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
wmayer
ed573fcf86
Points: fix many linter warnings
2024-03-12 18:02:33 +01:00
Chris Hennes
cfd41683a5
Core: Enable compiling with MSVC /permissive- ( #11014 )
...
* Base: Fixes for MSVC permissive-
* App: Fixes for MSVC permissive-
* Gui: Fixes for MSVC permissive-
* Main: Fixes for MSVC permissive-
* Fem: Fixes for MSVC permissive-
* Material: Fixes for MSVC permissive-
* Part: Fixes for MSVC permissive-
* Mesh: Fixes for MSVC permissive-
* Points: Fixes for MSVC permissive-
* Robot: Fixes for MSVC permissive-
* TechDraw: Fixes for MSVC permissive-
* Path: Fixes for MSVC permissive-
* Core; Changes per review comments
* TD: Revision from wandererfan
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01: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
wmayer
c91b82db0b
Points: apply clang-formatting
2023-09-01 20:07:54 +02:00
wmayer
73946faa15
Points: for E57 reader move from float to double
2023-08-22 12:44:38 +02:00
wmayer
162f480c84
Points: modernize C++: use equals default
2023-08-22 12:37:37 +02:00
wmayer
ec73caa40e
modernize C++: make unique
2023-08-07 19:51:30 -06:00
joha2
2d3293306b
Points: show now returns an GeoFeature object
...
* Added one return statement into try-catch block which returns the appropriate object (instead of `None`).
* Behaviour now in line with `Part.show`.
Example:
```Python
>>> import Points
>>> pp = Points.Points()
>>> pp.addPoints([(1,2,3),(4,5,6)])
>>> go = Points.show(pp)
>>> go # Former behaviour was to return None
<GeoFeature object>
>>> go.ViewObject.ShapeColor = (1,0,0)
>>> go.ViewObject.ShapeColor = (1.,0.,0.)
>>> go.ViewObject.PointSize = 20
```
2023-04-04 11:35:59 +02:00
Uwe
bdaee726ae
[Points] remove unused includes ( #7900 )
...
- also some sorting
2022-11-29 04:44:35 +01:00
Kuzemko Alexsandr
2eb55d48c7
[App] Fix of untranslated first document's name ( #7156 )
...
* Change no need function newDocument("Unnamed") call to variant without parameter. "Unnamed" set in App newDocument function instead.
* Refactor New Document command to run without parameter.
* Translate new document's userName. Internal name = "Unnamed".
* Crowdin Add to updatets.py App.ts. Create new file App.ts
* Fix error where document name is set with one function parameter. In this situation set internal and user name to string variable. For default function call (without parameter) set internal name to Unnamed, userName = translate ("Unnamed")
2022-10-20 21:35:09 -05:00
berniev
71dc5ead2f
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
wmayer
0f9768fb33
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
cdf755ec71
Points: modernize C++11
...
* remove redundant void-arg
* use nullptr
2022-01-26 17:53:41 +01:00
Uwe
f84c62bf34
[Points] minor style fixes by MSVC
2021-12-17 02:39:47 +01:00
wmayer
78bb8a0282
Points: implement helper method to reduce code duplication
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
b6db87f9c3
Load settings move to AppPointsPy
2021-12-15 22:14:57 +01:00
Benjamin Alterauge
c9ca2b7709
Add e57 extension support
2021-12-15 22:14:57 +01:00
luz.paz
b785920541
[skip ci] Fix header uniformity for Import, Mesh, Points, Raytracing
2019-12-26 10:10:30 +01:00
wmayer
17ce026f57
consider global placement when exporting point cloud
2018-09-05 22:18:55 +02:00
wmayer
cc6827a87c
implement own ply/pcd importer/exporter
2017-11-03 17:03:51 +01:00
wmayer
846195327a
harmonize show() function of Part, Mesh, Fem, Path and Points modules
2017-09-29 00:35:48 +02:00
wmayer
51c776fec5
load organized point clouds in pcd files without properties
2017-08-23 17:23:00 +02:00
wmayer
2af6bb6e49
replace deprecated auto_ptr with unique_ptr
2016-09-22 13:01:20 +02:00
wmayer
6c3bb7c7c4
+ support of export of points to pcd and ply format
2016-03-04 14:48:26 +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
1bb662346f
+ fixes #0001592 : Import colored PCL point clouds
2016-02-14 22:46:27 +01:00
wmayer
bb9bdb9548
+ simplify porting of Points module to Python3
2016-01-20 00:00:41 +01:00
wmayer
61a6a23a39
+ use custom points feature to read in ply with properties
2015-12-31 15:50:56 +01:00
wmayer
ba5cdf386d
+ remove feature classes to import/export points
2015-12-30 15:16:22 +01:00
wmayer
c02d8017c5
+ ignore colour information of ply point files
2015-10-31 16:09:38 +01:00
wmayer
27917795a4
+ reorder include files to fix re-definition of macro BOOST_PARAMETER_MAX_ARITY
2015-10-31 13:32:01 +01:00
wmayer
a535688eef
+ ignore color of PLY file for point clouds
2015-09-27 22:04:16 +02:00
Sebastian Hoogen
01cf0f5872
issue #1027 use unicode filepaths
2014-10-11 13:32:06 +02:00
Sebastian Hoogen
d49528b27e
issue #1700 replace PyExc_Exception
2014-09-17 11:15:57 +02:00
wmayer
773a6d1d4d
+ set pcl components for LibPacks
2014-08-28 10:41:59 +02:00
wmayer
3fd87a62b4
+ do pcl components checks
2014-08-28 01:51:58 +02:00
jriegel
8e373c0feb
Merge remote-tracking branch 'refs/remotes/origin/wmayer/pcl-testing' into jriegel/NewWinBuild
...
Conflicts:
src/Mod/Points/App/CMakeLists.txt
src/Mod/ReverseEngineering/App/AppReverseEngineeringPy.cpp
2014-08-26 08:42:47 +02:00
jriegel
6f664d6a24
Test import for Ply via PCL in Points
2014-08-25 23:27:17 +02:00
jriegel
e1f46b0d0e
define for PCL usage for older LibPacks
2014-08-21 18:17:20 +02:00
jriegel
0d3db11327
OCL tests
2014-08-17 20:15:12 +02:00
wmayer
7336811136
Move pcl stuff to Reen module
2012-05-26 19:12:42 +02:00
wmayer
891cf489ea
Playing with pcl library
2012-05-26 14:52:04 +02:00