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
35 #ifndef vtkSampleImplicitFunctionFilter_h
36 #define vtkSampleImplicitFunctionFilter_h
37 
38 #include "vtkDataSetAlgorithm.h"
39 #include "vtkFiltersGeneralModule.h" // For export macro
40 
41 VTK_ABI_NAMESPACE_BEGIN
43 class vtkDataArray;
44 
45 class VTKFILTERSGENERAL_EXPORT vtkSampleImplicitFunctionFilter : public vtkDataSetAlgorithm
46 {
47 public:
49 
54  void PrintSelf(ostream& os, vtkIndent indent) override;
56 
58 
62  vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
64 
66 
69  vtkSetMacro(ComputeGradients, vtkTypeBool);
70  vtkGetMacro(ComputeGradients, vtkTypeBool);
71  vtkBooleanMacro(ComputeGradients, vtkTypeBool);
73 
75 
79  vtkSetStringMacro(ScalarArrayName);
80  vtkGetStringMacro(ScalarArrayName);
82 
84 
88  vtkSetStringMacro(GradientArrayName);
89  vtkGetStringMacro(GradientArrayName);
91 
95  vtkMTimeType GetMTime() override;
96 
97 protected:
100 
105 
107 
110 
111 private:
113  void operator=(const vtkSampleImplicitFunctionFilter&) = delete;
114 };
115 
116 VTK_ABI_NAMESPACE_END
117 #endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
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:38
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