VTK
vtkExtractGeometry.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractGeometry.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 =========================================================================*/
43 #ifndef vtkExtractGeometry_h
44 #define vtkExtractGeometry_h
45 
46 #include "vtkFiltersExtractionModule.h" // For export macro
48 
50 
52 {
53 public:
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
58  static vtkExtractGeometry *New();
59 
61  unsigned long GetMTime();
62 
64 
65  virtual void SetImplicitFunction(vtkImplicitFunction*);
66  vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
68 
70 
73  vtkSetMacro(ExtractInside,int);
74  vtkGetMacro(ExtractInside,int);
75  vtkBooleanMacro(ExtractInside,int);
77 
79 
81  vtkSetMacro(ExtractBoundaryCells,int);
82  vtkGetMacro(ExtractBoundaryCells,int);
83  vtkBooleanMacro(ExtractBoundaryCells,int);
84  vtkSetMacro(ExtractOnlyBoundaryCells,int);
85  vtkGetMacro(ExtractOnlyBoundaryCells,int);
86  vtkBooleanMacro(ExtractOnlyBoundaryCells,int);
88 
89 protected:
92 
93  // Usual data generation method
95 
97 
102 
103 private:
104  vtkExtractGeometry(const vtkExtractGeometry&); // Not implemented.
105  void operator=(const vtkExtractGeometry&); // Not implemented.
106 };
107 
108 #endif
109 
110 
abstract interface for implicit functions
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store vtkAlgorithm input/output information.
vtkImplicitFunction * ImplicitFunction
static vtkUnstructuredGridAlgorithm * New()
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKFILTERSEXTRACTION_EXPORT
Superclass for algorithms that produce only unstructured grid as output.
Store zero or more vtkInformation instances.
extract cells that lie either entirely inside or outside of a specified implicit function ...