Commit Graph

40 Commits

Author SHA1 Message Date
wmayer
43ec243292 Points: modernize C++: use equals default 2023-08-22 12:37:37 +02:00
wmayer
0af4990817 modernize C++: make unique 2023-08-07 19:51:30 -06:00
joha2
d870201e3b 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
95f647b9ed [Points] remove unused includes (#7900)
- also some sorting
2022-11-29 04:44:35 +01:00
Kuzemko Alexsandr
63174d487f [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
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
wmayer
0054cbddaa Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
4398ae54dd Points: modernize C++11
* remove redundant void-arg
* use nullptr
2022-01-26 17:53:41 +01:00
Uwe
5de15267f5 [Points] minor style fixes by MSVC 2021-12-17 02:39:47 +01:00
wmayer
b94b28838e Points: implement helper method to reduce code duplication 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
fb97812148 Add e57 extension support 2021-12-15 22:14:57 +01:00
luz.paz
d923798946 [skip ci] Fix header uniformity for Import, Mesh, Points, Raytracing 2019-12-26 10:10:30 +01:00
wmayer
0b846eee52 consider global placement when exporting point cloud 2018-09-05 22:18:55 +02:00
wmayer
e0d5d92cde implement own ply/pcd importer/exporter 2017-11-03 17:03:51 +01:00
wmayer
a8a9650816 harmonize show() function of Part, Mesh, Fem, Path and Points modules 2017-09-29 00:35:48 +02:00
wmayer
5996ebcf61 load organized point clouds in pcd files without properties 2017-08-23 17:23:00 +02:00
wmayer
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +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
24e4e08be5 + view provider for scattered and organized point clouds 2016-02-21 13:52:17 +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
cb92240458 + simplify porting of Points module to Python3 2016-01-20 00:00:41 +01:00
wmayer
5e0f2ae418 + use custom points feature to read in ply with properties 2015-12-31 15:50:56 +01:00
wmayer
4e3856acc8 + remove feature classes to import/export points 2015-12-30 15:16:22 +01:00
wmayer
ff320f465f + ignore colour information of ply point files 2015-10-31 16:09:38 +01:00
wmayer
77f148350b + reorder include files to fix re-definition of macro BOOST_PARAMETER_MAX_ARITY 2015-10-31 13:32:01 +01:00
wmayer
0ef3a052c3 + ignore color of PLY file for point clouds 2015-09-27 22:04:16 +02:00
Sebastian Hoogen
a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
Sebastian Hoogen
ed66ada1cf issue #1700 replace PyExc_Exception 2014-09-17 11:15:57 +02:00
wmayer
90e3b58950 + set pcl components for LibPacks 2014-08-28 10:41:59 +02:00
wmayer
fd821fb7b4 + do pcl components checks 2014-08-28 01:51:58 +02:00
jriegel
7183cda616 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
e4383e8f24 Test import for Ply via PCL in Points 2014-08-25 23:27:17 +02:00
jriegel
1aed444318 define for PCL usage for older LibPacks 2014-08-21 18:17:20 +02:00
jriegel
ee64f54765 OCL tests 2014-08-17 20:15:12 +02:00
wmayer
02976cc80a Move pcl stuff to Reen module 2012-05-26 19:12:42 +02:00
wmayer
4ca65678bd Playing with pcl library 2012-05-26 14:52:04 +02: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