VTK  9.0.1
vtkDataSetGhostGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetGhostGenerator.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  =========================================================================*/
31 #ifndef vtkDataSetGhostGenerator_h
32 #define vtkDataSetGhostGenerator_h
33 
34 #include "vtkFiltersGeometryModule.h" // For export macro
36 
37 // Forward Declarations
38 class vtkInformation;
41 
42 class VTKFILTERSGEOMETRY_EXPORT vtkDataSetGhostGenerator : public vtkMultiBlockDataSetAlgorithm
43 {
44 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49 
52  vtkSetMacro(NumberOfGhostLayers, int);
53  vtkGetMacro(NumberOfGhostLayers, int);
55 
56  // Standard VTK pipeline routines
59 
60  int RequestData(vtkInformation* rqst, vtkInformationVector** inputVector,
61  vtkInformationVector* outputVector) override;
62 
63 protected:
65  ~vtkDataSetGhostGenerator() override;
66 
70  virtual void GenerateGhostLayers(vtkMultiBlockDataSet* in, vtkMultiBlockDataSet* out) = 0;
71 
73 
74 private:
76  void operator=(const vtkDataSetGhostGenerator&) = delete;
77 };
78 
79 #endif /* vtkDataSetGhostGenerator_h */
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkMultiBlockDataSetAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition: vtkMultiBlockDataSet.h:45
vtkMultiBlockDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkMultiBlockDataSetAlgorithm.h:89
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkDataSetGhostGenerator::NumberOfGhostLayers
int NumberOfGhostLayers
Definition: vtkDataSetGhostGenerator.h:72
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkMultiBlockDataSetAlgorithm.h
vtkMultiBlockDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkMultiBlockDataSetAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDataSetGhostGenerator
Definition: vtkDataSetGhostGenerator.h:42
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition: vtkMultiBlockDataSetAlgorithm.h:32