- 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 8 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
-
Marcus D. Hanwell authored
vtkGLSLShaderDeviceAdapter2 needs an interface class so that it can be used in the non-GL parts of the code without introducing dependencies. vtkShaderDeviceAdapter2 will allow it to be returned in vtkProperty for example. Change-Id: I24b060592592aefb1e35b570aa1d361d2b748b51
-
73bd69d2 ENH: Add a point placer that allows one to snap to cell centers.
-
Karthik Krishnan authored
vtkCellCentersPointPlacer is a class to snap points on the center of cells. The class has 3 modes. In the ParametricCenter mode, it snaps points to the parametric center of the cell (see vtkCell). In CellPointsMean mode, points are snapped to the mean of the points in the cell. In 'None' mode, no snapping is performed. The computed world position is the picked position within the cell. The test demonstrates the use of the class to constrain handle widgets to the centers of cells. This test constrains a distance widget to the center of various cell types. However, it may be used by any of the widgets that use the handles (distance, angle etc).
-
Kitware Robot authored
- 25 Sep, 2011 1 commit
-
-
Kitware Robot authored
-
- 24 Sep, 2011 1 commit
-
-
Kitware Robot authored
-
- 23 Sep, 2011 3 commits
-
-
9eef12c3 Missing vtkVector2f definition in vtkControlPointsItem.h
-
Julien Finet authored
Change-Id: I004e65466f63bb3a2f094a8b2c3a50e28232ac8c
-
fcbfedf2 ENH: Wrap more vtkObject observer methods in python.
-