VTK  9.7.0
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
33
34#ifndef vtkExtractGeometry_h
35#define vtkExtractGeometry_h
36
37#include "vtkFiltersExtractionModule.h" // For export macro
38#include "vtkNew.h" // for vtkNew
40
41VTK_ABI_NAMESPACE_BEGIN
42
46
47class VTKFILTERSEXTRACTION_EXPORT vtkExtractGeometry : public vtkUnstructuredGridAlgorithm
48{
49public:
51 void PrintSelf(ostream& os, vtkIndent indent) override;
52
57
62
64
70
72
79 vtkBooleanMacro(ExtractInside, vtkTypeBool);
81
83
94
95protected:
98
99 // Usual data generation method
101
103
104 int FillInputPortInformation(int port, vtkInformation* info) override;
105
106 int FillOutputPortInformation(int port, vtkInformation* info) override;
107
112
113private:
114 vtkExtractGeometry(const vtkExtractGeometry&) = delete;
115 void operator=(const vtkExtractGeometry&) = delete;
116
120 void InitializeOutput(vtkDataObjectTree* input, vtkDataObjectTree* output);
121
127 int ExtractLeaf(vtkInformation* request, vtkInformationVector** inputVector,
128 vtkInformationVector* outputVector);
129
134 vtkSmartPointer<vtkInformationVector> DuplicateInfoForLeaf(
135 vtkInformationVector* inputInfo, vtkDataObject* leaf);
136
138};
139
140VTK_ABI_NAMESPACE_END
141#endif
vtkDataObjectMeshCache is a class to store and reuse the mesh of a vtkDataSet, while forwarding data ...
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
general representation of visualization data
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
static vtkExtractGeometry * New()
Construct object with ExtractInside turned on.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkImplicitFunction * ImplicitFunction
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
~vtkExtractGeometry() override
vtkTypeBool ExtractBoundaryCells
vtkTypeBool ExtractOnlyBoundaryCells
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function for inside/outside checks.
vtkExtractGeometry(vtkImplicitFunction *f=nullptr)
int FillOutputPortInformation(int port, vtkInformation *info) override
abstract interface for implicit functions
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Allocate and hold a VTK object.
Definition vtkNew.h:59
Hold a reference to a vtkObjectBase instance.
int vtkTypeBool
Definition vtkABI.h:64
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:318