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
vtkPointCloudFilter.h
vtkPointCloudFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPointCloudFilter
abstract class for filtering a point cloud
Definition: vtkPointCloudFilter.h:66
vtkExtractPoints
extract points within an implicit function
Definition: vtkExtractPoints.h:63
vtkMTimeType
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248
vtkImplicitFunction
abstract interface for implicit functions
Definition: vtkImplicitFunction.h:58
vtkObject::GetMTime
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPointCloudFilter::FilterPoints
virtual int FilterPoints(vtkPointSet *input)=0
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkPointSet
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:42
vtkExtractPoints::ExtractInside
bool ExtractInside
Definition: vtkExtractPoints.h:105
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkExtractPoints::ImplicitFunction
vtkImplicitFunction * ImplicitFunction
Definition: vtkExtractPoints.h:104