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 =========================================================================*/
101 #ifndef vtkExtractGeometry_h
102 #define vtkExtractGeometry_h
103 
104 #include "vtkFiltersExtractionModule.h" // For export macro
106 
107 class vtkImplicitFunction;
108 
109 class VTKFILTERSEXTRACTION_EXPORT vtkExtractGeometry : public vtkUnstructuredGridAlgorithm
110 {
111 public:
113  void PrintSelf(ostream& os, vtkIndent indent) override;
114 
119 
123  vtkMTimeType GetMTime() override;
124 
126 
130  vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
132 
134 
139  vtkSetMacro(ExtractInside, vtkTypeBool);
140  vtkGetMacro(ExtractInside, vtkTypeBool);
141  vtkBooleanMacro(ExtractInside, vtkTypeBool);
143 
145 
149  vtkSetMacro(ExtractBoundaryCells, vtkTypeBool);
150  vtkGetMacro(ExtractBoundaryCells, vtkTypeBool);
151  vtkBooleanMacro(ExtractBoundaryCells, vtkTypeBool);
152  vtkSetMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
153  vtkGetMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
154  vtkBooleanMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
156 
157 protected:
160 
161  // Usual data generation method
163 
165 
170 
171 private:
172  vtkExtractGeometry(const vtkExtractGeometry&) = delete;
173  void operator=(const vtkExtractGeometry&) = delete;
174 };
175 
176 #endif
extract cells that lie either entirely inside or outside of a specified implicit function
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMTimeType GetMTime() override
Return the MTime taking into account changes to the implicit function.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkExtractGeometry * New()
Construct object with ExtractInside turned on.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkImplicitFunction * ImplicitFunction
~vtkExtractGeometry() override
vtkTypeBool ExtractBoundaryCells
vtkTypeBool ExtractOnlyBoundaryCells
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function for inside/outside checks.
vtkExtractGeometry(vtkImplicitFunction *f=nullptr)
abstract interface for implicit functions
a simple class to control print indentation
Definition: vtkIndent.h:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only unstructured grid as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287