VTK  9.2.6
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=========================================================================*/
64#ifndef vtkFitImplicitFunction_h
65#define vtkFitImplicitFunction_h
66
67#include "vtkFiltersPointsModule.h" // For export macro
68#include "vtkPointCloudFilter.h"
69
71class vtkPointSet;
72
73class VTKFILTERSPOINTS_EXPORT vtkFitImplicitFunction : public vtkPointCloudFilter
74{
75public:
77
83 void PrintSelf(ostream& os, vtkIndent indent) override;
85
87
92 vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
94
96
101 vtkSetClampMacro(Threshold, double, 0.0, VTK_FLOAT_MAX);
102 vtkGetMacro(Threshold, double);
104
109
110protected:
113
115 double Threshold;
116
117 // All derived classes must implement this method. Note that a side effect of
118 // the class is to populate the PointMap. Zero is returned if there is a failure.
119 int FilterPoints(vtkPointSet* input) override;
120
121private:
123 void operator=(const vtkFitImplicitFunction&) = delete;
124};
125
126#endif
extract points on the surface of an implicit function
static vtkFitImplicitFunction * New()
Standard methods for instantiating, obtaining type information, and printing information.
~vtkFitImplicitFunction() override
vtkImplicitFunction * ImplicitFunction
int FilterPoints(vtkPointSet *input) override
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function defining a surface on which points are to be extracted.
vtkMTimeType GetMTime() override
Return the MTime taking into account changes to the implicit function.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating, obtaining type information, and printing information.
abstract interface for implicit functions
a simple class to control print indentation
Definition vtkIndent.h:49
abstract class for filtering a point cloud
concrete class for storing a set of points
Definition vtkPointSet.h:79
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287
#define VTK_FLOAT_MAX
Definition vtkType.h:163