VTK  9.6.20260617
vtkAMRInterfaceFilter.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
57#ifndef vtkAMRInterfaceFilter_h
58#define vtkAMRInterfaceFilter_h
59
60#include "vtkFiltersAMRModule.h" // For export macro
62
63VTK_ABI_NAMESPACE_BEGIN
66class vtkCellArray;
67class vtkCellData;
69class vtkDataSet;
70class vtkMergePoints;
72class vtkPointData;
74class VTKFILTERSAMR_EXPORT vtkAMRInterfaceFilter : public vtkPartitionedDataSetAlgorithm
75{
76public:
78 void PrintSelf(ostream& os, vtkIndent indent) override;
80
81protected:
84
88 int FillInputPortInformation(int port, vtkInformation* info) override;
89
94
95private:
97 void operator=(const vtkAMRInterfaceFilter&) = delete;
98
102 static void CleanupOutput(vtkPartitionedDataSet* output);
103
105
108 static void InternalProgressCallbackFunction(
109 vtkObject* arg, unsigned long, void* clientdata, void*);
110 void InternalProgressCallback(vtkAlgorithm* algorithm);
112
113 // Progress handling
114 vtkNew<vtkCallbackCommand> InternalProgressObserver;
115 double ProgressFloor = 0.;
116 double ProgressCeiling = 1.;
117};
118
119VTK_ABI_NAMESPACE_END
120#endif // vtkAMRInterfaceFilter_h
~vtkAMRInterfaceFilter() override
int FillInputPortInformation(int port, vtkInformation *info) override
Set input to vtkOverlappingAMR.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Implement the AMR contouring logic, see class documentation for details.
static vtkAMRInterfaceFilter * New()
supports function callbacks
Abstract API for vtkImageData and vtkRectilinearGrid.
object to represent cell connectivity
represent and manipulate cell attribute data
abstract class to specify dataset behavior
Definition vtkDataSet.h:166
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
merge exactly coincident points
Allocate and hold a VTK object.
Definition vtkNew.h:168
a multi-resolution dataset based on vtkCartesianGrid allowing overlaps
composite dataset to encapsulates a dataset consisting of partitions.
represent and manipulate point attribute data
dynamic, self-adjusting array of unsigned char
#define vtkContourFilter
Definition vtkmContour.h:31