vtk-m2/vtkm
Kenneth Moreland 42e8a9125d Copy Threshold output to a CellSetExplicit
Perhaps a better title for this change would be "Make the Threshold
filter not totally useless."

A long standing issue with the Threshold filter is that its output
CellSet was stored in a CellSetPermutation. This made Threshold hyper-
efficient because it required hardly any data movement to implement.
However, the problem was that any other unit that had to use the CellSet
failed. To have VTK-m handle that output correctly in other filters and
writers, they all would have to check for the existance of
CellSetPermutation. And CellSetPermutation is templated on the CellSet
type it is permuting, so all units would have to compile special cases
for all these combinations. This is not likely to be feasible in any
static solution.

The simple solution, implemented here, is to deep copy the cells to a
CellSetExplicit, which is a known type that is already used everywhere
in VTK-m. The solution is a bit disappointing since it requires more
memory and time to build. But it is on par with solutions in other
libraries (like VTK). And it really does not matter how efficient the
old solution was if it was useless.
2019-08-20 16:04:26 -06:00
..
cont Provide simplified way to construct point and cell fields 2019-08-15 11:03:41 -04:00
exec Fix gradient issue at apex of pyramid cells 2019-08-19 16:40:58 -06:00
filter Copy Threshold output to a CellSetExplicit 2019-08-20 16:04:26 -06:00
internal Get around alignas bug in GCC 4.8 2019-08-08 07:59:43 -06:00
interop Update VTK-m code to use new Vec aliases 2019-07-31 12:55:40 -06:00
io Update VTK-m code to use new Vec aliases 2019-07-31 12:55:40 -06:00
rendering Provide simplified way to construct point and cell fields 2019-08-15 11:03:41 -04:00
testing Update VTK-m code to use new Vec aliases 2019-07-31 12:55:40 -06:00
thirdparty Merge branch 'upstream-lodepng' into namespace_lodepng 2019-07-17 14:21:13 -04:00
worklet Copy Threshold output to a CellSetExplicit 2019-08-20 16:04:26 -06:00
.gitattributes diy 2019-04-09 (f7a68da4) 2019-04-09 11:42:54 -04:00
Assert.h conslidate the license statement 2019-04-17 10:57:13 -06:00
BaseComponent.h conslidate the license statement 2019-04-17 10:57:13 -06:00
BinaryOperators.h conslidate the license statement 2019-04-17 10:57:13 -06:00
BinaryPredicates.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Bitset.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Bounds.h Update VTK-m code to use new Vec aliases 2019-07-31 12:55:40 -06:00
CellClassification.h conslidate the license statement 2019-04-17 10:57:13 -06:00
CellShape.h Support for polylines. 2019-05-17 13:35:35 -04:00
CellTraits.h Support for polylines. 2019-05-17 13:35:35 -04:00
CMakeLists.txt vtkm_rendering now uses vtkm/thirdparty/lodepng 2019-06-19 14:39:46 -04:00
Flags.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Geometry.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Geometry.hxx conslidate the license statement 2019-04-17 10:57:13 -06:00
Hash.h conslidate the license statement 2019-04-17 10:57:13 -06:00
ImplicitFunction.h Update VTK-m code to use new Vec aliases 2019-07-31 12:55:40 -06:00
ListTag.h Update comparison for virtual and multiplexer arrays 2019-07-22 08:36:28 -06:00
Math.h FindFirstSetBit now correctly compiles with the Intel compiler 2019-05-08 15:48:58 -04:00
Math.h.in FindFirstSetBit now correctly compiles with the Intel compiler 2019-05-08 15:48:58 -04:00
Matrix.h Move Bounds and Matrix operators to vtkm namespace 2019-06-06 12:48:30 -06:00
NewtonsMethod.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Pair.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Range.h Move vtkm:: operators from global namespace to vtkm namespace 2019-05-20 14:16:32 -04:00
RangeId2.h conslidate the license statement 2019-04-17 10:57:13 -06:00
RangeId3.h conslidate the license statement 2019-04-17 10:57:13 -06:00
RangeId.h conslidate the license statement 2019-04-17 10:57:13 -06:00
StaticAssert.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Swap.h conslidate the license statement 2019-04-17 10:57:13 -06:00
TopologyElementTag.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Transform3D.h conslidate the license statement 2019-04-17 10:57:13 -06:00
TypeListTag.h Update VTK-m code to use new Vec aliases 2019-07-31 12:55:40 -06:00
Types.h Add aliases for common Vec types 2019-07-31 12:55:30 -06:00
TypeTraits.h conslidate the license statement 2019-04-17 10:57:13 -06:00
UnaryPredicates.h conslidate the license statement 2019-04-17 10:57:13 -06:00
VecAxisAlignedPointCoordinates.h Update VTK-m code to use new Vec aliases 2019-07-31 12:55:40 -06:00
VecFromPortal.h conslidate the license statement 2019-04-17 10:57:13 -06:00
VecFromPortalPermute.h conslidate the license statement 2019-04-17 10:57:13 -06:00
VecFromVirtPortal.h conslidate the license statement 2019-04-17 10:57:13 -06:00
VectorAnalysis.h conslidate the license statement 2019-04-17 10:57:13 -06:00
VecTraits.h Add HasVecTraits 2019-06-06 15:28:47 -06:00
VecVariable.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Version.h.in conslidate the license statement 2019-04-17 10:57:13 -06:00
VirtualObjectBase.h conslidate the license statement 2019-04-17 10:57:13 -06:00