VTK  9.5.20251104
vtkmAverageToPoints.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
16#ifndef vtkmAverageToPoints_h
17#define vtkmAverageToPoints_h
18
19#include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
21#include "vtkmAlgorithm.h" // For vtkmAlgorithm
22#include "vtkmlib/vtkmInitializer.h" // Need for initializing viskores
23
24#ifndef __VTK_WRAP__
25#define vtkCellDataToPointData vtkmAlgorithm<vtkCellDataToPointData>
26#endif
27
28VTK_ABI_NAMESPACE_BEGIN
29class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmAverageToPoints : public vtkCellDataToPointData
30{
31public:
33#ifndef __VTK_WRAP__
34#undef vtkCellDataToPointData
35#endif
36 void PrintSelf(ostream& os, vtkIndent indent) override;
38
39protected:
42
44
45private:
47 void operator=(const vtkmAverageToPoints&) = delete;
48 vtkmInitializer Initializer;
49};
50
51VTK_ABI_NAMESPACE_END
52#endif // vtkmAverageToPoints_h
map cell data to point data
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Accelerated point to cell interpolation filter.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
~vtkmAverageToPoints() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkmAverageToPoints * New()