1. 02 Oct, 2011 6 commits
    • Marcus D. Hanwell's avatar
      ENH: Added simple histograms to the matrix. · 549a4ed8
      Marcus D. Hanwell authored
      For now I am just calculating them quickly, using a simple algorithm. I
      still need to add some method of modifying the number of bins etc.
      Change-Id: I606088f1abe9b5bc368df9437420d6f757b69762
    • Marcus D. Hanwell's avatar
    • Marcus D. Hanwell's avatar
      BUG: Fixed Common header testing. · 144fe339
      Marcus D. Hanwell authored
      vtkMathUtilities is header only, doesn't derive from vtkObject.
      Change-Id: Ib9b5fa5d91e3e25438e282d6aee1e71d927d1bb0
    • Marcus D. Hanwell's avatar
      ENH: Added a fuzzy comparison function. · d7814ea0
      Marcus D. Hanwell authored
      I added a new pair of functions to compare fuzzy comparisons to a new
      header for math utilities. The motivation for using a separate header
      was to be able to use templates and inline header functions for utility
      functionality currently spread across multiple tests.
      I moved the fuzzy compare out of TestMatrix3x3 for now, but would like
      to move this out of other tests without impacting their performance. I
      also took the opportunity to migrate the test to use vtkNew and added in
      the missing copyright header.
      Change-Id: I8aeb1159ab1413abafc52e5d7d7f95a50015e8a5
    • Marcus D. Hanwell's avatar
      ENH: Ensure charts are removed correctly in resizes. · cec79416
      Marcus D. Hanwell authored
      This commit ensures that a chart is removed from the scene if it will no
      longer be part of the chart matrix.
      Change-Id: I0e7c7065aa836f9372b5143e8adeac211ce7d9f8
    • Marcus D. Hanwell's avatar
      ENH: Just fill the lower triangle with charts. · b025350e
      Marcus D. Hanwell authored
      Still need to get the histograms in the diagonal, and handle layout
      issues. Also handled the case where the input is being set to null. This
      may require some special handling to remove all charts.
      Change-Id: Ie5c71cd730fe7fe08432c0f861a35824a3d59f1b
  2. 01 Oct, 2011 3 commits
  3. 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
  4. 29 Sep, 2011 2 commits
  5. 28 Sep, 2011 5 commits
  6. 27 Sep, 2011 13 commits
  7. 26 Sep, 2011 4 commits