VTK  9.3.1
vtkExtractGeometry.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
34 #ifndef vtkExtractGeometry_h
35 #define vtkExtractGeometry_h
36 
37 #include "vtkFiltersExtractionModule.h" // For export macro
39 
40 VTK_ABI_NAMESPACE_BEGIN
42 
43 class VTKFILTERSEXTRACTION_EXPORT vtkExtractGeometry : public vtkUnstructuredGridAlgorithm
44 {
45 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
52  static vtkExtractGeometry* New();
53 
57  vtkMTimeType GetMTime() override;
58 
60 
63  virtual void SetImplicitFunction(vtkImplicitFunction*);
64  vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
66 
68 
73  vtkSetMacro(ExtractInside, vtkTypeBool);
74  vtkGetMacro(ExtractInside, vtkTypeBool);
75  vtkBooleanMacro(ExtractInside, vtkTypeBool);
77 
79 
83  vtkSetMacro(ExtractBoundaryCells, vtkTypeBool);
84  vtkGetMacro(ExtractBoundaryCells, vtkTypeBool);
85  vtkBooleanMacro(ExtractBoundaryCells, vtkTypeBool);
86  vtkSetMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
87  vtkGetMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
88  vtkBooleanMacro(ExtractOnlyBoundaryCells, vtkTypeBool);
90 
91 protected:
93  ~vtkExtractGeometry() override;
94 
95  // Usual data generation method
97 
99 
104 
105 private:
106  vtkExtractGeometry(const vtkExtractGeometry&) = delete;
107  void operator=(const vtkExtractGeometry&) = delete;
108 };
109 
110 VTK_ABI_NAMESPACE_END
111 #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:270
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:64
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:28
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 ...