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
32VTK_ABI_NAMESPACE_BEGIN
34class vtkDataArray;
35
36class VTKFILTERSGENERAL_EXPORT vtkSampleImplicitFunctionFilter : public vtkDataSetAlgorithm
37{
38public:
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
87
88protected:
91
96
98
100 int FillInputPortInformation(int port, vtkInformation* info) override;
101
102private:
104 void operator=(const vtkSampleImplicitFunctionFilter&) = delete;
105};
106
107VTK_ABI_NAMESPACE_END
108#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: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.
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