VTK
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=========================================================================*/
38#ifndef vtkSampleImplicitFunctionFilter_h
39#define vtkSampleImplicitFunctionFilter_h
40
41#include "vtkFiltersGeneralModule.h" // For export macro
42#include "vtkDataSetAlgorithm.h"
43
45class vtkDataArray;
46
47class VTKFILTERSGENERAL_EXPORT vtkSampleImplicitFunctionFilter : public vtkDataSetAlgorithm
48{
49public:
51
56 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
58
60
64 vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
66
68
71 vtkSetMacro(ComputeGradients,int);
72 vtkGetMacro(ComputeGradients,int);
73 vtkBooleanMacro(ComputeGradients,int);
75
77
81 vtkSetStringMacro(ScalarArrayName);
82 vtkGetStringMacro(ScalarArrayName);
84
86
90 vtkSetStringMacro(GradientArrayName);
91 vtkGetStringMacro(GradientArrayName);
93
97 vtkMTimeType GetMTime() VTK_OVERRIDE;
98
99protected:
102
103 vtkImplicitFunction *ImplicitFunction;
104 int ComputeGradients;
105 char *ScalarArrayName;
106 char *GradientArrayName;
107
108 void ReportReferences(vtkGarbageCollector*) VTK_OVERRIDE;
109
111 vtkInformationVector *) VTK_OVERRIDE;
112 int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
113
114
115private:
117 void operator=(const vtkSampleImplicitFunctionFilter&) VTK_DELETE_FUNCTION;
118};
119
120#endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
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:40
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.
vtkMTimeType GetMTime() override
Return the MTime also taking into account the implicit function.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248