VTK
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 :
41 {
42 public:
43  static vtkAMRToMultiBlockFilter* New();
45  void PrintSelf(ostream &oss, vtkIndent indent ) override;
46 
48 
52  vtkSetMacro( Controller, vtkMultiProcessController* );
53  vtkGetMacro( Controller, vtkMultiProcessController* );
55 
56  // Standard pipeline routines
57 
60  int RequestData(
62 
63 protected:
65  ~vtkAMRToMultiBlockFilter() override;
66 
68 
71  void CopyAMRToMultiBlock(
75 
76 private:
78  void operator=(const vtkAMRToMultiBlockFilter& ) = delete;
79 };
80 
81 #endif /* vtkAMRToMultiBlockFilter_h */
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:39
A filter that accepts as input an AMR dataset and produces a corresponding vtkMultiBlockDataset as ou...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkMultiProcessController * Controller
Copies the AMR data to the output multi-block datastructure.
Composite dataset that organizes datasets into blocks.
hierarchical dataset of vtkUniformGrids
Store zero or more vtkInformation instances.
Multiprocessing communication superclass.