VTK  9.5.20251103
vtkmGradient.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
22#ifndef vtkmGradient_h
23#define vtkmGradient_h
24
25#include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
26#include "vtkGradientFilter.h"
27#include "vtkmAlgorithm.h" // For vtkmAlgorithm
28#include "vtkmlib/vtkmInitializer.h" // Need for initializing viskores
29
30#ifndef __VTK_WRAP__
31#define vtkGradientFilter vtkmAlgorithm<vtkGradientFilter>
32#endif
33
34VTK_ABI_NAMESPACE_BEGIN
35class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmGradient : public vtkGradientFilter
36{
37public:
39#ifndef __VTK_WRAP__
40#undef vtkGradientFilter
41#endif
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43 static vtkmGradient* New();
44
45protected:
52
54 ~vtkmGradient() override;
55
57
58private:
59 vtkmGradient(const vtkmGradient&) = delete;
60 void operator=(const vtkmGradient&) = delete;
61 vtkmInitializer Initializer;
62};
63
64VTK_ABI_NAMESPACE_END
65#endif // vtkmGradient_h
abstract class to specify dataset behavior
Definition vtkDataSet.h:166
A general filter for gradient estimation.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
A general filter for gradient estimation.
bool CanProcessInput(vtkDataSet *input)
Check if the input dataset and parameters combination is supported by this filter.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
~vtkmGradient() override
static vtkmGradient * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.