Zheng, Lei
45fd865fc0
Gui: refactor bounding box selection style
...
Previously, box style selection is rendered using customized
SoBoxSelectionRenderAction, which does not support selection context,
i.e. it does not work with Link.
This patch implements context aware bound box rendering inside
SoFCSelectionRoot, SoFCSelection and SoFCPathAnnotation (for always on
top rendering). The box rendering in SoBoxSelectionRenderAction is
disabled on construction. Box style selection can be enabled for
individual object through property SelectionStyle (moved from
ViewProviderGeometryObject to ViewProviderDocumentObject), or globally
through Parameter BaseApp/Preferences/View/ShowSelectionBoundingBox.
In addition, the parameter BaseApp/Preferences/View/UseNewSelection is
used to override selection model reported from
ViewProvider::useNewSelectionModel(). The reason being that, the same
parameter is already used to toggle selection model inside
SoFCSelection. This avoids inconsistency of selection model choice
between view provider and the SoFCSelection node inside. Note that if
the parameter 'UseNewSelection' is set to false, those view providers
that choose old selection model will not work with Link.
2019-10-08 09:56:09 +02:00
wmayer
db8ec7c10e
fix mesh cutting
2019-09-24 23:26:08 +02:00
wmayer
bc131c3b0d
support to show color per face
2019-09-24 21:37:11 +02:00
wmayer
830ddc75ca
Add command to show mesh segments
2019-07-04 16:56:02 +02:00
wmayer
d37d7455d0
fix double vs. float problem to solve problems in Mesh.nearestFacetOnRay
2019-01-08 19:13:50 +01:00
wmayer
4c67a5c3c6
workaround to correctly render annotation flags if NaviCube is shown
2018-12-20 17:52:35 +01:00
wmayer
9683abfc36
improve mesh healing functions
2018-12-13 17:31:21 +01:00
wmayer
8ab6ffa692
fix -Wreorder
2018-09-19 17:17:43 +02:00
wmayer
17d36cecc9
improve manual mesh filling
2018-09-18 21:53:04 +02:00
wmayer
ff6ed27ba9
replace boolean to check for inside/outside cutting with enum values
2018-09-18 18:25:51 +02:00
wmayer
4c8e70b9a3
polish Mesh workbench
2018-09-18 14:53:37 +02:00
wmayer
312310de60
take care of global placement when exporting from Mesh menu
2018-09-05 17:46:31 +02:00
wmayer
039e972a4b
implement fast mesh rendering for Qt5 port (7x faster)
2018-07-28 11:08:03 +02:00
Unknown
a8ecffb652
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
9c2528a982
fixes #0003169 : Mesh Design WB tools does not work on translated object
2017-10-16 20:13:43 +02:00
Unknown
15c0d38536
Capitalize beginning of tooltips + Typos
...
Capitalized all remaining uncapitalized tooltips.
+ Fixed typo in instantiate() function. Shouldn't have any repercussions on the code, AFAICT.
+ other typos
2017-10-13 00:26:53 +02:00
wmayer
450e3d8383
use consistent display mode names
2017-03-03 14:25:16 +01:00
wmayer
f560398f30
add boolean parameter to MeshKernel::AddFacets to disable check for manifold edges of new faces
2017-03-02 22:33:38 +01:00
wmayer
9925e9028e
issue #0002183 : Mesh View . Use Bounding-Box Not Working For Flat Lines
2017-02-09 18:30:48 +01:00
wmayer
aa59757000
fix 'Flat Lines' display mode of meshes
2017-02-09 15:22:31 +01:00
wmayer
e54e9515fc
rename 2d tool classes to be consistent with 3d classes
2016-11-21 14:29:51 +01:00
wmayer
b980cf3361
fix -Wextra in Mesh
2016-09-23 17:24:00 +02:00
wmayer
4cb20dc783
support coloring of mesh segments
2016-09-07 21:51:05 +02:00
wmayer
6313528886
improve obj export of mesh with colors
2016-09-06 17:00:34 +02:00
wmayer
9b013f7254
Coverity issues: fix Mesh, Points and Inspection module
2016-08-17 14:08:47 +02:00
wmayer
9ee892eb35
+ add method to show parts of a mesh transparent
2016-04-29 18:15:31 +02:00
wmayer
d4ec3a985a
+ move creation of SoFCSelection node to ViewProviderBuilder to avoid code duplication
2016-03-31 15:54:33 +02:00
wmayer
63e09bcbc2
+ add convenience methods to query/alter selection of mesh object
2016-02-24 21:31:12 +01:00
wmayer
1d05f9c66e
+ support cutting of coloured mesh
2016-01-04 14:39:54 +01:00
wmayer
b6faaefaf8
+ handling of colored mesh in view provider
2016-01-03 01:16:00 +01:00
wmayer
0ea477b420
+ fix rendering bug for colored
2016-01-01 15:37:05 +01:00
wmayer
342198ea87
+ support reading mesh files with colors
2015-12-31 21:07:04 +01:00
wwmayer
e7441149f0
+ fix many minor warnings, activate -Wall for gcc
2015-08-02 22:32:18 +02:00
wmayer
ef610c8c96
+ remove SoFCSelection from ViewProviderGeometryObject
2015-05-20 21:44:27 +02:00
wmayer
dd2b39ddd6
+ fixes #0002075 : Analysis of FreeCAD by PVS-Studio static analyzer
2015-05-01 16:56:31 +02:00
wmayer
9ce46db813
+ extend ActionFunction and use in mesh view provider
2015-03-31 01:02:16 +02:00
wmayer
312f63e43e
+ edit command for meshes to display components
2015-02-20 22:28:37 +01:00
wmayer
79173e37cd
+ correct usage of SoPolygonOffset
2015-02-02 14:18:16 +01:00
wmayer
be7f583aa0
+ fix issues on 64-bit Linux/MacOSX systems
2014-11-19 15:32:35 +01:00
Stefan Tröger
ad1bfc32fb
fix reported bugs
...
- compile on windows
- fix cursors
2014-09-23 10:11:12 +02:00
Stefan Tröger
72cab0c002
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
8f9a9b71a2
Enhance API of mesh selection
2013-09-04 12:18:20 +02:00
wmayer
b9fb862c66
+ Reduce redundant code in mesh classes
2013-07-06 15:02:52 +02:00
wmayer
746ab2ec78
Add framebuffer support to Inventor viewer
2013-05-02 17:37:56 +02:00
wmayer
c754280af6
Improve methods to select meshes, allow to smooth only selected area of a mesh
2013-04-26 17:21:36 +02:00
wmayer
bcddb1e950
Fix bug when painting selection in mesh view provider
2012-09-28 12:33:26 +02:00
wmayer
11c1efca7e
Improve I/O of PLY mesh format
2012-03-25 11:44:57 +02:00
wmayer
5545e8ee87
Mesh trimming tool
2012-03-02 12:47:11 +01:00
wmayer
c7985e5c06
+ rework edit modes
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5102 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-08 21:15:49 +00: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