VTK  9.2.6
vtkExtractPoints.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkExtractPoints.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
56#ifndef vtkExtractPoints_h
57#define vtkExtractPoints_h
58
59#include "vtkFiltersPointsModule.h" // For export macro
60#include "vtkPointCloudFilter.h"
61
63class vtkPointSet;
64
65class VTKFILTERSPOINTS_EXPORT vtkExtractPoints : public vtkPointCloudFilter
66{
67public:
69
75 void PrintSelf(ostream& os, vtkIndent indent) override;
77
79
85
87
92 vtkSetMacro(ExtractInside, bool);
93 vtkGetMacro(ExtractInside, bool);
94 vtkBooleanMacro(ExtractInside, bool);
96
101
102protected:
105
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 int FilterPoints(vtkPointSet* input) override;
112
113private:
114 vtkExtractPoints(const vtkExtractPoints&) = delete;
115 void operator=(const vtkExtractPoints&) = delete;
116};
117
118#endif
~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:34
concrete class for storing a set of points
Definition vtkPointSet.h:67
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287