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=========================================================================*/
47#ifndef vtkSampleImplicitFunctionFilter_h
48#define vtkSampleImplicitFunctionFilter_h
49
50#include "vtkDataSetAlgorithm.h"
51#include "vtkFiltersGeneralModule.h" // For export macro
52
54class vtkDataArray;
55
56class VTKFILTERSGENERAL_EXPORT vtkSampleImplicitFunctionFilter : public vtkDataSetAlgorithm
57{
58public:
60
65 void PrintSelf(ostream& os, vtkIndent indent) override;
67
69
73 vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
75
77
80 vtkSetMacro(ComputeGradients, vtkTypeBool);
81 vtkGetMacro(ComputeGradients, vtkTypeBool);
82 vtkBooleanMacro(ComputeGradients, vtkTypeBool);
84
86
90 vtkSetStringMacro(ScalarArrayName);
91 vtkGetStringMacro(ScalarArrayName);
93
95
99 vtkSetStringMacro(GradientArrayName);
100 vtkGetStringMacro(GradientArrayName);
102
107
108protected:
111
116
118
120 int FillInputPortInformation(int port, vtkInformation* info) override;
121
122private:
124 void operator=(const vtkSampleImplicitFunctionFilter&) = delete;
125};
126
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:49
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:69
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287