VTK
9.1.0
Filters
Points
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
=========================================================================*/
75
#ifndef vtkExtractPoints_h
76
#define vtkExtractPoints_h
77
78
#include "vtkFiltersPointsModule.h"
// For export macro
79
#include "
vtkPointCloudFilter.h
"
80
81
class
vtkImplicitFunction
;
82
class
vtkPointSet
;
83
84
class
VTKFILTERSPOINTS_EXPORT
vtkExtractPoints
:
public
vtkPointCloudFilter
85
{
86
public
:
88
92
static
vtkExtractPoints
*
New
();
93
vtkTypeMacro(
vtkExtractPoints
,
vtkPointCloudFilter
);
94
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
96
98
101
virtual
void
SetImplicitFunction
(
vtkImplicitFunction
*);
102
vtkGetObjectMacro(ImplicitFunction,
vtkImplicitFunction
);
104
106
111
vtkSetMacro(ExtractInside,
bool
);
112
vtkGetMacro(ExtractInside,
bool
);
113
vtkBooleanMacro(ExtractInside,
bool
);
115
119
vtkMTimeType
GetMTime
()
override
;
120
121
protected
:
122
vtkExtractPoints
();
123
~vtkExtractPoints
()
override
;
124
125
vtkImplicitFunction
*
ImplicitFunction
;
126
bool
ExtractInside
;
127
128
// All derived classes must implement this method. Note that a side effect of
129
// the class is to populate the PointMap. Zero is returned if there is a failure.
130
int
FilterPoints
(
vtkPointSet
* input)
override
;
131
132
private
:
133
vtkExtractPoints
(
const
vtkExtractPoints
&) =
delete
;
134
void
operator=(
const
vtkExtractPoints
&) =
delete
;
135
};
136
137
#endif
vtkPointCloudFilter.h
vtkExtractPoints::SetImplicitFunction
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function for inside/outside checks.
vtkPointCloudFilter
abstract class for filtering a point cloud
Definition:
vtkPointCloudFilter.h:67
vtkExtractPoints
extract points within an implicit function
Definition:
vtkExtractPoints.h:85
vtkExtractPoints::FilterPoints
int FilterPoints(vtkPointSet *input) override
vtkImplicitFunction
abstract interface for implicit functions
Definition:
vtkImplicitFunction.h:80
vtkExtractPoints::GetMTime
vtkMTimeType GetMTime() override
Return the MTime taking into account changes to the implicit function.
vtkExtractPoints::vtkExtractPoints
vtkExtractPoints()
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkExtractPoints::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating, obtaining type information, and printing information.
vtkPointSet
concrete class for storing a set of points
Definition:
vtkPointSet.h:106
vtkExtractPoints::ExtractInside
bool ExtractInside
Definition:
vtkExtractPoints.h:126
vtkExtractPoints::New
static vtkExtractPoints * New()
Standard methods for instantiating, obtaining type information, and printing information.
vtkExtractPoints::~vtkExtractPoints
~vtkExtractPoints() override
vtkExtractPoints::ImplicitFunction
vtkImplicitFunction * ImplicitFunction
Definition:
vtkExtractPoints.h:125
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition:
vtkType.h:287
Generated on Fri Nov 5 2021 00:11:07 for VTK by
1.8.20