VTK  9.2.6
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 =========================================================================*/
42 #ifndef vtkExtractGeometry_h
43 #define vtkExtractGeometry_h
44 
45 #include "vtkFiltersExtractionModule.h" // For export macro
47 
49 
50 class VTKFILTERSEXTRACTION_EXPORT vtkExtractGeometry : public vtkUnstructuredGridAlgorithm
51 {
52 public:
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
59  static vtkExtractGeometry* New();
60 
64  vtkMTimeType GetMTime() override;
65 
67 
70  virtual void SetImplicitFunction(vtkImplicitFunction*);
71  vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
73 
75 
80  vtkSetMacro(ExtractInside, vtkTypeBool);
81  vtkGetMacro(ExtractInside, vtkTypeBool);
82  vtkBooleanMacro(ExtractInside, vtkTypeBool);
84 
86 
90  vtkSetMacro(ExtractBoundaryCells, vtkTypeBool);
91  vtkGetMacro(ExtractBoundaryCells, vtkTypeBool);
92  vtkBooleanMacro(ExtractBoundaryCells, vtkTypeBool);
93  vtkSetMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
94  vtkGetMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
95  vtkBooleanMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
97 
98 protected:
100  ~vtkExtractGeometry() override;
101 
102  // Usual data generation method
104 
105  int FillInputPortInformation(int port, vtkInformation* info) override;
106 
111 
112 private:
113  vtkExtractGeometry(const vtkExtractGeometry&) = delete;
114  void operator=(const vtkExtractGeometry&) = delete;
115 };
116 
117 #endif
abstract interface for implicit functions
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287
vtkImplicitFunction * ImplicitFunction
vtkTypeBool ExtractBoundaryCells
static vtkUnstructuredGridAlgorithm * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int vtkTypeBool
Definition: vtkABI.h:69
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool ExtractOnlyBoundaryCells
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual vtkMTimeType GetMTime()
Return this object's modified time.
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 ...