VTK  9.3.20240328
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;
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
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
map point data to cell data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
~vtkmAverageToCells() override
static vtkmAverageToCells * New()