VTK  9.7.1
vtkmAverageToCells.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.
3 // SPDX-FileCopyrightText: Copyright 2012 Sandia Corporation.
4 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
17 #ifndef vtkmAverageToCells_h
18 #define vtkmAverageToCells_h
19 
20 #include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
21 #include "vtkPointDataToCellData.h"
22 #include "vtkmAlgorithm.h" // For vtkmAlgorithm
23 #include "vtkmlib/vtkmInitializer.h" // Need for initializing viskores
24 
25 #ifndef __VTK_WRAP__
26 #define vtkPointDataToCellData vtkmAlgorithm<vtkPointDataToCellData>
27 #endif
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmAverageToCells : public vtkPointDataToCellData
31 {
32 public:
34 #ifndef __VTK_WRAP__
35 #undef vtkPointDataToCellData
36 #endif
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38  static vtkmAverageToCells* New();
39 
40 protected:
42  ~vtkmAverageToCells() override;
43 
45 
46 private:
47  vtkmAverageToCells(const vtkmAverageToCells&) = delete;
48  void operator=(const vtkmAverageToCells&) = delete;
49  vtkmInitializer Initializer;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif // vtkmAverageToCells_h
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.
map point data to cell data
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPointDataToCellData * New()
Standard methods for instantiation, type information, and printing.