Commit Graph

41 Commits

Author SHA1 Message Date
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
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