- 07 Feb, 2014 1 commit
-
-
Artur Grunau authored
This commit explicitly marks TGT to be built as a shared library and adds several missing TGT_API annotations to TGT classes that are required by other CAMPVIS modules.
-
- 21 Sep, 2013 1 commit
-
-
Artur Grunau authored
QtThreadedCanvas used to ignore all repaint events send to it by Qt in order to avoid problems with threading. As a result, however, it would become blank when docked/undocked, and display garbage in those of its regions that some other widgets have moved over. To fix this, the API of TGT's Painter class had to be slightly modified and now mirrors that of Canvas with regard to painting-related operations. The paint method has been made protected; it's supposed to implement the painting logic and shouldn't be called directly. A public repaint method has been introduced to let canvases notify their associated painters that they need to be redrawn. The default implementation simply calls paint() immediately; threaded painters, however, override it to schedule render jobs that run in separate threads. All existing threaded painters have been updated to reduce the visibility of their paint methods and provide public repaint functions. Consequently, QtThreadedCanvas can now properly handle repaint events by delegating to its associated painter's repaint method.
-
- 10 Feb, 2013 1 commit
-
-
schultezub authored
* Fixed Issue #38: Made common GLSL header conform to the standards (no samplers in structs) * Fixed failing destruction of OpenGL buffers when destructing GeometryData from threads without OpenGL context * Fixed wrong pointers in GLContexts due to using this pointer of incompletely constructed class git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@463 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 31 Oct, 2012 1 commit
-
-
schultezub authored
git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@335 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 25 Jul, 2012 2 commits
-
-
schultezub authored
* added AbstractTransferFunction and SimpleTransferFunction * added TransferFunctionProperty stub * added TF fragment shader include * SliceExtractor starts to use the new features git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@200 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
schultezub authored
git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@199 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 24 Jul, 2012 1 commit
-
-
schultezub authored
* QtContextManager uses QtThreadedCanvas * cleaned up tgt git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@198 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 20 Jul, 2012 1 commit
-
-
schultezub authored
* introduced abstract tgt::GLContext for thread-safe management of an OpenGL context * introduced Qt-threading based tgt::QtGLContext, tgt::QtThreadedCanvas and tgt::QtThreadedPainter * adapted tumvis-core and tumvis-application to new OpenGL context handling git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@194 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-