VTK  9.7.1
vtkUniformGridAMRAlgorithm.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
12 #ifndef vtkUniformGridAMRAlgorithm_h
13 #define vtkUniformGridAMRAlgorithm_h
14 
15 #include "vtkAlgorithm.h"
16 #include "vtkCommonExecutionModelModule.h" // For export macro
17 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
18 
19 VTK_ABI_NAMESPACE_BEGIN
20 class vtkUniformGridAMR;
21 class vtkInformation;
23 class vtkExecutive;
24 
25 class VTKCOMMONEXECUTIONMODEL_EXPORT VTK_MARSHALAUTO vtkUniformGridAMRAlgorithm
26  : public vtkAlgorithm
27 {
28 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
34 
37  vtkUniformGridAMR* GetOutput();
38  vtkUniformGridAMR* GetOutput(int);
40 
42 
45  void SetInputData(vtkDataObject*);
46  void SetInputData(int, vtkDataObject*);
48 
53  vtkInformationVector* outputVector) override;
54 
55 protected:
57  ~vtkUniformGridAMRAlgorithm() override;
58 
64  {
65  return 1;
66  }
67 
73  {
74  return 1;
75  }
76 
82  {
83  return 1;
84  }
85 
91  {
92  return 1;
93  }
94 
96  {
97  return 1;
98  }
99 
104 
106 
110  int FillInputPortInformation(int port, vtkInformation* info) override;
112 
113  vtkDataObject* GetInput(int port);
114 
115 private:
117  void operator=(const vtkUniformGridAMRAlgorithm&) = delete;
118 };
119 
120 VTK_ABI_NAMESPACE_END
121 #endif /* VTKUNIFORMGRIDAMRALGORITHM_H_ */
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
Store vtkAlgorithm input/output information.
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int vtkTypeBool
Definition: vtkABI.h:64
virtual vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:53
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
virtual int RequestUpdateTime(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTK_MARSHALAUTO
vtkUniformGridAMR as output.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
general representation of visualization data
Definition: vtkDataObject.h:55
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Legacy, empty shell inheriting vtkAMRDataObject.