VTK
vtkFitImplicitFunction.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFitImplicitFunction.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See LICENSE file 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 =========================================================================*/
55 #ifndef vtkFitImplicitFunction_h
56 #define vtkFitImplicitFunction_h
57 
58 #include "vtkFiltersPointsModule.h" // For export macro
59 #include "vtkPointCloudFilter.h"
60 
62 class vtkPointSet;
63 
64 
65 class VTKFILTERSPOINTS_EXPORT vtkFitImplicitFunction : public vtkPointCloudFilter
66 {
67 public:
69 
75  void PrintSelf(ostream& os, vtkIndent indent);
77 
79 
84  vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
86 
88 
93  vtkSetClampMacro(Threshold,double,0.0,VTK_FLOAT_MAX);
94  vtkGetMacro(Threshold,double);
96 
101 
102 protected:
105 
107  double Threshold;
108 
109  // All derived classes must implement this method. Note that a side effect of
110  // the class is to populate the PointMap. Zero is returned if there is a failure.
111  virtual int FilterPoints(vtkPointSet *input);
112 
113 private:
114  vtkFitImplicitFunction(const vtkFitImplicitFunction&) VTK_DELETE_FUNCTION;
115  void operator=(const vtkFitImplicitFunction&) VTK_DELETE_FUNCTION;
116 
117 };
118 
119 #endif
vtkPointCloudFilter.h
vtkFitImplicitFunction::SetImplicitFunction
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function defining a surface on which points are to be extracted.
vtkPointCloudFilter
abstract class for filtering a point cloud
Definition: vtkPointCloudFilter.h:67
vtkFitImplicitFunction::ImplicitFunction
vtkImplicitFunction * ImplicitFunction
Definition: vtkFitImplicitFunction.h:106
vtkDax::Threshold
int Threshold(vtkDataSet *input, vtkUnstructuredGrid *output, vtkDataArray *field, double lower, double upper)
Definition: vtkDaxThresholdImpl.h:147
vtkMTimeType
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248
vtkFitImplicitFunction
extract points on the surface of an implicit function
Definition: vtkFitImplicitFunction.h:66
vtkImplicitFunction
abstract interface for implicit functions
Definition: vtkImplicitFunction.h:59
vtkFitImplicitFunction::FilterPoints
virtual int FilterPoints(vtkPointSet *input)
vtkFitImplicitFunction::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkFitImplicitFunction::~vtkFitImplicitFunction
~vtkFitImplicitFunction()
VTK_FLOAT_MAX
#define VTK_FLOAT_MAX
Definition: vtkType.h:161
vtkFitImplicitFunction::vtkFitImplicitFunction
vtkFitImplicitFunction()
vtkPointSet
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:43
vtkFitImplicitFunction::GetMTime
virtual vtkMTimeType GetMTime()
Return the MTime taking into account changes to the implicit function.
vtkFitImplicitFunction::Threshold
double Threshold
Definition: vtkFitImplicitFunction.h:107
vtkFitImplicitFunction::New
static vtkFitImplicitFunction * New()
Standard methods for instantiating, obtaining type information, and printing information.