1. 11 Jan, 2014 1 commit
  2. 08 Jan, 2014 1 commit
    • Christian Schulte zu Berge's avatar
      Refactoring AbstractProcessor::process() for clearer semantics and better and... · cd9d3feb
      Christian Schulte zu Berge authored
      Refactoring AbstractProcessor::process() for clearer semantics and better and more uniform handling of invalidation levels:
       * AbstractProcessor::process() now calls updateShader(), updateProperties() and/or updateResult() with respect to the current invalidation level
       * each processor shall no longer override process() but the updateXYZ() methods, at minimum updateResult()
       * AbstractProcessor::process() takes care of (un)locking the processor itself (no need to do this from the outside anymore)
      
      Further implicit changes:
       * Removed redundant HasPropertyCollection::updateProperties()
      cd9d3feb
  3. 13 Dec, 2013 1 commit
  4. 28 Nov, 2013 1 commit
  5. 22 Nov, 2013 1 commit
    • mostajab's avatar
      + Using passthrough.vert and geometryrenderer.frag instead of the... · 38bfd697
      mostajab authored
      + Using passthrough.vert and geometryrenderer.frag instead of the meshGeometryRenderer.vert and meshgeometryrenderer.frag
      + adding comments for the destroy function of GeometryTextureInfo and why to use it.
      + Change the depth buffer size changing part of Paint() function in datacontainerinspectorcanvas checking part.
      + Delete the commented codes which are not necessary.
      + Fix the opening braces and removing the redundant parts and only for debugging parts.
      + DVRVis and volumerendererdemo default file is revereted to the original locations.
      + Revert the shaders to the original ones.
      + StartMouseDrag and EndMouseDrag functions of the trackball are replaced with mousePress and mouseRelease.
      
      - Delete the meshGeometryRenderer.vert and meshgeometryrenderer.frag.
      38bfd697
  6. 21 Nov, 2013 1 commit
  7. 18 Nov, 2013 2 commits
    • mostajab's avatar
    • mostajab's avatar
      + Untabifying the datacontainerinspectorcanvas.cpp and datacontainerinspectorcanvas.h · 22e94059
      mostajab authored
      + Moving the geomteryshader vertex and fragment shader to application folder as they belong to it.
      + Removing unndeeded shader code.
      + Opening braces convention is considered for datacontainerinspectorcanvas.cpp and datacontainerinspectorcanvas.h  also.
      + Reusing textues for color and depth buffers instead of creating and deleting them.
      + adding gettrackball function to trackball event handler.
      + modifying resetcontent, mouse events in datacontainerinspectorcanvas class
      + using one depth buffer for datacontainerinspectorcanvas instead of one for every color buffer
      + using one frame buffer for whole datacontainerinspectorcanvas instead of one for every frame
      22e94059
  8. 16 Nov, 2013 1 commit
    • mostajab's avatar
      + Clearing the code · c8eb1d0e
      mostajab authored
      Bugs:
      - Invalid Enumerator during the rendering mesh
      - Problems in deleting the generated color and depth textures.
      - Depth darkening still has problem :(
      c8eb1d0e
  9. 15 Nov, 2013 1 commit
  10. 11 Nov, 2013 1 commit
  11. 08 Nov, 2013 1 commit
  12. 31 Oct, 2013 6 commits
  13. 23 Oct, 2013 1 commit
    • mmostajab's avatar
      # Apply the coding style to the code · 52e64453
      mmostajab authored
      # use 4 spaces instead of tab
      # use QString operations instead of unsafe C String operations
      # use static_cast casting instead of C casting
      52e64453
  14. 22 Oct, 2013 1 commit
  15. 21 Oct, 2013 3 commits
  16. 15 Oct, 2013 2 commits
  17. 25 Sep, 2013 1 commit
    • Artur Grunau's avatar
      NumericProperty: provide a default step value · 8fcbfb5b
      Artur Grunau authored
      Even though all integer-based properties derived from NumericProperty
      used the same step value, T(1), it had to be specified when
      instantiating them. To reduce boilerplate code in property
      constructors, NumericProperty now uses T(1) as the default step value.
      8fcbfb5b
  18. 24 Sep, 2013 1 commit
  19. 21 Sep, 2013 2 commits
    • Artur Grunau's avatar
      Support setting the step of numeric properties · ec9a8b81
      Artur Grunau authored
      A new attribute has been added to all numeric properties: step value. It
      determines the value of a single increment/decrement that numeric
      property widgets use when their associated properties are modified using
      sliders or spin boxes (users are still able to type any valid property
      value in text edits).
      
      Numerous processors and pipelines had to be updated to work with the
      changed NumericProperty interface. However, choosing a well-suited step
      value for each property can make it easier for users to modify the
      property — using one step value for all properties leads to cases where
      it is either too small, causing users to go through property values
      which don't cause any visible change, or too big, making it difficult to
      quickly determine the right property value.
      ec9a8b81
    • Artur Grunau's avatar
      Fix the redrawing of threaded GL canvases · 5fbb429e
      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.
      5fbb429e
  20. 04 Sep, 2013 1 commit
  21. 13 Aug, 2013 1 commit
  22. 28 May, 2013 1 commit
  23. 12 May, 2013 1 commit
    • schultezub's avatar
      Various changes to improve threading behaviour and coding conveniene: · 694a519e
      schultezub authored
       * Moved destruction of ReferenceCounted object to seperate thread (thus unloading rendering thread)
       * integration of OpenGL garbage collector into OpenGLJobProcessor (finally, you don't need to care anymore whether your code might call a GL object destructor and hence needs an OpenGL context)
       * changed DataContainer implementation from mutex/lock to concurrent container
       * fixing improper order of GL object deinitilization on program exit
      
      git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@492 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
      694a519e
  24. 18 Feb, 2013 1 commit
  25. 10 Feb, 2013 1 commit
  26. 07 Feb, 2013 1 commit
  27. 05 Feb, 2013 2 commits
  28. 31 Jan, 2013 2 commits