Commit Graph

111 Commits

Author SHA1 Message Date
HokieEngr
f6f8363d8a Updated viewport dimensions to reflect users unit schema
The previous code assumed the user's unit system was MKS. The updated code uses
schemaTranslate() to convert from screen units to the user's chosen system.
2017-01-03 22:34:47 -05:00
wmayer
68ea7fdac5 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
f19d424d8b fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
ab525189bf Coverity issues:
129097
129098
129099
129101
129102
129132
129134
129203
2016-08-16 16:34:51 +02:00
wmayer
549236f517 add method to get view that contains a given node 2016-08-14 18:01:10 +02:00
wmayer
dfb460d3bd + add getter method to return current render mode 2016-07-30 15:45:36 +02:00
wmayer
1f3c2ef2c8 support transparent background when using renderToFramebuffer 2016-07-24 22:24:58 +02:00
Mateusz Skowroński
2c79424f81 Fix includes to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
wmayer
b3abd0d4dd + fix drag and drop of Quarter viewer 2016-05-25 14:13:57 +02:00
Stefan Tröger
836d5b1525 FEM Post: Fix rebase errors 2016-05-18 21:35:15 +02:00
Stefan Tröger
4d09c09dc0 FEM Post: Move post processing to fem objects 2016-05-18 21:35:15 +02:00
Stefan Tröger
8805cab27c FEM Post: Proof of concept 2016-05-18 21:35:15 +02:00
Stefan Tröger
666a5968cb Override mode works with non-toplevel viewprovider
And adopt the part design body to handle the override mode correctly
2016-04-12 18:12:23 +02:00
blobfish
b2104e97e1 Gui: View3DInventorViewer: check if child exists before removal 2016-04-12 18:12:04 +02:00
jriegel
117238da50 make SoFCUnifiedSelection work with nested children in 3DView 2016-04-12 18:11:45 +02:00
jriegel
29507a44ed First claimChildren3D implementation and Starting PartItem implementation 2016-04-12 18:11:45 +02:00
wmayer
fa77887d09 + fix issue with cursor on viewer widget, prepare code for improved event handling 2016-03-28 00:55:37 +02:00
wmayer
3af29639c6 + various minor fixes, whitespaces improvements 2016-03-23 23:28:56 +01:00
wmayer
a69ee20f0c + fix warning of unused variable
+ when clearing scene graph then also empty internal lists
+ whitespace changes
2016-03-22 19:25:38 +01:00
wmayer
7773ad03c1 + fix bug in animated fit for orthographic camera if view width < height 2016-01-16 00:06:37 +01:00
wmayer
1027801be6 + improve whitespaces 2016-01-15 23:20:52 +01:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
6111f55a89 + correctly handle toggle selection in BRep shape nodes 2015-11-28 16:21:20 +01:00
wmayer
b7be7aec13 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
wmayer
b9797ec92a + To avoid possible memory leaks or inconsistencies on Document::resetEdit() call finishEditing() of view provider inside document because the editing view could be closed already 2015-09-16 14:20:13 +02:00
wmayer
04cb2d4411 + code refactoring for VRML and Inventor export 2015-08-26 18:55:14 +02:00
wwmayer
e7441149f0 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
wmayer
f20519d352 + new parameter 'CoinOffscreenRenderer' to use Coin's offscreen renderer 2015-05-20 22:11:25 +02:00
wmayer
9431d301d3 + for VRML and OpenInventor export only selection, fix whitespaces 2015-05-17 13:53:22 +02:00
wmayer
f840f89922 + switch between old and new offscreen renderer 2015-05-08 00:54:09 +02:00
wmayer
00438fffd2 + before trying to write out snapshot image check if it's null 2015-05-07 23:07:20 +02:00
DeepSOIC
963b993abc Gestures: fix running on win XP
Potential fix, by dynamically linking SetGestureConfig
2015-04-07 00:57:22 +03:00
wmayer
8e0110a18e + fix various things 2015-03-31 23:08:12 +02:00
DeepSOIC
7085e1ec0c Gestures: inventor touch events and device 2015-03-31 21:49:01 +02:00
DeepSOIC
7f0ca58154 Gestures: tuning windows to enable rotates and switch off horz/vert stickiness of pans 2015-03-31 21:49:00 +02:00
DeepSOIC
c0d15db47c Gestures: subscribe 3d view to recieve gestures 2015-03-31 21:49:00 +02:00
wmayer
6958972a52 set cache context when off-screen rendering 2015-03-08 19:12:31 +01:00
Stefan Tröger
7895134432 + Assign the correct context id to the new render action so that correct VBOs are used 2015-01-05 11:20:28 +01:00
wmayer
351ad4f6c7 + fixes #0001363: VRML export can produce corrupt files 2014-12-02 15:40:36 +01:00
wmayer
730ad0fbea + support anti-aliasing in offscreen renderer 2014-11-10 14:10:38 +01:00
wmayer
efe414e4c2 + fix transparency problem, support antialiasing, background color issue 2014-11-08 23:06:53 +01:00
wmayer
99caf6d015 + support of arbitrary background colors in snapshot function 2014-11-08 18:23:41 +01:00
wmayer
97696aadfa + fix gradient background issue when creating snapshot, remove superfluous signal from FileOptionsDialog 2014-11-08 14:50:27 +01:00
wmayer
4a28b93521 + workaround for cropped images with Coin4 2014-11-06 16:49:50 +01:00
wmayer
fa3a2a0d3a + fix various rendering problems 2014-11-04 18:56:05 +01:00
wmayer
a7157ce6a9 + add new render type to 3d viewer 2014-11-03 23:09:38 +01:00
wmayer
8fb596221f + fixes #0001794: new defined as a macro sometimes conflicts with boost 2014-10-22 12:39:43 +02:00
wmayer
d98f883a7e + formatting message 2014-10-20 21:43:35 +02:00