VTK  9.1.0
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 =========================================================================*/
98 #ifndef vtkExtractGeometry_h
99 #define vtkExtractGeometry_h
100 
101 #include "vtkFiltersExtractionModule.h" // For export macro
103 
104 class vtkImplicitFunction;
105 
106 class VTKFILTERSEXTRACTION_EXPORT vtkExtractGeometry : public vtkUnstructuredGridAlgorithm
107 {
108 public:
110  void PrintSelf(ostream& os, vtkIndent indent) override;
111 
116 
120  vtkMTimeType GetMTime() override;
121 
123 
127  vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
129 
131 
136  vtkSetMacro(ExtractInside, vtkTypeBool);
137  vtkGetMacro(ExtractInside, vtkTypeBool);
138  vtkBooleanMacro(ExtractInside, vtkTypeBool);
140 
142 
146  vtkSetMacro(ExtractBoundaryCells, vtkTypeBool);
147  vtkGetMacro(ExtractBoundaryCells, vtkTypeBool);
148  vtkBooleanMacro(ExtractBoundaryCells, vtkTypeBool);
149  vtkSetMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
150  vtkGetMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
151  vtkBooleanMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
153 
154 protected:
157 
158  // Usual data generation method
160 
162 
167 
168 private:
169  vtkExtractGeometry(const vtkExtractGeometry&) = delete;
170  void operator=(const vtkExtractGeometry&) = delete;
171 };
172 
173 #endif
vtkExtractGeometry::GetMTime
vtkMTimeType GetMTime() override
Return the MTime taking into account changes to the implicit function.
vtkExtractGeometry::New
static vtkExtractGeometry * New()
Construct object with ExtractInside turned on.
vtkExtractGeometry::~vtkExtractGeometry
~vtkExtractGeometry() override
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkExtractGeometry::ExtractBoundaryCells
vtkTypeBool ExtractBoundaryCells
Definition: vtkExtractGeometry.h:165
vtkExtractGeometry
extract cells that lie either entirely inside or outside of a specified implicit function
Definition: vtkExtractGeometry.h:107
vtkImplicitFunction
abstract interface for implicit functions
Definition: vtkImplicitFunction.h:80
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkExtractGeometry::ImplicitFunction
vtkImplicitFunction * ImplicitFunction
Definition: vtkExtractGeometry.h:163
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkExtractGeometry::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExtractGeometry::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkExtractGeometry::ExtractInside
vtkTypeBool ExtractInside
Definition: vtkExtractGeometry.h:164
vtkExtractGeometry::ExtractOnlyBoundaryCells
vtkTypeBool ExtractOnlyBoundaryCells
Definition: vtkExtractGeometry.h:166
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition: vtkUnstructuredGridAlgorithm.h:41
vtkExtractGeometry::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractGeometry::SetImplicitFunction
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function for inside/outside checks.
vtkExtractGeometry::vtkExtractGeometry
vtkExtractGeometry(vtkImplicitFunction *f=nullptr)
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287