VTK  9.0.1
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 
30 class vtkUniformGridAMR;
31 class vtkInformation;
33 class vtkExecutive;
34 
35 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkUniformGridAMRAlgorithm : public vtkAlgorithm
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
46  vtkUniformGridAMR* GetOutput();
47  vtkUniformGridAMR* GetOutput(int);
49 
51 
54  void SetInputData(vtkDataObject*);
55  void SetInputData(int, vtkDataObject*);
57 
62  vtkInformationVector* outputVector) override;
63 
64 protected:
66  ~vtkUniformGridAMRAlgorithm() override;
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 
114  int FillInputPortInformation(int port, vtkInformation* info) override;
116 
117  vtkDataObject* GetInput(int port);
118 
119 private:
121  void operator=(const vtkUniformGridAMRAlgorithm&) = delete;
122 };
123 
124 #endif /* VTKUNIFORMGRIDAMRALGORITHM_H_ */
vtkAlgorithm::CreateDefaultExecutive
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
vtkUniformGridAMRAlgorithm
Definition: vtkUniformGridAMRAlgorithm.h:35
vtkUniformGridAMRAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkUniformGridAMRAlgorithm.h:99
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkUniformGridAMRAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkUniformGridAMRAlgorithm.h:90
vtkAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkExecutive
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:46
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkUniformGridAMRAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkUniformGridAMRAlgorithm.h:81
vtkAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUniformGridAMR
Definition: vtkUniformGridAMR.h:32
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:59
vtkAlgorithm::ProcessRequest
virtual vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
vtkAlgorithm::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkUniformGridAMRAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkUniformGridAMRAlgorithm.h:72