VTK
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 "vtkCommonExecutionModelModule.h" // For export macro
28 #include "vtkAlgorithm.h"
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) VTK_OVERRIDE;
41 
43 
49 
51 
57 
62  vtkInformationVector** inputVector,
63  vtkInformationVector* outputVector ) VTK_OVERRIDE;
64 
65  protected:
68 
73  virtual int RequestDataObject(vtkInformation*,
75  vtkInformationVector*) {return 1;};
76 
83  vtkInformationVector*) {return 1;};
84 
91  vtkInformationVector*) {return 1;};
92 
99  vtkInformationVector*) { return 1; };
100 
105 
107 
110  int FillOutputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
111  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
113 
114  vtkDataObject *GetInput(int port);
115 
116  private:
117  vtkUniformGridAMRAlgorithm(const vtkUniformGridAMRAlgorithm&) VTK_DELETE_FUNCTION;
118  void operator=(const vtkUniformGridAMRAlgorithm&) VTK_DELETE_FUNCTION;
119 };
120 
121 #endif /* VTKUNIFORMGRIDAMRALGORITHM_H_ */
vtkUniformGridAMRAlgorithm
vtkUniformGridAMR as output.
Definition: vtkUniformGridAMRAlgorithm.h:36
vtkUniformGridAMRAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkUniformGridAMRAlgorithm.h:97
vtkUniformGridAMRAlgorithm::vtkUniformGridAMRAlgorithm
vtkUniformGridAMRAlgorithm()
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkUniformGridAMRAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkUniformGridAMRAlgorithm.h:89
vtkUniformGridAMRAlgorithm::New
static vtkUniformGridAMRAlgorithm * New()
vtkAlgorithm.h
vtkUniformGridAMRAlgorithm::CreateDefaultExecutive
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkExecutive
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:50
vtkUniformGridAMRAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkUniformGridAMRAlgorithm::ProcessRequest
int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
See vtkAlgorithm for details.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkUniformGridAMRAlgorithm::GetOutput
vtkUniformGridAMR * GetOutput()
Get the output data object for a port on this algorithm.
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkUniformGridAMRAlgorithm::GetOutput
vtkUniformGridAMR * GetOutput(int)
vtkUniformGridAMRAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkUniformGridAMRAlgorithm.h:81
vtkUniformGridAMR
Definition: vtkUniformGridAMR.h:34
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkUniformGridAMRAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
Set an input of this algorithm.
vtkUniformGridAMRAlgorithm::~vtkUniformGridAMRAlgorithm
~vtkUniformGridAMRAlgorithm() override
vtkUniformGridAMRAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)