VTK  9.1.0
vtkAMRToMultiBlockFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkAMRToMultiBlockFilter.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 =========================================================================*/
26#ifndef vtkAMRToMultiBlockFilter_h
27#define vtkAMRToMultiBlockFilter_h
28
29#include "vtkFiltersAMRModule.h" // For export macro
31
32class vtkInformation;
34class vtkIndent;
38
40{
41public:
44 void PrintSelf(ostream& oss, vtkIndent indent) override;
45
47
51 vtkSetMacro(Controller, vtkMultiProcessController*);
52 vtkGetMacro(Controller, vtkMultiProcessController*);
54
55 // Standard pipeline routines
56
57 int FillInputPortInformation(int port, vtkInformation* info) override;
58 int FillOutputPortInformation(int port, vtkInformation* info) override;
60
61protected:
64
66
72
73private:
75 void operator=(const vtkAMRToMultiBlockFilter&) = delete;
76};
77
78#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.
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:113
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.
hierarchical dataset of vtkUniformGrids