1. 30 Sep, 2011 7 commits
    • Marcus D. Hanwell's avatar
      ENH: Added a new ChartMatrix class. · 6d38a728
      Marcus D. Hanwell authored
      This class provides a matrix of charts where the width and the height
      can be set. It takes care of instantiating the charts, and setting their
      size to occupy individual elements in the matrix.
      Change-Id: I9fa215c551a684ea2de1780b50e8e52c68c0b5c5
    • Julien Finet's avatar
      Merge topic 'qvtkwidget-resize-refresh-on-windows' · e4ff954b
      Julien Finet authored and Kitware Robot's avatar Kitware Robot committed
      0fb32e54 Force the opengl buffer to be fully refreshed.
      8a679e20 Fix QVTKWidget refresh on resize problem on Windows
    • Julien Finet's avatar
      Force the opengl buffer to be fully refreshed. · 0fb32e54
      Julien Finet authored
      A hack in QWidgetPrivate::repaint_sys (qbackingstore.cpp) checks the type
      of the widget QPaintEngine. If it is an OpenGL engine, it then forces the
       repaint to be done on the entire widget instead of the dirty region.
      Changing the paint engine type, ensures QVTKWidget to be fully repainted on Windows when resizing the widget.
      This fix makes the behavior of QVTKWidget similar to QVTKWidget2.
      It has visible results when the flag Qt::WA_PaintOnScreen is set on Windows (not the case because of the previous commit)
      Change-Id: I5ce944d73c5931ca9423b9cc848bc1ede6bf5b91
    • Julien Finet's avatar
      Fix QVTKWidget refresh on resize problem on Windows · 8a679e20
      Julien Finet authored
      When resizing a toplevel QVTKWidget, only the newly exposed part is refreshed, not the entire viewport.
      Qt::WA_PaintOnScreen is only supported on X11:
      For all purpose widgets, it is ok to leave the flag Qt::WA_PaintOnScreen for other platforms, because the flag is ignored.
      See QWidget::setAttribute(), there is a special to ignore the flag on Windows.
      However, QVTKWidget uses a custom QPaintEngine, so the hack done in QWidget::paintEngine() on Windows is not applied and
      doesn't ignore the flag then:
      Here is an extract from qwidget_win.cpp (in QWidget::paintEngine)
          // We set this bit which is checked in setAttribute for
          // Qt::WA_PaintOnScreen. We do this to allow these two scenarios:
          // 1. Users accidentally set Qt::WA_PaintOnScreen on X and port to
          // windows which would mean suddenly their widgets stop working.
          // 2. Users set paint on screen and subclass paintEngine() to
          // return 0, in which case we have a "hole" in the backingstore
          // allowing use of GDI or DirectX directly.
          // 1 is WRONG, but to minimize silent failures, we have set this
          // bit to ignore the setAttribute call. 2. needs to be
          // supported because its our only means of embeddeding native
          // graphics stuff.
          const_cast<QWidgetPrivate *>(d_func())->noPaintOnScreen = 1;
      Please note that QVTKWidget2 (QGLWidget) sets the flag Qt::WA_PaintOnScreen all platforms.
      However, various hacks in Qt GUI (qwidget.cpp, qwidget_win.cpp, qbackingstore.cpp...) make QGLWidget works fine on Windows.
      Change-Id: Ia5d8256152885932ab500a761d619f673f43956f
    • Marcus D. Hanwell's avatar
      Merge topic 'shader-opengl-refactor' · c3bd27a8
      Marcus D. Hanwell authored and Kitware Robot's avatar Kitware Robot committed
      7723f934 COMP: Keep ParaView's client server wrapping happy.
    • Marcus D. Hanwell's avatar
      COMP: Keep ParaView's client server wrapping happy. · 7723f934
      Marcus D. Hanwell authored
      It still needs the BTX/ETX blocks for things like this.
      Change-Id: I85b16385ac48f3cd31e9ab17228a1467afe22a64
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · c26e3210
      Kitware Robot authored
  2. 29 Sep, 2011 2 commits
  3. 28 Sep, 2011 5 commits
  4. 27 Sep, 2011 13 commits
  5. 26 Sep, 2011 8 commits
  6. 25 Sep, 2011 1 commit
  7. 24 Sep, 2011 1 commit
  8. 23 Sep, 2011 3 commits