- 02 Oct, 2011 6 commits
-
-
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 authored
-
Marcus D. Hanwell authored
vtkMathUtilities is header only, doesn't derive from vtkObject. Change-Id: Ib9b5fa5d91e3e25438e282d6aee1e71d927d1bb0
-
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 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 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
-
- 01 Oct, 2011 3 commits
-
-
Marcus D. Hanwell authored
Takes a vtkTable as input, sets up the charts and displays them. Still more work to get everything lined up correctly, only showing scatter plots in the bottom triangle and histograms in the diagonal. Change-Id: Ieda692e9979a0fe129ebfad0a5e9f3b370356760
-
Marcus D. Hanwell authored
Change-Id: Ib2c0ab6377a092a8e4cf89fffdcd82c344b68f55
-
Marcus D. Hanwell authored
Show off a few different effects in the chart matrix. Change-Id: I57f33ed1726ea6f3f66c00662628421dd2e7e02e
-
- 30 Sep, 2011 7 commits
-
-
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 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 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: http://doc.qt.nokia.com/4.7/qt.html#WidgetAttribute-enum 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
-
7723f934 COMP: Keep ParaView's client server wrapping happy.
-
Marcus D. Hanwell authored
It still needs the BTX/ETX blocks for things like this. Change-Id: I85b16385ac48f3cd31e9ab17228a1467afe22a64
-
Kitware Robot authored
-
- 29 Sep, 2011 2 commits
-
-
d6c199d1 DOC: Explained use of ImageReader2 for reading raw files
-
Kitware Robot authored
-
- 28 Sep, 2011 5 commits
-
-
David Doria authored
Change-Id: I172e30e38a94ba1b66177b07aab04c5256af5a4c
-
Marcus D. Hanwell authored
This class was inconsistent with the others in VTK, we use "" for VTK header file. Change-Id: Ic3f62edb2d54b7dbc07eb83de9401789eb9cc4ba
-
Marcus D. Hanwell authored
The OpenFOAM private class should not be exporting its symbols. Change-Id: I1122355dd81ff7faed02c167cf70a119dc63da53
-
Kitware Robot authored
-
- 27 Sep, 2011 13 commits
-
-
c332899e COMP: More fixes for compiler warnings in extended axis.
-
Marcus D. Hanwell authored
Change-Id: I8fbb1548cc1ff22f26298224c6d13f8a27793750
-
4b30894d COMP: Fixed compiler warnings, removed breaks.
-
Marcus D. Hanwell authored
It looks like this should be using the C++ form of abs, and removed the breaks as each condition returns at that point. Change-Id: Ia83c65efca5995b826a9e4f3e641efef8a84b59d
-
650fb763 Multiple includes failing test for vtkControlPointsItem.
-
Julien Finet authored
Change-Id: Idd5e650f623e52491ba99a34408706c9c9ead5d0
-
7ac8be76 BUG: One of the Interpolate() methods used incorrect coordinate.
-
David Gobbi authored
Change-Id: I9d04f358ee9f1d87f44b9bc2ebf1b1bd0bee632b
-
Marcus D. Hanwell authored
This is the extended Wilkinson algorithm, changed to be more explicit at Tharindu's suggestion. Change-Id: I45113b802d12442475c8e660f25c300fecf91237
-
c6d25ddf BUG: Patch memory leak in image interpolator classes.
-
David Gobbi authored
Change-Id: I945d4231cfb5541d660fd5e5acb6b91e67949c01
-
Kitware Robot authored
-
- 26 Sep, 2011 4 commits
-
-
e0e0ed10 COMP: Compile error. Change type from vtkIdType to int
-
Karthik Krishnan authored
-
Marcus D. Hanwell authored
Some refactoring to allow vtkPrimitivePainter and vtkStandardPolyDataPainter to remain independent of OpenGL. Change-Id: Id60141e7404b62cfb9cf4bd4c3aedb35a7822ab4