- May 29, 2018
-
-
David Gobbi authored
This filter is most often to apply a Window/Level operation to grayscale input data, without a lookup table, so I have put that first in the description. The less-common use of modulating the color produced by a lookup table has been moved to the end.
-
5c6bde06 Fix volume clip bug and add regression test. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !4338
-
5d6c1178 Change type of InsidednessArrayName member variable bc2a6f8e Rename vtkSelectionOperator to vtkSelector 848fccf0 Change algorithm for computing selections Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !4315
-
Allison Vacanti authored
When clipping a volume using in-shader clipping planes, it was possible for the starting point of the ray cast to lie beyond the data volume. The raycast code is written such that the first sample is always taken before testing termination criteria, and in these cases we would always take a single sample outside of the volume, leading to artifacts. Fixed this behavior by checking that the starting position calculated by AdjustSampleRangeForClipping is indeed inside of the volume bounds and aborting the raycast if it is not. The existing TestGPURayCastClipping test would have caught this, except that the vase.vti volume used for testing has all 0's at the boundaries, so the rendering was correct even with the edge-clamp repetition outside of the volume (the faulty samples always computed RGBA=vec4(0)). I replaced the vase.vti of this test with a wavelet with finite boundary values that will catch this problem if there's a regression.
-
Cory Quammen authored
Changed from const char * to std::string. Also, removed unused setter and getter in vtkSelector API.
-
Cory Quammen authored
Subclasses are named vtk*Selector, so make the superclass vtkSelector to match.
-
Cory Quammen authored
Previously, the vtkExtractSelection filter iterated over blocks in a composite dataset and evaluated a vtkSelection block by block. Unfortunately, this did not make it easy to write selection operator subclasses that need to operate on an entire composite dataset, and required some code contortions to enable block selection. With this change, the selection algorithm is modified to iterate over each vtkSelectionNode in the vtkSelection and create an insidedness array associated with the attribute specified by the selection. Only after each of these arrays is created do we iterate over blocks and evaluate the selection expression, ultimately extracting the selected elements. This is accomplished by changing the query selector API's member function ComputeSelectedElements() that takes two arguments, an input vtkDataObject and an output vtkDataObject that will contain an insidedness array after the function is executed. Two additional protected pure virtual member functions have been added to the protected API that separately handle composite data objects (ComputeSelectedElementsForDataObject()) and non-composite data objects (ComputeSelectedElementsForBlock()). The ComputeSelectedElements() function invokes these functions to compute the insidedness array for composite and non-composite data sets, respectively. Subclasses are required to implement ComputeSelectedElementsForBlock(). The default implementation for ComputeSelectedElementsForDataObject() is to call ComputeSelectedElementsForBlock(). vtkExtractSelection has been reorganized to implement the new algorithm. The functionality in the internal evaluator classes has been moved to the selectors themselves, and the evaluators have been removed. These changes make it easier to extend the selection types available. For example, block selection is now supported with a new vtkBlockSelector object.
-
02f949cb Handle mismatch is chosen and available arrays. 1fffa689 add tests to read/write multiblock with partial arrays Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !4337
-
8776e904 MomentInvariants final remote repo location and hash 0aeb5bab Remote: parallel code included in single module aa8b5698 Remote: change ParallelMoments to use branch 3249d4e8 Remote Modules, add MomentInvariants, and ParallelMI 700215a8 Remove MomentInvariants filter, prep to make remote Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !4301
-
6af94ebb suppress and fix comp warnings 6a91019c use osp release not delete with osp volumes to prevent crashes 7e72778b don't leak ospray buffer either fc779976 dont leak the light either d67f69e2 Fix a huge memory leak. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Ken Martin <ken.martin@kitware.com> Merge-request: !4331
-
Utkarsh Ayachit authored
vtkXMLDataReader had asserts that checked for extact match between arrays enabled using the array selection API and then the arrays actually read (present) in the file. This caused issues when reading composite datasets with partial arrays following the change in 56f1f110 (see paraview/paraview#18189). Updating the code in vtkXMLDataReader so that it can handle a mismatch in fields. The limitation was unreasonable anyways.
-
Utkarsh Ayachit authored
ref: paraview/paraview#18189
-
- May 26, 2018
-
-
6695b48b Fix destructor override warning Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !4335
-
Joachim Pouderoux authored
-
- May 25, 2018
-
-
David E. DeMarle authored
-
David E. DeMarle authored
also, like delete, osprelease doesn't need if (nullptr) guard
-
David E. DeMarle authored
-
David E. DeMarle authored
-
f7a898c4 Improve pointSetToMolecule : optionally convert lines into bonds 521898a2 Molecule to polydata conversion 3ce232d9 Introduce Molecule Append filter Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Joachim Pouderoux <joachim.pouderoux@kitware.com> Merge-request: !4142
-
4738ebf4 cleanup and improve sphere and stick mappers in opengl Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !4325
-
David E. DeMarle authored
A modified test dynamic geometry test shows memory increasing without bound when the previous frame's model is not freed. I'd rather have whatever crash caused this to be commented out back so we can debug it rather than the leak.
-
Nicolas Vuaille authored
-
Nicolas Vuaille authored
* introduce vtkMoleculeToLinesFilter ** Create polydata with atom == point, bond == line cell. Copy data. * Fix AtomBall and BondStick conversion: ** set array name for bond orders and atomic numbers ** fix allocated size
-
Nicolas Vuaille authored
* Introduce vtkAppendMolecule filter to append input molecules into one (with atomData and bondData) * Since vtkMolecule is in Common/DataModel, move vtkMoleculeAlgorithm to Common/ExecutionModel
-
7d5f9c8f Fixed bug in the XML structured data writer. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Andrew Bauer <andy.bauer@kitware.com> Merge-request: !4323
-
Ken Martin authored
Rework to use geometry shaders with a significant memory and CPU improvement and the code is cleaner.
-
- May 24, 2018
-
-
Berk Geveci authored
A bug was introduced when adding support for writing out time values as field data. When writing appended data, the actual data and offset information for the TimeValue array was not written causing the whole file to be incorrect and unreadable. Fixed.
-
-
47e87f0e Fixing issue with writing structured XML field data Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Cory Quammen <cory.quammen@kitware.com> Merge-request: !4322
-
47e87f0e Fixing issue with writing structured XML field data Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Cory Quammen <cory.quammen@kitware.com> Merge-request: !4322
-
Aron Helser authored
-
0f6d8394 Introduced new composite datasets for partitioned data. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !4155
-
Andrew Bauer authored
-
4556c3e0 Take advantage of zero copy textures in ospray. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Ken Martin <ken.martin@kitware.com> Merge-request: !4320
-
74437a9b disable TestNumberToString on MSVC 2013. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Ken Martin <ken.martin@kitware.com> Merge-request: !4321
-
45704131 Improve QVTKOpenGLWidget and add QVTKOpenGLWindow class based on QOpenGLWindow bc362f71 Fix viewport size before FXAA pass on OSX 80410789 Invoke WindowResizeEvent on vtkWindow::SetSize() call f9b9eeec Fix memory exception with checkerboard stereo 2e593f8b Add WindowStereoTypeChangedEvent fired by vtkRenderWindow Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Joachim Pouderoux <joachim.pouderoux@kitware.com> Merge-request: !4317
-
Fixing stereo support with Qt5. Commit 139f787a was introducing QVTKOpenGLWidget to couple a vtkRenderWindow with a QOpenGLWidget. However, both QVTKOpenGLWidget and its superclass QOpenGLWidget manage a single frame buffer. QVTKOpenGLWindow derives the QOpenGLWindow class to benefit from an OpenGL context managing multiple frame buffers. It can be used as a QWidget by calling QWidget::createWindowContainer() on your QVTKOpenGLWindow instance. QVTKOpenGLWidget has been reimplemented to use thes QVTKOpenGLWindow directly has a widget. It is recommended to do so. The old QVTKOpenGLWidget is been moved into QVTKOpenGLSimpleWidget and should not be removed as it support being a native widget, wich the new implementation does not. There is a new QVTKOpenGLWidget::isValid() method to check that the widget is ready to render. It is to be noted that there is a specific implementation of event handling in order to work around QTBUG-61836. The Qt::WindowTransparentForInputFlag has no effect on Mac. Thus events are not being passed to the widget. We let the window grabbing all events and then forward them to the widget. We also take care for providing a method to forward back events to the window if events were explicitely triggered on the widget instance. This is the case for some paraview testing logic that should now use the provided testingEvent() method instead of notifying the widget with events. It is to be noted that, on OSX, the widget is always resized to its internal vtkRenderWindow size to ensure that the viewport is correct. This is necessary only on MacOS when HiDPI is supported. Enabling HiDPI has the side effect that Cocoa will start overriding any glViewport calls in application code. For reference, see QCocoaWindow::initialize(). This also improve tests and examples using the QVTKOpenGLWidget
-
Resize the renderer viewport to its original size when preparing the FXAA pass. This is necessary only on MacOS when HiDPI is supported. Enabling HiDPI has the side effect that Cocoa will start overriding custom glViewport calls. For reference, see QCocoaWindow::initialize(). Here we ensure that the viewport size is correct just before doing the pass.
-
Inform observers about a change in the render window size.
-
Fixing exception "double free or corruption" in stereo checkerboard cleanup. According to the comments, even scanlines should start on x=1. Thus the pointer to pixel data should have an offset of 3 for even scanline. The wrong test was performed, resulting in applying the offset for odd scanlines instead of even ones.
-