VTK  9.2.6
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=========================================================================*/
37
38#ifndef vtkSampleImplicitFunctionFilter_h
39#define vtkSampleImplicitFunctionFilter_h
40
41#include "vtkDataSetAlgorithm.h"
42#include "vtkFiltersGeneralModule.h" // For export macro
43
45class vtkDataArray;
46
47class VTKFILTERSGENERAL_EXPORT vtkSampleImplicitFunctionFilter : public vtkDataSetAlgorithm
48{
49public:
51
56 void PrintSelf(ostream& os, vtkIndent indent) override;
58
60
66
68
73 vtkBooleanMacro(ComputeGradients, vtkTypeBool);
75
77
81 vtkSetStringMacro(ScalarArrayName);
82 vtkGetStringMacro(ScalarArrayName);
84
86
90 vtkSetStringMacro(GradientArrayName);
91 vtkGetStringMacro(GradientArrayName);
93
98
99protected:
102
107
109
111 int FillInputPortInformation(int port, vtkInformation* info) override;
112
113private:
115 void operator=(const vtkSampleImplicitFunctionFilter&) = delete;
116};
117
118#endif
Detect and break reference loops.
abstract interface for implicit functions
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
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:69
#define vtkDataArray
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287