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 
81  vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
83 
85 
90  vtkSetMacro(ExtractInside,bool);
91  vtkGetMacro(ExtractInside,bool);
92  vtkBooleanMacro(ExtractInside,bool);
94 
99 
100 protected:
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
extract points within an implicit function
vtkImplicitFunction * ImplicitFunction
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual vtkMTimeType GetMTime()
Return the MTime taking into account changes to the implicit function.
virtual int FilterPoints(vtkPointSet *input)
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function for inside/outside checks.
static vtkExtractPoints * New()
Standard methods for instantiating, obtaining type information, and printing information.
abstract interface for implicit functions
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract class for filtering a point cloud
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:43
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248