VTK  9.3.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 "vtkmlib/vtkmInitializer.h" // Need for initializing vtk-m
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmAverageToCells : public vtkPointDataToCellData
26 {
27 public:
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30  static vtkmAverageToCells* New();
31 
32 protected:
34  ~vtkmAverageToCells() override;
35 
37 
38 private:
39  vtkmAverageToCells(const vtkmAverageToCells&) = delete;
40  void operator=(const vtkmAverageToCells&) = delete;
41  vtkmInitializer Initializer;
42 };
43 
44 VTK_ABI_NAMESPACE_END
45 #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.