VTK: Filters/General/vtkDataSetGradientPrecompute.h Source File

| VTK 9.3.1

vtkDataSetGradientPrecompute.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
20 #ifndef vtkDataSetGradientPrecompute_h
21 #define vtkDataSetGradientPrecompute_h
22
23 #include "vtkDataSetAlgorithm.h"
24 #include "vtkFiltersGeneralModule.h" // For export macro
25
26 VTK_ABI_NAMESPACE_BEGIN
27 class VTKFILTERSGENERAL_EXPORT vtkDataSetGradientPrecompute : public vtkDataSetAlgorithm
28 {
29 public:
30 static vtkDataSetGradientPrecompute* New();
31 vtkTypeMacro(vtkDataSetGradientPrecompute, vtkDataSetAlgorithm);
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
34 static int GradientPrecompute(vtkDataSet* ds, vtkDataSetAlgorithm* self = nullptr);
35
36 protected:
37 vtkDataSetGradientPrecompute();
38 ~vtkDataSetGradientPrecompute() override;
39
40 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
41
42 private:
43 vtkDataSetGradientPrecompute(const vtkDataSetGradientPrecompute&) = delete;
44 void operator=(const vtkDataSetGradientPrecompute&) = delete;
45 };
46
47 VTK_ABI_NAMESPACE_END
48 #endif /* VTK_DATA_SET_GRADIENT_PRECOMPUTE_H */
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:38
vtkDataSetGradientPrecompute
Computes a geometry based vector field that the DataSetGradient filter uses to accelerate gradient co...
Definition: vtkDataSetGradientPrecompute.h:28
vtkDataSetGradientPrecompute::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataSetGradientPrecompute::GradientPrecompute
static int GradientPrecompute(vtkDataSet *ds, vtkDataSetAlgorithm *self=nullptr)
vtkDataSetGradientPrecompute::vtkDataSetGradientPrecompute
vtkDataSetGradientPrecompute()
vtkDataSetGradientPrecompute::~vtkDataSetGradientPrecompute
~vtkDataSetGradientPrecompute() override
vtkDataSetGradientPrecompute::New
static vtkDataSetGradientPrecompute * New()
vtkDataSetGradientPrecompute::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkDataSetAlgorithm.h