mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 09:59:12 +00:00
405643ddbb
During the VTK-m 1.8 and 1.9 development, the filter infrastructure was overhauled. Part of this created a completely new set of base classes. To avoid confusion with the original filter base classes and ease transition, the new filter base classes were named `NewFilter*`. Eventually after all filters were transitioned, the old filter base classes were deprecated. With the release of VTK-m 2.0, the old filter base classes are removed. The "new" filter base classes are no longer new. Thus, they have been renamed simply `Filter` (and `FilterField`).
35 lines
1014 B
C++
35 lines
1014 B
C++
//============================================================================
|
|
// Copyright (c) Kitware, Inc.
|
|
// All rights reserved.
|
|
// See LICENSE.txt for details.
|
|
//
|
|
// This software is distributed WITHOUT ANY WARRANTY; without even
|
|
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
// PURPOSE. See the above copyright notice for more information.
|
|
//============================================================================
|
|
#ifndef example_RedistributePoints_h
|
|
#define example_RedistributePoints_h
|
|
|
|
#include <vtkm/filter/Filter.h>
|
|
|
|
namespace example
|
|
{
|
|
|
|
class RedistributePoints : public vtkm::filter::Filter
|
|
{
|
|
public:
|
|
VTKM_CONT RedistributePoints() {}
|
|
|
|
VTKM_CONT ~RedistributePoints() {}
|
|
|
|
protected:
|
|
VTKM_CONT vtkm::cont::PartitionedDataSet DoExecutePartitions(
|
|
const vtkm::cont::PartitionedDataSet& input) override;
|
|
|
|
VTKM_CONT vtkm::cont::DataSet DoExecute(const vtkm::cont::DataSet& input) override;
|
|
};
|
|
|
|
} // namespace example
|
|
|
|
#endif //example_RedistributePoints_h
|