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  =========================================================================*/
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;
32 class vtkExecutive;
33 
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 
69  vtkInformationVector*) {return 1;};
71 
73 
77  vtkInformationVector*) {return 1;};
79 
81 
85  vtkInformationVector*) {return 1;};
87 
89 
93  vtkInformationVector*) { return 1; };
95 
98 
100 
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_ */
#define VTKCOMMONEXECUTIONMODEL_EXPORT
virtual vtkExecutive * CreateDefaultExecutive()
Store vtkAlgorithm input/output information.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:51
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:61
virtual int FillOutputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
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)