VTK  9.4.20241222
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
45#ifndef vtkSampleImplicitFunctionFilter_h
46#define vtkSampleImplicitFunctionFilter_h
47
48#include "vtkDataSetAlgorithm.h"
49#include "vtkFiltersGeneralModule.h" // For export macro
50
51VTK_ABI_NAMESPACE_BEGIN
53class vtkDataArray;
54
55class VTKFILTERSGENERAL_EXPORT vtkSampleImplicitFunctionFilter : public vtkDataSetAlgorithm
56{
57public:
59
64 void PrintSelf(ostream& os, vtkIndent indent) override;
66
68
72 vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
74
76
79 vtkSetMacro(ComputeGradients, vtkTypeBool);
80 vtkGetMacro(ComputeGradients, vtkTypeBool);
81 vtkBooleanMacro(ComputeGradients, vtkTypeBool);
83
85
89 vtkSetStringMacro(ScalarArrayName);
90 vtkGetStringMacro(ScalarArrayName);
92
94
98 vtkSetStringMacro(GradientArrayName);
99 vtkGetStringMacro(GradientArrayName);
101
106
107protected:
110
115
117
119 int FillInputPortInformation(int port, vtkInformation* info) override;
120
121private:
123 void operator=(const vtkSampleImplicitFunctionFilter&) = delete;
124};
125
126VTK_ABI_NAMESPACE_END
127#endif
abstract superclass for arrays of numeric data
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:108
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.
static vtkSampleImplicitFunctionFilter * New()
Standard instantiation, type information, and print methods.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
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.
int vtkTypeBool
Definition vtkABI.h:64
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270