VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkExtractPolyDataGeometry.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractPolyDataGeometry.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
40 #ifndef __vtkExtractPolyDataGeometry_h
41 #define __vtkExtractPolyDataGeometry_h
42 
43 #include "vtkFiltersExtractionModule.h" // For export macro
44 #include "vtkPolyDataAlgorithm.h"
45 
46 class vtkImplicitFunction;
47 
48 class VTKFILTERSEXTRACTION_EXPORT vtkExtractPolyDataGeometry : public vtkPolyDataAlgorithm
49 {
50 public:
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
56 
58  unsigned long GetMTime();
59 
61 
62  virtual void SetImplicitFunction(vtkImplicitFunction*);
63  vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
65 
67 
70  vtkSetMacro(ExtractInside,int);
71  vtkGetMacro(ExtractInside,int);
72  vtkBooleanMacro(ExtractInside,int);
74 
76 
78  vtkSetMacro(ExtractBoundaryCells,int);
79  vtkGetMacro(ExtractBoundaryCells,int);
80  vtkBooleanMacro(ExtractBoundaryCells,int);
82 
83 protected:
84  vtkExtractPolyDataGeometry(vtkImplicitFunction *f=NULL);
86 
87  // Usual data generation method
88  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
89 
90  vtkImplicitFunction *ImplicitFunction;
93 private:
94  vtkExtractPolyDataGeometry(const vtkExtractPolyDataGeometry&); // Not implemented.
95  void operator=(const vtkExtractPolyDataGeometry&); // Not implemented.
96 };
97 
98 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
vtkImplicitFunction * ImplicitFunction
extract vtkPolyData cells that lies either entirely inside or outside of a specified implicit functio...