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 =========================================================================*/
53 #ifndef vtkExtractPoints_h
54 #define vtkExtractPoints_h
55 
56 #include "vtkFiltersPointsModule.h" // For export macro
57 #include "vtkPointCloudFilter.h"
58 
60 class vtkPointSet;
61 
62 
63 class VTKFILTERSPOINTS_EXPORT vtkExtractPoints : public vtkPointCloudFilter
64 {
65 public:
67 
71  static vtkExtractPoints *New();
73  void PrintSelf(ostream& os, vtkIndent indent);
75 
77 
80  virtual void SetImplicitFunction(vtkImplicitFunction*);
81  vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
83 
85 
90  vtkSetMacro(ExtractInside,bool);
91  vtkGetMacro(ExtractInside,bool);
92  vtkBooleanMacro(ExtractInside,bool);
94 
98  virtual vtkMTimeType GetMTime();
99 
100 protected:
102  ~vtkExtractPoints();
103 
106 
107  // All derived classes must implement this method. Note that a side effect of
108  // the class is to populate the PointMap. Zero is returned if there is a failure.
109  virtual int FilterPoints(vtkPointSet *input);
110 
111 private:
112  vtkExtractPoints(const vtkExtractPoints&) VTK_DELETE_FUNCTION;
113  void operator=(const vtkExtractPoints&) VTK_DELETE_FUNCTION;
114 
115 };
116 
117 #endif
abstract interface for implicit functions
vtkImplicitFunction * ImplicitFunction
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:42
virtual int FilterPoints(vtkPointSet *input)=0
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248
static vtkPolyDataAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:39
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.
abstract class for filtering a point cloud
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent)
Standard methods to obtain type information, and print information.