VTK  9.2.5
vtkSampleImplicitFunctionFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSampleImplicitFunctionFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
57 #ifndef vtkSampleImplicitFunctionFilter_h
58 #define vtkSampleImplicitFunctionFilter_h
59 
60 #include "vtkDataSetAlgorithm.h"
61 #include "vtkFiltersGeneralModule.h" // For export macro
62 
64 class vtkDataArray;
65 
66 class VTKFILTERSGENERAL_EXPORT vtkSampleImplicitFunctionFilter : public vtkDataSetAlgorithm
67 {
68 public:
70 
75  void PrintSelf(ostream& os, vtkIndent indent) override;
77 
79 
83  vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
85 
87 
90  vtkSetMacro(ComputeGradients, vtkTypeBool);
91  vtkGetMacro(ComputeGradients, vtkTypeBool);
92  vtkBooleanMacro(ComputeGradients, vtkTypeBool);
94 
96 
100  vtkSetStringMacro(ScalarArrayName);
101  vtkGetStringMacro(ScalarArrayName);
103 
105 
109  vtkSetStringMacro(GradientArrayName);
110  vtkGetStringMacro(GradientArrayName);
112 
116  vtkMTimeType GetMTime() override;
117 
118 protected:
121 
126 
128 
131 
132 private:
134  void operator=(const vtkSampleImplicitFunctionFilter&) = delete;
135 };
136 
137 #endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:165
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:119
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:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287