VTK  9.1.0
vtkUniformGridAMRAlgorithm.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkUniformGridAMRAlgorithm.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 =========================================================================*/
24#ifndef vtkUniformGridAMRAlgorithm_h
25#define vtkUniformGridAMRAlgorithm_h
26
27#include "vtkAlgorithm.h"
28#include "vtkCommonExecutionModelModule.h" // For export macro
29
31class vtkInformation;
33class vtkExecutive;
34
35class VTKCOMMONEXECUTIONMODEL_EXPORT vtkUniformGridAMRAlgorithm : public vtkAlgorithm
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
49
51
57
62 vtkInformationVector* outputVector) override;
63
64protected:
67
73 {
74 return 1;
75 }
76
82 {
83 return 1;
84 }
85
91 {
92 return 1;
93 }
94
100 {
101 return 1;
102 }
103
108
110
113 int FillOutputPortInformation(int port, vtkInformation* info) override;
114 int FillInputPortInformation(int port, vtkInformation* info) override;
116
118
119private:
121 void operator=(const vtkUniformGridAMRAlgorithm&) = delete;
122};
123
124#endif /* VTKUNIFORMGRIDAMRALGORITHM_H_ */
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:123
general representation of visualization data
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:76
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkUniformGridAMR as output.
vtkUniformGridAMR * GetOutput()
Get the output data object for a port on this algorithm.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
See vtkAlgorithm for details.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetInputData(int, vtkDataObject *)
Set an input of this algorithm.
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
static vtkUniformGridAMRAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int FillOutputPortInformation(int port, vtkInformation *info) override
See algorithm for more info.
~vtkUniformGridAMRAlgorithm() override
vtkUniformGridAMR * GetOutput(int)
Get the output data object for a port on this algorithm.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
See algorithm for more info.
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetInputData(vtkDataObject *)
Set an input of this algorithm.
vtkDataObject * GetInput(int port)
int vtkTypeBool
Definition: vtkABI.h:69