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 =========================================================================*/
35 #ifndef vtkSampleImplicitFunctionFilter_h
36 #define vtkSampleImplicitFunctionFilter_h
37 
38 #include "vtkFiltersGeneralModule.h" // For export macro
39 #include "vtkDataSetAlgorithm.h"
40 
42 class vtkDataArray;
43 
44 class VTKFILTERSGENERAL_EXPORT vtkSampleImplicitFunctionFilter : public vtkDataSetAlgorithm
45 {
46 public:
48 
53  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
55 
57 
60  virtual void SetImplicitFunction(vtkImplicitFunction*);
61  vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
63 
65 
68  vtkSetMacro(ComputeGradients,int);
69  vtkGetMacro(ComputeGradients,int);
70  vtkBooleanMacro(ComputeGradients,int);
72 
74 
78  vtkSetStringMacro(ScalarArrayName);
79  vtkGetStringMacro(ScalarArrayName);
81 
83 
87  vtkSetStringMacro(GradientArrayName);
88  vtkGetStringMacro(GradientArrayName);
90 
94  vtkMTimeType GetMTime() VTK_OVERRIDE;
95 
96 protected:
98  ~vtkSampleImplicitFunctionFilter() VTK_OVERRIDE;
99 
100  vtkImplicitFunction *ImplicitFunction;
101  int ComputeGradients;
102  char *ScalarArrayName;
103  char *GradientArrayName;
104 
105  void ReportReferences(vtkGarbageCollector*) VTK_OVERRIDE;
106 
107  int RequestData(vtkInformation *, vtkInformationVector **,
108  vtkInformationVector *) VTK_OVERRIDE;
109  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
110 
111 
112 private:
114  void operator=(const vtkSampleImplicitFunctionFilter&) VTK_DELETE_FUNCTION;
115 };
116 
117 #endif
abstract interface for implicit functions
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:300
Detect and break reference loops.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:33
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:48
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
sample an implicit function over a dataset, generating scalar values and optional gradient vectors ...
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkDataSetAlgorithm * New()