VTK  9.0.3
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 
32 class vtkInformation;
34 class vtkIndent;
36 class vtkOverlappingAMR;
38 
39 class VTKFILTERSAMR_EXPORT vtkAMRToMultiBlockFilter : public vtkMultiBlockDataSetAlgorithm
40 {
41 public:
44  void PrintSelf(ostream& oss, vtkIndent indent) override;
45 
47 
51  vtkSetMacro(Controller, vtkMultiProcessController*);
52  vtkGetMacro(Controller, vtkMultiProcessController*);
54 
55  // Standard pipeline routines
56 
60 
61 protected:
64 
66 
72 
73 private:
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.
static vtkAMRToMultiBlockFilter * New()
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.
void PrintSelf(ostream &oss, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMultiProcessController * Controller
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkAMRToMultiBlockFilter() override
a simple class to control print indentation
Definition: vtkIndent.h:34
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
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453