VTK  9.3.0
vtkExtractPoints.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-CLAUSE
56#ifndef vtkExtractPoints_h
57#define vtkExtractPoints_h
58
59#include "vtkFiltersPointsModule.h" // For export macro
60#include "vtkPointCloudFilter.h"
61
62VTK_ABI_NAMESPACE_BEGIN
64class vtkPointSet;
65
66class VTKFILTERSPOINTS_EXPORT vtkExtractPoints : public vtkPointCloudFilter
67{
68public:
70
76 void PrintSelf(ostream& os, vtkIndent indent) override;
78
80
84 vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
86
88
93 vtkSetMacro(ExtractInside, bool);
94 vtkGetMacro(ExtractInside, bool);
95 vtkBooleanMacro(ExtractInside, bool);
97
102
103protected:
106
109
110 // All derived classes must implement this method. Note that a side effect of
111 // the class is to populate the PointMap. Zero is returned if there is a failure.
112 int FilterPoints(vtkPointSet* input) override;
113
114private:
115 vtkExtractPoints(const vtkExtractPoints&) = delete;
116 void operator=(const vtkExtractPoints&) = delete;
117};
118
119VTK_ABI_NAMESPACE_END
120#endif
extract points within an implicit function
~vtkExtractPoints() override
static vtkExtractPoints * New()
Standard methods for instantiating, obtaining type information, and printing information.
vtkImplicitFunction * ImplicitFunction
int FilterPoints(vtkPointSet *input) override
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating, obtaining type information, and printing information.
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function for inside/outside checks.
vtkMTimeType GetMTime() override
Return the MTime taking into account changes to the implicit function.
abstract interface for implicit functions
a simple class to control print indentation
Definition vtkIndent.h:38
abstract class for filtering a point cloud
concrete class for storing a set of points
Definition vtkPointSet.h:68
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270