VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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  =========================================================================*/
23 #ifndef VTKUNIFORMGRIDAMRALGORITHM_H_
24 #define VTKUNIFORMGRIDAMRALGORITHM_H_
25 
26 #include "vtkCommonExecutionModelModule.h" // For export macro
27 #include "vtkAlgorithm.h"
28 
29 class vtkUniformGridAMR;
30 class vtkInformation;
31 class vtkInformationVector;
32 class vtkExecutive;
33 
34 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkUniformGridAMRAlgorithm : public vtkAlgorithm
35 {
36  public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
43  vtkUniformGridAMR* GetOutput();
44  vtkUniformGridAMR* GetOutput(int);
46 
48 
49  void SetInputData(vtkDataObject*);
50  void SetInputData(int,vtkDataObject*);
52 
54 
55  virtual int ProcessRequest(vtkInformation* request,
56  vtkInformationVector** inputVector,
57  vtkInformationVector* outputVector );
59 
60  protected:
62  virtual ~vtkUniformGridAMRAlgorithm();
63 
65 
67  virtual int RequestDataObject(vtkInformation*,
68  vtkInformationVector**,
69  vtkInformationVector*) {return 1;};
71 
73 
75  virtual int RequestInformation(vtkInformation*,
76  vtkInformationVector**,
77  vtkInformationVector*) {return 1;};
79 
81 
83  virtual int RequestData(vtkInformation*,
84  vtkInformationVector**,
85  vtkInformationVector*) {return 1;};
87 
89 
91  virtual int RequestUpdateExtent(vtkInformation*,
92  vtkInformationVector**,
93  vtkInformationVector*) { return 1; };
95 
98 
100 
101  virtual int FillOutputPortInformation(int port, vtkInformation* info);
102  virtual int FillInputPortInformation(int port, vtkInformation* info);
104 
105  vtkDataObject *GetInput(int port);
106 
107  private:
108  vtkUniformGridAMRAlgorithm(const vtkUniformGridAMRAlgorithm&); // Not implemented
109  void operator=(const vtkUniformGridAMRAlgorithm&); // Not implemented
110 };
111 
112 #endif /* VTKUNIFORMGRIDAMRALGORITHM_H_ */
virtual vtkExecutive * CreateDefaultExecutive()
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:48
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
virtual int FillOutputPortInformation(int port, vtkInformation *info)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkAlgorithm * New()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
general representation of visualization data
Definition: vtkDataObject.h:64
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent)