VTK
9.0.1
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
=========================================================================*/
56
#ifndef vtkExtractPoints_h
57
#define vtkExtractPoints_h
58
59
#include "vtkFiltersPointsModule.h"
// For export macro
60
#include "
vtkPointCloudFilter.h
"
61
62
class
vtkImplicitFunction
;
63
class
vtkPointSet
;
64
65
class
VTKFILTERSPOINTS_EXPORT
vtkExtractPoints
:
public
vtkPointCloudFilter
66
{
67
public
:
69
73
static
vtkExtractPoints
*
New
();
74
vtkTypeMacro(
vtkExtractPoints
,
vtkPointCloudFilter
);
75
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
77
79
82
virtual
void
SetImplicitFunction(
vtkImplicitFunction
*);
83
vtkGetObjectMacro(ImplicitFunction,
vtkImplicitFunction
);
85
87
92
vtkSetMacro(ExtractInside,
bool
);
93
vtkGetMacro(ExtractInside,
bool
);
94
vtkBooleanMacro(ExtractInside,
bool
);
96
100
vtkMTimeType
GetMTime
()
override
;
101
102
protected
:
103
vtkExtractPoints
();
104
~
vtkExtractPoints
()
override
;
105
106
vtkImplicitFunction
*
ImplicitFunction
;
107
bool
ExtractInside
;
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
113
private
:
114
vtkExtractPoints
(
const
vtkExtractPoints
&) =
delete
;
115
void
operator=(
const
vtkExtractPoints
&) =
delete
;
116
};
117
118
#endif
vtkPointCloudFilter.h
vtkPointCloudFilter
abstract class for filtering a point cloud
Definition:
vtkPointCloudFilter.h:66
vtkExtractPoints
extract points within an implicit function
Definition:
vtkExtractPoints.h:65
vtkPointCloudFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImplicitFunction
abstract interface for implicit functions
Definition:
vtkImplicitFunction.h:60
vtkObject::GetMTime
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkPointCloudFilter::FilterPoints
virtual int FilterPoints(vtkPointSet *input)=0
vtkPointSet
abstract class for specifying dataset behavior
Definition:
vtkPointSet.h:62
vtkExtractPoints::ExtractInside
bool ExtractInside
Definition:
vtkExtractPoints.h:107
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkExtractPoints::ImplicitFunction
vtkImplicitFunction * ImplicitFunction
Definition:
vtkExtractPoints.h:106
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition:
vtkType.h:293
Generated on Thu Jun 25 2020 08:30:42 for VTK by
1.8.17