- May 22, 2014
-
-
Berk Geveci authored
Also fixed style (indentation) in some classes. Change-Id: I163842fe6f13885595f687307a3f7b77d883efa7
-
- May 21, 2014
-
-
George Zagaris authored
Change-Id: I840a8add196181be90b79b6f53ab3683209149e1
-
George Zagaris authored
This commit introduces new filters, vtkPExtractGrid, vtkPExtractVOI and vtkPExtractRectilinearGrid. Each filter, extends the corresponding serial filter, i.e., vtkExtractGrid, vtkExtractVOI and vtkExtractRectilinearGrid, respectively. The parallel versions of the filter add proper handling for distributed datasets. When sub-sampling, a gap across partitions may be introducted. The filters use the vtkStructuredImplicitConnectivity class to communicate the data across process boundaries and resolve the gap. Change-Id: I2b2a5ecd5841adceee4e30aecd30d485ecfff5df
-
George Zagaris authored
Added support for vtkRectilinearGrid type in the structured implicity connectivity class. Also, extended the test to check for correctness of the new functionality. Further, updated RectilinearGrid partitioner such that it can either leave a gap between partitions or not. Also, refactored and improved the implementation. Change-Id: I658e2798bd9720a7baafd7eb1eed3f1e8befafe0
-
George Zagaris authored
Modified the vtkStructuredImplicitConnectivity class to populate a vtkImageData instead of vtkUniformGrid. That way it can be used with either class since vtkImageData is the parent class of vtkUniformGrid. Change-Id: I38190d740c43f44ce66f744692e6f07ac0d0f92e
-
George Zagaris authored
This commit updates the extract/sub-sample structured data filters to reflect the changes of refactoring the piece and extent in VTK. Namely, vtkExtractGrid, vtkExtractVOI and vtkExtractRectilinearGrid, which operate on vtkStructuredGrid, vtkImageData, and vtkRectilinearGrid respectively, are updated. These datatypes, albeit different, they share common functionality. To avoid replicating essentially the same code in all of these three classes, a helper class, called vtkExtractStructuredGridHelper, is introduced. This new class is part of VTK's vtkCommonDataModel module since it needs to be used by both the vtkImagingCore and vtkFiltersExtraction module. One minor caveat, is that Imaging algorithms/tests require that the origin of the image to be retained and that the output extent is w.r.t. to the input extent, when there is no sub-sampling. For that reason, when there is no sub-sampling vtkExtractVOI, will yield an output extent that is with respect to the origin. All other filters re-number the output extent starting from zero. The output extent is always re-numbered when the data is sub-sampled. Change-Id: I26fe5a115032333db9814987a6c9dc949e51ef52
-
George Zagaris authored
UpdateExtent() is no longer compatible with the pipeline changes introduced in this branch. Change-Id: I364576e245c944803a0e7c674902d9194c3e4ede
-
George Zagaris authored
Parallel XML writers have been moved to a new module vtkIOParalleXML (see 7355859). Tests in the ParallelMPI module use the Parallel XML multi-block writer, hence they now need to depend on vtkIOParallelXML, instead of vtkIOParallel. Fixed that. Change-Id: I5490cd9d9b5bbaeb7f1c29826f002ef97515dc4e
-
Berk Geveci authored
The group filter was not dealing with extents properly. It needed to properly ask for the whole extent from inputs (which was done using an extent translator in the past) and it needed to remove whole extent from the output (the default is to copy from 1st input). Change-Id: Ib44282f7f48aa60c7fad9fa6a5cceeb50e9b2e54
-
Berk Geveci authored
Change-Id: Ibbeb24c5f4ff4dc6ba160295ef9de0455988885d
-
Berk Geveci authored
The main issue was in asking the right update extent from the input. Also fixed a number of bugs in the resample filter. Change-Id: Id2a4a9989baaff6b5f51d20e5c298c676a220d86
-
Berk Geveci authored
Change-Id: I707f0bff212922f42801622298c12456c0ed6f75
-
Berk Geveci authored
Change-Id: Ife54f3e32daf790321d638669c569aed254c45d2
-
Berk Geveci authored
Change-Id: I74925cc4dbba114bebd3ae90268c193a048c6e33
-
Berk Geveci authored
- Removed unused extent translator subclasses - Removed unnecessary refereces to the extent translator - Moved extent translator into Common/ExecutionModel Change-Id: Idc53dd66891297b1f6a06ea3eb1baf394cb24b20
-
Berk Geveci authored
It made more sense to have both CAN_PRODUCE_SUB_EXTENT and CAN_HANDLE_PIECE_REQUEST in vtkAlgorithm. Change-Id: Ie64bb3e7c8417113bfb7f677c10d8feb5fdddc39
-
Berk Geveci authored
Change-Id: Id76d3bc545a64675a0820cb1d9b45c61a51efc6a
-
Berk Geveci authored
Change-Id: I24bf3b0959bf6e22543bb526b26d9fda14ab4c20
-
Berk Geveci authored
Note that this change slightly breaks backward compatibility. The filter now processes all points even if they are on a ghost region. This means that this filter will produce ghost polygons that need to be stripped downstream. This is in line with the "filters should work with what they have" attitude the new changes enforce. This makes pipeline and filter logic much simpler. Change-Id: I77738480eaf716ec74095f9573c0cfc403769037
-
Berk Geveci authored
Change-Id: I80d4dbda38c7a6d83d6ba3fadeb81cce1154a1b1
-
Berk Geveci authored
Was trying to read the extent into an array of size 3 instead of 6. Doh! Change-Id: Ic8bb2872782c86739ddf8119b3d44edb35e42e06
-
Berk Geveci authored
To work with the new pipeline changes. Change-Id: Ic5c8ac86026999f79924d8e61b10fbcb18286bb8
-
Berk Geveci authored
The origin was not offset properly in cases where extent had to be adjusted. This is all due to the fact that the legacy writer always writes extents starting at 0. Change-Id: Id37f21d7c99d2ecdf6285d2870bf87e10b534a7a
-
Berk Geveci authored
Change-Id: I7e5c55259159752882c8ae056e08f9bec12b3c02
-
Berk Geveci authored
The XML readers and writers, both parallel and serial, now work with the pipeline changes. Now, all writers work with pieces even though the structured ones can handle asking for a sub- extent. Change-Id: I9f757ba12a3b9fb84e141506dacadad608eb8b99
-
Berk Geveci authored
Refactoring the way VTK goes between piece and structured extents. Before, extent translators were used when the pipeline moved from structured to unstructured data converting piece request to extent request. This caused many problems with filters that altered extents, mainly a lot of redundant IO due to repartitioning of different extents. This became extremely cumbersome to manage when running distributed. The new behavior pushes the extent translation all to way to the readers and only when readers are able to read a subset. This works much better. The only downside is that filters need to be able to handle data extents different than update extents. Most filters can do this but many imaging filters cannot. Those that are needed in parallel will have to be updated. As part of this work, I also removed MAXIMUM_NUMBER_OF_PIECES and added CAN_HANDLE_PIECE_REQUEST. MAXIMUM_NUMBER_OF_PIECES had reduced to being a boolean. 1 for serial sources, -1 for parallel sources. I removed it and added a CAN_HANDLE_PIECE_REQUEST instead. This key, produced by a source, tells the executive that a source is able to handle piece request. It is a source only key produced in RequestInformation and is not propagated downstream. If this key is not present, the executive will only execute the source for piece 0 to produce the entire data. It is then up to the user to add a filter that splits the data for other piece requests. The only exception to this is when CAN_PRODUCE_SUB_EXTENT is present, in which case the executive will split using an extent translator AT THE source - not downstream. Conflicts: Filters/FlowPaths/vtkParticleTracerBase.cxx Change-Id: I8db4040289ff87331adeecded4a738313d9b52df
-
- May 20, 2014
-
-
Sebastien Jourdain authored
86cfbf4d Catalyst Web - Composite improvement
-
Sebastien Jourdain authored
Add event notification and search result pagination. Change-Id: I3c63620261fc2d6503369d2cfca3c5a851ada033
-
David Gobbi authored
00bb43b9 Fix bad check for incomplete polygons, fix div-by-zero.
-
- May 16, 2014
-
-
When only one polyline was left, it would erroneously not be pushed onto the "incomplete" list. Also, a vector normalization had no check for division-by-zero, causing a NaN if the vector length was zero. Change-Id: I36a9b7a3561e6a490c795806e1b35c10de44a446
-
Ben Boeckel authored
64a98b47 testing: add some missing TEST_DEPENDS
-
Ben Boeckel authored
Change-Id: Idf4f870e2046dafe3c5bf8aa2ca9c5f2f6d79a37
-
Brad King authored
Create VTK_TEST_TIMEOUT_<test> settings that can be configured locally to increase the default timeout for tests: TerrainPolylineEditor TestPickingManagerSeedWidget Use the existing test timeouts as the default values. Change-Id: I827078610fff305d24f690f7a278a6503ef32daa
-
Joachim Pouderoux authored
ba7959d8 Fix bug in picking of invisible props in an assembly.
-
Utkarsh Ayachit authored
* pvvtk/pv-master: Change-Id: Ie19e8db2d9377fa797cdfa277e1ba460b3b4d1d7
-
c19112e5 Remove OpenGL error checks that were causing errors.
-
- May 14, 2014
-
-
David Gobbi authored
ddf898ae Bad null pointer check in vtkBSplineTransform.
-
David Gobbi authored
The ForwardTransformPoint method was missing a "!" in a null pointer check, causing the transform to perform an identity transform. The tests for this class did not cover this code path, even though it is the most common path in the general usage of this class. A new test has been added, and an old test has been re-enabled. Also, add the missing GetDisplacementScale method. Change-Id: I3cc21fda11e4c4f0a83dc020e0e9968086246d45
-
Robert Maynard authored
c5333aac Allow Dax marching cubes and threshold to work with doubles. c29aa732 Dax marching cubes now uses input array not active scalars.
-