VTK  9.3.0
vtkSampleImplicitFunctionFilter.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
26 #ifndef vtkSampleImplicitFunctionFilter_h
27 #define vtkSampleImplicitFunctionFilter_h
28 
29 #include "vtkDataSetAlgorithm.h"
30 #include "vtkFiltersGeneralModule.h" // For export macro
31 
32 VTK_ABI_NAMESPACE_BEGIN
34 class vtkDataArray;
35 
36 class VTKFILTERSGENERAL_EXPORT vtkSampleImplicitFunctionFilter : public vtkDataSetAlgorithm
37 {
38 public:
40 
45  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49 
53  vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
55 
57 
60  vtkSetMacro(ComputeGradients, vtkTypeBool);
61  vtkGetMacro(ComputeGradients, vtkTypeBool);
62  vtkBooleanMacro(ComputeGradients, vtkTypeBool);
64 
66 
70  vtkSetStringMacro(ScalarArrayName);
71  vtkGetStringMacro(ScalarArrayName);
73 
75 
79  vtkSetStringMacro(GradientArrayName);
80  vtkGetStringMacro(GradientArrayName);
82 
86  vtkMTimeType GetMTime() override;
87 
88 protected:
91 
96 
98 
101 
102 private:
104  void operator=(const vtkSampleImplicitFunctionFilter&) = delete;
105 };
106 
107 VTK_ABI_NAMESPACE_END
108 #endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:45
Superclass for algorithms that produce output of the same type as input.
Detect and break reference loops.
abstract interface for implicit functions
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
sample an implicit function over a dataset, generating scalar values and optional gradient vectors
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function to use to generate data.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkSampleImplicitFunctionFilter * New()
Standard instantiation, type information, and print methods.
void ReportReferences(vtkGarbageCollector *) override
vtkMTimeType GetMTime() override
Return the MTime also taking into account the implicit function.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard instantiation, type information, and print methods.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkTypeBool
Definition: vtkABI.h:64
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270