VTK
9.2.6
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
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
=========================================================================*/
59
#ifndef vtkExtractPoints_h
60
#define vtkExtractPoints_h
61
62
#include "vtkFiltersPointsModule.h"
// For export macro
63
#include "
vtkPointCloudFilter.h
"
64
65
class
vtkImplicitFunction
;
66
class
vtkPointSet
;
67
68
class
VTKFILTERSPOINTS_EXPORT
vtkExtractPoints
:
public
vtkPointCloudFilter
69
{
70
public
:
72
76
static
vtkExtractPoints
*
New
();
77
vtkTypeMacro(
vtkExtractPoints
,
vtkPointCloudFilter
);
78
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
80
82
85
virtual
void
SetImplicitFunction
(
vtkImplicitFunction
*);
86
vtkGetObjectMacro(ImplicitFunction,
vtkImplicitFunction
);
88
90
95
vtkSetMacro(ExtractInside,
bool
);
96
vtkGetMacro(ExtractInside,
bool
);
97
vtkBooleanMacro(ExtractInside,
bool
);
99
103
vtkMTimeType
GetMTime
()
override
;
104
105
protected
:
106
vtkExtractPoints
();
107
~vtkExtractPoints
()
override
;
108
109
vtkImplicitFunction
*
ImplicitFunction
;
110
bool
ExtractInside
;
111
112
// All derived classes must implement this method. Note that a side effect of
113
// the class is to populate the PointMap. Zero is returned if there is a failure.
114
int
FilterPoints
(
vtkPointSet
* input)
override
;
115
116
private
:
117
vtkExtractPoints
(
const
vtkExtractPoints
&) =
delete
;
118
void
operator=(
const
vtkExtractPoints
&) =
delete
;
119
};
120
121
#endif
vtkExtractPoints
extract points within an implicit function
Definition
vtkExtractPoints.h:69
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:109
vtkExtractPoints::ExtractInside
bool ExtractInside
Definition
vtkExtractPoints.h:110
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:61
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkPointCloudFilter
abstract class for filtering a point cloud
Definition
vtkPointCloudFilter.h:67
vtkPointSet
concrete class for storing a set of points
Definition
vtkPointSet.h:70
vtkPointCloudFilter.h
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition
vtkType.h:287
Generated on Thu Oct 31 2024 00:00:00 for VTK by
1.12.0