Commit Graph

65 Commits

Author SHA1 Message Date
wmayer
15b854b2a0 allow to set user-defined standard orientation 2019-01-13 02:21:54 +01:00
wmayer
abe82e00f4 harmonize functions to set camera orientations 2019-01-12 22:59:44 +01:00
wmayer
840c9e8b3c prepare for PyCXX 7.0 2018-04-18 19:20:50 +02:00
wmayer
5ca83dda4f Gui: Fixed regression in getObjectsInfo 2018-03-03 23:36:58 +01:00
Yorik van Havre
9ea89f5b50 Gui: Fixed regression in getObjectInfo 2018-03-02 17:04:41 -03:00
wmayer
b2963382d3 fixes #0003350: Draft Snapping does not recognize App::Part container 2018-02-20 11:19:49 +01:00
wmayer
e09a276fe5 further simplification when to use which rendering method when saving an image 2018-01-14 22:19:32 +01:00
wmayer
29533320fc add method to get view providers of d view via Python 2018-01-11 16:14:53 +01:00
wmayer
22ed0bce51 code reduction w.r.t offscreen rendering 2018-01-07 17:12:50 +01:00
wmayer
8eaee314ac simplify to define when to use which offscreen rendering method 2018-01-07 15:00:40 +01:00
wmayer
3b957a12b5 various minor changes:
+ whitespace improvement
+ code cleanup
2017-11-21 17:51:22 +01:00
wmayer
d04fd16263 make retrieving view direction numerically more stable, change orientation of bottom view 2017-11-13 21:53:10 +01:00
DeepSOIC
1137d5e6a8 Gui: expose ViewerPy.redraw() method 2017-05-08 11:44:41 -03:00
DeepSOIC
b4b882fb5b Gui: PickRadius support for View3DPy.getObjectInfo()
requested by Chris_G in forum thread "ActiveView.getObjectInfo ignores
pickRadius ?"
https://forum.freecadweb.org/viewtopic.php?f=22&t=22196
2017-05-03 16:51:36 +03:00
wmayer
3ac834c734 Qt5OpenGL: use OpenGL debug logger to locate problems, fix a couple of errors 2017-03-21 20:37:03 +01:00
wmayer
2c6f1fd56a Qt5OpenGL: fix transparency issue with framebuffer objects with old OpenGL API 2017-03-21 20:37:03 +01:00
wmayer
ed33adc35d Qt5OpenGL: make off-screen renderer working 2017-03-21 20:37:03 +01:00
wmayer
5bf326c1fb Qt5OpenGL: fix creating thumbnals, pdf, print preview and snapshot 2017-03-21 20:37:03 +01:00
wmayer
6638ff90d9 Qt5OpenGL: do not use pixel buffer for the moment 2017-03-21 20:37:03 +01:00
wmayer
a1dd462de9 move QuarterWidget to QOpenGLWidget 2017-03-21 20:37:03 +01:00
wmayer
ae8db048b6 support of unicode strings in saveImage function 2016-11-05 18:04:22 +01:00
wmayer
ca3a243b8e expose boxZoom to Python 2016-09-23 10:28:11 +02:00
wmayer
f944ab3846 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
Stefan Tröger
d112c41eca improve active object handling 2016-04-12 18:12:03 +02:00
jriegel
45f7c99c1c Changing active object handling in PartDesign 2016-04-12 18:12:03 +02:00
jriegel
775744c1ac some fixes in Active object handling on Viewer 2016-04-12 18:12:03 +02:00
jriegel
16ab7f710b Active object manager for the Viewer 2016-04-12 18:12:03 +02:00
jriegel
8537926edc Finally fixing the highlight code 2016-04-12 18:11:44 +02:00
wmayer
fadf2dbc3b + when using QGLFramebufferObject check if a GL context is active 2016-03-14 10:35:13 +01:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
84a65a53ef + remove method View3DInventor::dumpSelection 2015-08-26 18:58:59 +02:00
wmayer
a7a1edbc64 + restore old axonometric behaviour 2015-08-26 13:44:01 +02:00
wmayer
7c517e7620 + change axonometric view 2015-07-25 17:51:18 +02:00
wmayer
4319548f08 + fix typo in 'axonometric' 2015-07-25 16:54:18 +02:00
wmayer
27863408c9 + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00
wmayer
9431d301d3 + for VRML and OpenInventor export only selection, fix whitespaces 2015-05-17 13:53:22 +02:00
wmayer
1719f4269a + check if directory exists when trying to save image 2015-03-22 12:12:42 +01:00
Sebastian Hoogen
faac8c36ba add encoding parameter to .as_std_string()
to handle PyUnicode Objects. Usually ASCII for object names and Utf-8
for file names and console output.
issue #995
2015-02-08 15:37:00 +01:00
wmayer
d4a5249b4b + when creating picture check whether pbuffer is supported 2014-12-09 14:18:44 +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
Stefan Tröger
4e63e11df6 Make stereo modes work again
Be aware that stereo rendering based on SoRenderManager does not allow background colors as the opengl buffers are cleared before rendering. As FreeCAD draws the background before the standart coin rendering the background gets erased again.
2014-09-29 10:11:28 +02:00
Stefan Tröger
cf167ec60a 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
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
25d0242f97 + fixes #0001497: Implement getCameraOrientation similarly to getViewDirection 2014-04-02 11:40:36 +02:00
wmayer
63f930cb53 + Added coin add/remove DraggerCallback python functions (guilhemdesq) 2014-02-25 17:43:48 +01:00
wmayer
4fb000f0c8 + expose zoomIn/zoomOut to Python 2014-02-09 15:28:43 +01:00
wmayer
f5a4c28f3d + Expose method getPointOnScreen() to Python 2013-11-20 19:08:09 +01:00
jriegel
1ce212160b move AxisCross code to the Viewer and make a Python binding 2013-07-09 23:28:21 +02:00