Commit Graph

245 Commits

Author SHA1 Message Date
jriegel
8eb0d198f8 First claimChildren3D implementation and Starting PartItem implementation 2016-04-12 18:11:45 +02:00
wmayer
555f8cb325 + fix issue with cursor on viewer widget, prepare code for improved event handling 2016-03-28 00:55:37 +02:00
wmayer
b82b386a7a + various minor fixes, whitespaces improvements 2016-03-23 23:28:56 +01:00
wmayer
f023d54b45 + 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
e8ef74d6ac + fix bug in animated fit for orthographic camera if view width < height 2016-01-16 00:06:37 +01:00
wmayer
91a65bf973 + improve whitespaces 2016-01-15 23:20:52 +01:00
Mateusz Skowroński
6942c23895 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
c275b35d48 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
96611d0a71 + correctly handle toggle selection in BRep shape nodes 2015-11-28 16:21:20 +01:00
wmayer
de41dc46ec + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
wmayer
fed9501489 + 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
56ed425680 + code refactoring for VRML and Inventor export 2015-08-26 18:55:14 +02:00
wwmayer
6bf065c097 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
wmayer
d2740d6a7d + new parameter 'CoinOffscreenRenderer' to use Coin's offscreen renderer 2015-05-20 22:11:25 +02:00
wmayer
7c83638b40 + for VRML and OpenInventor export only selection, fix whitespaces 2015-05-17 13:53:22 +02:00
wmayer
48f8105949 + switch between old and new offscreen renderer 2015-05-08 00:54:09 +02:00
wmayer
15de65eb71 + before trying to write out snapshot image check if it's null 2015-05-07 23:07:20 +02:00
DeepSOIC
571b7ded02 Gestures: fix running on win XP
Potential fix, by dynamically linking SetGestureConfig
2015-04-07 00:57:22 +03:00
wmayer
697dd741d4 + fix various things 2015-03-31 23:08:12 +02:00
DeepSOIC
26fb298043 Gestures: inventor touch events and device 2015-03-31 21:49:01 +02:00
DeepSOIC
a53940fcf6 Gestures: tuning windows to enable rotates and switch off horz/vert stickiness of pans 2015-03-31 21:49:00 +02:00
DeepSOIC
ccf173e207 Gestures: subscribe 3d view to recieve gestures 2015-03-31 21:49:00 +02:00
wmayer
a7e898dbe8 set cache context when off-screen rendering 2015-03-08 19:12:31 +01:00
Stefan Tröger
f82f9628b3 + 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
00d92f7646 + fixes #0001363: VRML export can produce corrupt files 2014-12-02 15:40:36 +01:00
wmayer
ce8b810ae0 + support anti-aliasing in offscreen renderer 2014-11-10 14:10:38 +01:00
wmayer
f6f6c5c73b + fix transparency problem, support antialiasing, background color issue 2014-11-08 23:06:53 +01:00
wmayer
303f00a06d + support of arbitrary background colors in snapshot function 2014-11-08 18:23:41 +01:00
wmayer
de62919885 + fix gradient background issue when creating snapshot, remove superfluous signal from FileOptionsDialog 2014-11-08 14:50:27 +01:00
wmayer
f7546de362 + workaround for cropped images with Coin4 2014-11-06 16:49:50 +01:00
wmayer
8857f9825f + fix various rendering problems 2014-11-04 18:56:05 +01:00
wmayer
3da4ede31d + add new render type to 3d viewer 2014-11-03 23:09:38 +01:00
wmayer
9fb670ae16 + fixes #0001794: new defined as a macro sometimes conflicts with boost 2014-10-22 12:39:43 +02:00
wmayer
b24f53f0ec + formatting message 2014-10-20 21:43:35 +02:00
wmayer
9c83e55d9b + fix Python binding of 3d viewer 2014-10-19 18:59:05 +02:00
wmayer
4ffb856f33 + fix more Quarter port issues 2014-10-19 17:49:31 +02:00
wmayer
e0d755b91d + share GL widgets when creating further 3d views of a document 2014-10-15 12:04:06 +02:00
wmayer
2f2061eabb + fix whitespaces 2014-10-10 15:48:31 +02:00
wmayer
696d4a5f4a + fix warnings with clang 2014-09-24 17:46:04 +02:00
wmayer
f2c63d04f2 + set fix precision for FPS counter 2014-09-23 18:19:35 +02:00
Stefan Tröger
dce299bed0 fix framerate rendering 2014-09-23 10:11:12 +02:00
Stefan Tröger
d0605dd6c2 fix backlight issue 2014-09-23 10:11:12 +02:00
Stefan Tröger
ec26dd381c fix rotation center after view all 2014-09-23 10:11:12 +02:00
Stefan Tröger
f1d122b78c fix reported bugs
- compile on windows
- fix cursors
2014-09-23 10:11:12 +02:00
Stefan Tröger
0303c699f8 Port QuarterWidget to QGraphicsView
Derive from QGraphicsView instead of QGLWidget to allow to add widgets as overlay over the 3d scene later on.
2014-09-23 10:11:12 +02:00
Stefan Tröger
6b629aed56 add View3DInventorViewer python interface
As quarter is not wrapped by SWIG we need to expose our own python interface class.
This is a start with the most important functions to access the render and event
manager. Furthermore all extra functions available next to the swig wrapper functions
are exposed. Everything else can be added when needed.
2014-09-23 10:11:12 +02:00
Stefan Tröger
512a2b94d2 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
jriegel
ae2f3e7c9c FreeCAD-VR: Small cleanups 2014-09-18 10:25:28 +02:00
jriegel
3cabf5d409 FreeCAD-VR: Upright position and remembering render window position 2014-09-17 15:01:28 +02:00
jriegel
581c5d8fb5 FreeCAD-VR: Some fixes 2014-09-16 18:14:42 +02:00