vtk-m2/vtkm/filter
Kenneth Moreland 5bd60a0b77 Add CreateResult to NewFilter and absorb field mapping
The original version of `Filter` classes had a helper header file named
`CreateResult.h` that had several forms of a `CreateResult` function that
helped correctly create the `DataSet` to be returned from a filter's
`DoExecute`. With the move to the `NewFilter` structure, these functions
did not line up very well with how `DataSet`s should actually be created.

A replacement for these functions have been added as protected helper
methods to `NewFilter` and `NewFilterField`. In addition to moving them
into the filter themselves, the behavior of `CreateResult` has been merged
with the map field to output functionality. The original implementation of
`Filter` did this mapping internally in a different step. The first design
of `NewFilter` required the filter implementer to call a
`MapFieldsOntoOutput` themselves. This new implementation wraps the
functionality of `CreateResult` and `MapFieldsOntoOutput` together so that
the `DataSet` will be created correctly with a single call to
`CreateResult`. This makes it easier to correctly create the output.
2022-01-27 13:27:39 -07:00
..
clean_grid Add CreateResult to NewFilter and absorb field mapping 2022-01-27 13:27:39 -07:00
connected_components Add CreateResult to NewFilter and absorb field mapping 2022-01-27 13:27:39 -07:00
density_estimate Fix slow ArrayCopy calls 2022-01-24 14:15:45 -07:00
entity_extraction Add CreateResult to NewFilter and absorb field mapping 2022-01-27 13:27:39 -07:00
field_transform Add CreateResult to NewFilter and absorb field mapping 2022-01-27 13:27:39 -07:00
internal Reduce compiler memory usage by removing auto hxx inclusion 2020-11-19 09:59:25 -05:00
particleadvection undo some errant changes. 2021-11-22 13:56:08 -05:00
testing Merge branch 'master' into new_connected_components 2022-01-25 10:15:57 -07:00
vector_calculus Add CreateResult to NewFilter and absorb field mapping 2022-01-27 13:27:39 -07:00
AmrArrays.h add amr capability as filter 2021-12-13 09:33:47 -07:00
AmrArrays.hxx Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00
CellAverage.cxx Reduce compiler memory usage by removing auto hxx inclusion 2020-11-19 09:59:25 -05:00
CellAverage.h Reduce compiler memory usage by removing auto hxx inclusion 2020-11-19 09:59:25 -05:00
CellAverage.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
CellMeasures.h Update filters that use FieldCell to use FieldFilter instead 2020-08-10 17:25:55 -06:00
CellMeasures.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
CellSetConnectivity.h migrate connected components filters 2022-01-16 12:15:03 -07:00
CleanGrid.h migrate clean_grid and extract_entity filters 2022-01-13 11:14:48 -07:00
ClipWithField.h Filters: Add cmake instantiations generator 2021-08-14 13:39:53 -04:00
ClipWithField.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
ClipWithFieldExternInstantiations.h Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
ClipWithFieldExternInstantiations.h.in Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
ClipWithImplicitFunction.h Filters: Add cmake instantiations generator 2021-08-14 13:39:53 -04:00
ClipWithImplicitFunction.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
ClipWithImplicitFunctionExternInstantiations.h Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
ClipWithImplicitFunctionExternInstantiations.h.in Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
CMakeLists.txt use CastAndCallScalarField 2022-01-25 12:18:15 -07:00
ComputeMoments.h ComputeMoments: use FilterField instead of FilterCell 2020-08-31 16:51:12 -04:00
ComputeMoments.hxx
Contour.cxx Reduce compiler memory usage by removing auto hxx inclusion 2020-11-19 09:59:25 -05:00
Contour.h Filters: Add cmake instantiations generator 2021-08-14 13:39:53 -04:00
Contour.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
ContourTreeUniform.h Update filters that use FieldCell to use FieldFilter instead 2020-08-10 17:25:55 -06:00
ContourTreeUniform.hxx Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00
ContourTreeUniformAugmented.h Update filters that use FieldCell to use FieldFilter instead 2020-08-10 17:25:55 -06:00
ContourTreeUniformAugmented.hxx Refactored ContourTreeMesh based on Ken Moreland's suggestions 2021-06-28 15:44:43 -07:00
ContourTreeUniformDistributed.h Started adding DIY code for HierarchicalAugmenter 2021-10-20 14:46:21 -07:00
ContourTreeUniformDistributed.hxx Improve comments 2021-11-08 15:24:07 -08:00
CoordinateSystemTransform.h
CoordinateSystemTransform.hxx
CreateResult.h Add CreateResult to NewFilter and absorb field mapping 2022-01-27 13:27:39 -07:00
CrossProduct.h Update CrossProduct filter to new filter base class 2022-01-25 07:23:48 -07:00
DotProduct.h Add and migrate NewFilterField 2021-12-13 16:20:39 -07:00
Entropy.h migrate Entropy and ND filters 2022-01-19 07:20:48 -07:00
ExternalFaces.h migrate clean_grid and extract_entity filters 2022-01-13 11:14:48 -07:00
ExtractGeometry.h migrate ExtractGeometry 2022-01-20 15:02:59 -07:00
ExtractPoints.h migrate clean_grid and extract_entity filters 2022-01-13 11:14:48 -07:00
ExtractStructured.h Migrate ExtractStructured 2022-01-20 15:10:20 -07:00
FieldMetadata.h Deprecate VariantArrayHandle 2021-04-07 16:12:38 -06:00
FieldSelection.h
FieldToColors.h
FieldToColors.hxx Move ColorTable mapping to its own header 2020-09-14 16:40:26 -06:00
Filter.h add missing #include 2021-10-13 13:22:26 -06:00
Filter.hxx Consolidate count-to-offset algorithms 2021-09-16 14:24:41 -06:00
FilterCell.h Deprecate FilterCell 2020-08-10 17:19:06 -06:00
FilterDataSet.h Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
FilterDataSet.hxx Suppress warning when logging is turned off 2021-09-17 05:34:26 -06:00
FilterDataSetWithField.h Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
FilterDataSetWithField.hxx
FilterField.h Add threaded filters for multiblock dataset. 2021-08-04 14:27:41 -04:00
FilterField.hxx
FilterParticleAdvection.h template advection filters with particle type 2021-11-22 15:10:08 -05:00
FilterParticleAdvection.hxx template advection filters with particle type 2021-11-22 15:10:08 -05:00
FilterTemporalParticleAdvection.h template advection filters with particle type 2021-11-22 15:10:08 -05:00
FilterTemporalParticleAdvection.hxx template advection filters with particle type 2021-11-22 15:10:08 -05:00
FilterTraits.h Fix deprecation warnings 2021-01-26 07:56:39 -07:00
GenerateIds.h restore deprecated filter::GenerateIds 2021-12-13 09:28:17 -07:00
GhostCellClassify.h Deprecate Execute with policy 2020-05-18 12:38:41 -06:00
GhostCellClassify.hxx Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00
GhostCellRemove.h migrate GhostCellRemove and Threshold 2022-01-20 15:10:22 -07:00
Gradient.h Filters: Add cmake instantiations generator 2021-08-14 13:39:53 -04:00
Gradient.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
Histogram.h migrate Histogram filter 2022-01-17 09:18:42 -07:00
ImageConnectivity.h migrate connected components filters 2022-01-16 12:15:03 -07:00
ImageDifference.h change arg ordering, support setting number of error pixels allowed 2021-01-06 20:50:49 +00:00
ImageDifference.hxx Update code to use ArrayCopyShallowIfPossible 2021-07-15 08:53:52 -06:00
ImageMedian.h Update filters that use FieldCell to use FieldFilter instead 2020-08-10 17:25:55 -06:00
ImageMedian.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
Instantiations.h Filters: Add cmake instantiations generator 2021-08-14 13:39:53 -04:00
InstantiationTemplate.cxx.in Filters: Add cmake instantiations generator 2021-08-14 13:39:53 -04:00
Lagrangian.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
Lagrangian.hxx Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00
LagrangianStructures.h Removing virtuals v1 2021-03-22 23:00:36 -07:00
LagrangianStructures.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
MapFieldMergeAverage.cxx migrate clean_grid and extract_entity filters 2022-01-13 11:14:48 -07:00
MapFieldMergeAverage.h migrate clean_grid and extract_entity filters 2022-01-13 11:14:48 -07:00
MapFieldPermutation.cxx Implement permutation mapping in vtkm_cont 2022-01-24 12:17:23 -07:00
MapFieldPermutation.h migrate clean_grid and extract_entity filters 2022-01-13 11:14:48 -07:00
Mask.h migrate Mask 2022-01-20 15:14:37 -07:00
MaskPoints.h migrate clean_grid and extract_entity filters 2022-01-13 11:14:48 -07:00
MeshQuality.h Fix MeshQuality to work with CellSetSingleType 2021-08-12 12:42:56 -06:00
MeshQuality.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
MIRFilter.h Adding missing header 2021-09-01 12:04:31 -07:00
MIRFilter.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
NDEntropy.h migrate Entropy and ND filters 2022-01-19 07:20:48 -07:00
NDHistogram.h migrate Entropy and ND filters 2022-01-19 07:20:48 -07:00
NewFilter.cxx Add CreateResult to NewFilter and absorb field mapping 2022-01-27 13:27:39 -07:00
NewFilter.h Add CreateResult to NewFilter and absorb field mapping 2022-01-27 13:27:39 -07:00
NewFilterField.cxx Add CreateResult to NewFilter and absorb field mapping 2022-01-27 13:27:39 -07:00
NewFilterField.h Add CreateResult to NewFilter and absorb field mapping 2022-01-27 13:27:39 -07:00
ParticleAdvection.h Create typedefs for existing filters with same name. 2021-11-22 22:20:38 -05:00
ParticleAdvection.hxx Create typedefs for existing filters with same name. 2021-11-22 22:20:38 -05:00
ParticleDensityCloudInCell.h migrate particle density filters 2022-01-19 10:34:43 -07:00
ParticleDensityNearestGridPoint.h migrate particle density filters 2022-01-19 10:34:43 -07:00
Pathline.h Create typedefs for existing filters with same name. 2021-11-22 22:20:38 -05:00
Pathline.hxx Create typedefs for existing filters with same name. 2021-11-22 22:20:38 -05:00
PathParticle.h Create typedefs for existing filters with same name. 2021-11-22 22:20:38 -05:00
PathParticle.hxx Create typedefs for existing filters with same name. 2021-11-22 22:20:38 -05:00
PointAverage.cxx Reduce compiler memory usage by removing auto hxx inclusion 2020-11-19 09:59:25 -05:00
PointAverage.h removing ArrayHandleExtrude* 2021-02-10 15:20:35 -05:00
PointAverage.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
PointElevation.h
PointElevation.hxx
PointTransform.h
PointTransform.hxx
PolicyBase.h Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
PolicyDefault.h
Probe.h Enable setting invalid value in probe filter 2020-06-03 15:29:37 -06:00
Probe.hxx Fix probe filter field mapping 2021-08-09 12:56:28 -04:00
Slice.cxx Add Slice filter and tests 2021-05-28 11:35:51 -04:00
Slice.h Add Slice filter and tests 2021-05-28 11:35:51 -04:00
Slice.hxx Add Slice filter and tests 2021-05-28 11:35:51 -04:00
SplitSharpEdges.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
SplitSharpEdges.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
Streamline.h Create typedefs for existing filters with same name. 2021-11-22 22:20:38 -05:00
Streamline.hxx Create typedefs for existing filters with same name. 2021-11-22 22:20:38 -05:00
StreamSurface.h Removing virtuals v1 2021-03-22 23:00:36 -07:00
StreamSurface.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
SurfaceNormals.h Update filters that use FieldCell to use FieldFilter instead 2020-08-10 17:25:55 -06:00
SurfaceNormals.hxx CoordinateSystem data is VariantArrayHandle 2020-07-14 08:50:39 -06:00
TaskQueue.h Add threaded filters for multiblock dataset. 2021-08-04 14:27:41 -04:00
Tetrahedralize.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
Tetrahedralize.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
Threshold.h migrate GhostCellRemove and Threshold 2022-01-20 15:10:22 -07:00
ThresholdPoints.h migrate clean_grid and extract_entity filters 2022-01-13 11:14:48 -07:00
Triangulate.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
Triangulate.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
Tube.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
Tube.hxx Properly handle global (whole mesh) fields in data set filters 2020-05-21 08:34:34 -06:00
VectorMagnitude.cxx Reduce compiler memory usage by removing auto hxx inclusion 2020-11-19 09:59:25 -05:00
VectorMagnitude.h Reduce compiler memory usage by removing auto hxx inclusion 2020-11-19 09:59:25 -05:00
VectorMagnitude.hxx
VertexClustering.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
VertexClustering.hxx Properly handle global (whole mesh) fields in data set filters 2020-05-21 08:34:34 -06:00
WarpScalar.h
WarpScalar.hxx
WarpVector.h
WarpVector.hxx
ZFPCompressor1D.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
ZFPCompressor1D.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
ZFPCompressor2D.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
ZFPCompressor2D.hxx Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00
ZFPCompressor3D.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
ZFPCompressor3D.hxx Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00
ZFPDecompressor1D.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
ZFPDecompressor1D.hxx Deprecate DynamicCellSet and remove from code 2022-01-04 15:38:18 -07:00
ZFPDecompressor2D.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
ZFPDecompressor2D.hxx Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00
ZFPDecompressor3D.h Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
ZFPDecompressor3D.hxx Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00