VTK
9.3.0
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Filters
Points
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
47
#ifndef vtkExtractPoints_h
48
#define vtkExtractPoints_h
49
50
#include "vtkFiltersPointsModule.h"
// For export macro
51
#include "
vtkPointCloudFilter.h
"
52
53
VTK_ABI_NAMESPACE_BEGIN
54
class
vtkImplicitFunction
;
55
class
vtkPointSet
;
56
57
class
VTKFILTERSPOINTS_EXPORT
vtkExtractPoints
:
public
vtkPointCloudFilter
58
{
59
public
:
61
65
static
vtkExtractPoints
*
New
();
66
vtkTypeMacro(
vtkExtractPoints
,
vtkPointCloudFilter
);
67
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
69
71
74
virtual
void
SetImplicitFunction
(
vtkImplicitFunction
*);
75
vtkGetObjectMacro(ImplicitFunction,
vtkImplicitFunction
);
77
79
84
vtkSetMacro(ExtractInside,
bool
);
85
vtkGetMacro(ExtractInside,
bool
);
86
vtkBooleanMacro(ExtractInside,
bool
);
88
92
vtkMTimeType
GetMTime
()
override
;
93
94
protected
:
95
vtkExtractPoints
();
96
~vtkExtractPoints
()
override
;
97
98
vtkImplicitFunction
*
ImplicitFunction
;
99
bool
ExtractInside
;
100
101
// All derived classes must implement this method. Note that a side effect of
102
// the class is to populate the PointMap. Zero is returned if there is a failure.
103
int
FilterPoints
(
vtkPointSet
* input)
override
;
104
105
private
:
106
vtkExtractPoints
(
const
vtkExtractPoints
&) =
delete
;
107
void
operator=(
const
vtkExtractPoints
&) =
delete
;
108
};
109
110
VTK_ABI_NAMESPACE_END
111
#endif
vtkExtractPoints
extract points within an implicit function
Definition
vtkExtractPoints.h:58
vtkExtractPoints::~vtkExtractPoints
~vtkExtractPoints() override
vtkExtractPoints::New
static vtkExtractPoints * New()
Standard methods for instantiating, obtaining type information, and printing information.
vtkExtractPoints::ImplicitFunction
vtkImplicitFunction * ImplicitFunction
Definition
vtkExtractPoints.h:98
vtkExtractPoints::ExtractInside
bool ExtractInside
Definition
vtkExtractPoints.h:99
vtkExtractPoints::FilterPoints
int FilterPoints(vtkPointSet *input) override
vtkExtractPoints::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating, obtaining type information, and printing information.
vtkExtractPoints::vtkExtractPoints
vtkExtractPoints()
vtkExtractPoints::SetImplicitFunction
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function for inside/outside checks.
vtkExtractPoints::GetMTime
vtkMTimeType GetMTime() override
Return the MTime taking into account changes to the implicit function.
vtkImplicitFunction
abstract interface for implicit functions
Definition
vtkImplicitFunction.h:50
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:29
vtkPointCloudFilter
abstract class for filtering a point cloud
Definition
vtkPointCloudFilter.h:56
vtkPointSet
concrete class for storing a set of points
Definition
vtkPointSet.h:59
vtkPointCloudFilter.h
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition
vtkType.h:270
Generated on Mon Feb 26 2024 16:15:33 for VTK by
1.11.0