VTK  9.5.20251012
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
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
29VTK_ABI_NAMESPACE_BEGIN
30class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmAverageToCells : public vtkPointDataToCellData
31{
32public:
34#ifndef __VTK_WRAP__
35#undef vtkPointDataToCellData
36#endif
37 void PrintSelf(ostream& os, vtkIndent indent) override;
39
40protected:
43
45
46private:
48 void operator=(const vtkmAverageToCells&) = delete;
49 vtkmInitializer Initializer;
50};
51
52VTK_ABI_NAMESPACE_END
53#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()