VTK
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 =========================================================================*/
50 #ifndef vtkExtractPoints_h
51 #define vtkExtractPoints_h
52 
53 #include "vtkFiltersPointsModule.h" // For export macro
54 #include "vtkPointCloudFilter.h"
55 
57 class vtkPointSet;
58 
59 
60 class VTKFILTERSPOINTS_EXPORT vtkExtractPoints : public vtkPointCloudFilter
61 {
62 public:
64 
68  static vtkExtractPoints *New();
70  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
72 
74 
77  virtual void SetImplicitFunction(vtkImplicitFunction*);
78  vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
80 
82 
87  vtkSetMacro(ExtractInside,bool);
88  vtkGetMacro(ExtractInside,bool);
89  vtkBooleanMacro(ExtractInside,bool);
91 
95  vtkMTimeType GetMTime() VTK_OVERRIDE;
96 
97 protected:
99  ~vtkExtractPoints() VTK_OVERRIDE;
100 
101  vtkImplicitFunction *ImplicitFunction;
102  bool ExtractInside;
103 
104  // All derived classes must implement this method. Note that a side effect of
105  // the class is to populate the PointMap. Zero is returned if there is a failure.
106  int FilterPoints(vtkPointSet *input) VTK_OVERRIDE;
107 
108 private:
109  vtkExtractPoints(const vtkExtractPoints&) VTK_DELETE_FUNCTION;
110  void operator=(const vtkExtractPoints&) VTK_DELETE_FUNCTION;
111 
112 };
113 
114 #endif
abstract interface for implicit functions
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:300
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:39
static vtkPolyDataAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:33
extract points within an implicit function
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods to obtain type information, and print information.
abstract class for filtering a point cloud
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.