VTK
9.5.20251207
Filters
Points
vtkExtractEnclosedPoints.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
72
73
#ifndef vtkExtractEnclosedPoints_h
74
#define vtkExtractEnclosedPoints_h
75
76
#include "vtkFiltersPointsModule.h"
// For export macro
77
#include "
vtkPointCloudFilter.h
"
78
79
VTK_ABI_NAMESPACE_BEGIN
80
class
VTKFILTERSPOINTS_EXPORT
vtkExtractEnclosedPoints
:
public
vtkPointCloudFilter
81
{
82
public
:
84
87
static
vtkExtractEnclosedPoints
*
New
();
88
vtkTypeMacro(
vtkExtractEnclosedPoints
,
vtkPointCloudFilter
);
89
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
91
93
98
void
SetSurfaceData
(
vtkPolyData
* pd);
99
void
SetSurfaceConnection
(
vtkAlgorithmOutput
* algOutput);
101
103
106
vtkPolyData
*
GetSurface
();
107
vtkPolyData
*
GetSurface
(
vtkInformationVector
* sourceInfo);
109
111
115
vtkSetMacro(
CheckSurface
,
vtkTypeBool
);
116
vtkBooleanMacro(
CheckSurface
,
vtkTypeBool
);
117
vtkGetMacro(
CheckSurface
,
vtkTypeBool
);
119
121
125
vtkSetClampMacro(
Tolerance
,
double
, 0.0,
VTK_FLOAT_MAX
);
126
vtkGetMacro(
Tolerance
,
double
);
128
129
protected
:
130
vtkExtractEnclosedPoints
();
131
~vtkExtractEnclosedPoints
()
override
;
132
133
vtkTypeBool
CheckSurface
;
134
double
Tolerance
;
135
136
// Internal structures for managing the intersection testing
137
vtkPolyData
*
Surface
;
138
139
// Satisfy vtkPointCloudFilter superclass API
140
int
FilterPoints
(
vtkPointSet
* input)
override
;
141
142
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
143
int
FillInputPortInformation
(
int
,
vtkInformation
*)
override
;
144
145
private
:
146
vtkExtractEnclosedPoints
(
const
vtkExtractEnclosedPoints
&) =
delete
;
147
void
operator=(
const
vtkExtractEnclosedPoints
&) =
delete
;
148
};
149
150
VTK_ABI_NAMESPACE_END
151
#endif
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition
vtkAlgorithmOutput.h:52
vtkExtractEnclosedPoints::GetSurface
vtkPolyData * GetSurface(vtkInformationVector *sourceInfo)
Return a pointer to the enclosing surface.
vtkExtractEnclosedPoints::New
static vtkExtractEnclosedPoints * New()
Standard methods for instantiation, type information, and printing.
vtkExtractEnclosedPoints::FillInputPortInformation
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
vtkExtractEnclosedPoints::vtkExtractEnclosedPoints
vtkExtractEnclosedPoints()
vtkExtractEnclosedPoints::SetSurfaceConnection
void SetSurfaceConnection(vtkAlgorithmOutput *algOutput)
Set the surface to be used to test for containment.
vtkExtractEnclosedPoints::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
vtkExtractEnclosedPoints::Tolerance
double Tolerance
Definition
vtkExtractEnclosedPoints.h:134
vtkExtractEnclosedPoints::FilterPoints
int FilterPoints(vtkPointSet *input) override
vtkExtractEnclosedPoints::Surface
vtkPolyData * Surface
Definition
vtkExtractEnclosedPoints.h:137
vtkExtractEnclosedPoints::GetSurface
vtkPolyData * GetSurface()
Return a pointer to the enclosing surface.
vtkExtractEnclosedPoints::SetSurfaceData
void SetSurfaceData(vtkPolyData *pd)
Set the surface to be used to test for containment.
vtkExtractEnclosedPoints::~vtkExtractEnclosedPoints
~vtkExtractEnclosedPoints() override
vtkExtractEnclosedPoints::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractEnclosedPoints::CheckSurface
vtkTypeBool CheckSurface
Definition
vtkExtractEnclosedPoints.h:133
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:142
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:173
vtkPointCloudFilter::vtkPointCloudFilter
vtkPointCloudFilter()
vtkPointSet
concrete class for storing a set of points
Definition
vtkPointSet.h:98
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition
vtkPolyData.h:181
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkPointCloudFilter.h
VTK_FLOAT_MAX
#define VTK_FLOAT_MAX
Definition
vtkType.h:204
Generated on Sun Dec 7 2025 09:08:28 for VTK by
1.13.2