VTK  9.4.20250323
vtkAMRToMultiBlockFilter.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
14#ifndef vtkAMRToMultiBlockFilter_h
15#define vtkAMRToMultiBlockFilter_h
16
17#include "vtkFiltersAMRModule.h" // For export macro
19
20VTK_ABI_NAMESPACE_BEGIN
21class vtkInformation;
23class vtkIndent;
27
29{
30public:
33 void PrintSelf(ostream& oss, vtkIndent indent) override;
34
36
41 vtkGetObjectMacro(Controller, vtkMultiProcessController);
43
44 // Standard pipeline routines
45
46 int FillInputPortInformation(int port, vtkInformation* info) override;
47 int FillOutputPortInformation(int port, vtkInformation* info) override;
49
50protected:
53
55
61
62private:
64 void operator=(const vtkAMRToMultiBlockFilter&) = delete;
65};
66
67VTK_ABI_NAMESPACE_END
68#endif /* vtkAMRToMultiBlockFilter_h */
A filter that accepts as input an AMR dataset and produces a corresponding vtkMultiBlockDataset as ou...
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
virtual void SetController(vtkMultiProcessController *)
Set/Get a multiprocess controller for parallel processing.
void CopyAMRToMultiBlock(vtkOverlappingAMR *amr, vtkMultiBlockDataSet *mbds)
Copies the AMR data to the output multi-block datastructure.
static vtkAMRToMultiBlockFilter * New()
void PrintSelf(ostream &oss, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMultiProcessController * Controller
Copies the AMR data to the output multi-block datastructure.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkAMRToMultiBlockFilter() override
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Composite dataset that organizes datasets into blocks.
Multiprocessing communication superclass.
a multi-resolution dataset based on vtkUniformGrid allowing overlaps