28 #ifndef vtkImageAlgorithm_h
29 #define vtkImageAlgorithm_h
31 #include "vtkCommonExecutionModelModule.h"
32 #include "vtkAlgorithm.h"
41 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
48 vtkImageData* GetOutput(
int);
49 virtual void SetOutput(vtkDataObject* d);
58 vtkInformationVector**,
59 vtkInformationVector*) VTK_OVERRIDE;
68 void SetInputData(
int, vtkDataObject*);
78 vtkDataObject *GetInput() {
return this->GetInput(0); };
79 vtkImageData *GetImageDataInput(
int port);
89 virtual void AddInputData(
int, vtkDataObject*);
100 virtual
int RequestInformation(vtkInformation* request,
101 vtkInformationVector** inputVector,
102 vtkInformationVector* outputVector);
110 virtual
int RequestUpdateExtent(vtkInformation*,
111 vtkInformationVector**,
112 vtkInformationVector*);
121 virtual
void CopyInputArrayAttributesToOutput(vtkInformation* request,
122 vtkInformationVector** inputVector,
123 vtkInformationVector* outputVector);
133 virtual
int RequestData(vtkInformation *request,
134 vtkInformationVector** inputVector,
135 vtkInformationVector* outputVector);
141 virtual
void ExecuteDataWithInformation(vtkDataObject *output,
142 vtkInformation* outInfo);
149 virtual
void ExecuteData(vtkDataObject *output);
150 virtual
void Execute();
158 virtual
void AllocateOutputData(vtkImageData *out,
159 vtkInformation* outInfo,
161 virtual vtkImageData *AllocateOutputData(vtkDataObject *out,
162 vtkInformation *outInfo);
169 virtual
void CopyAttributeData(vtkImageData *in, vtkImageData *out,
170 vtkInformationVector** inputVector);
178 int FillOutputPortInformation(
int port, vtkInformation* info) VTK_OVERRIDE;
179 int FillInputPortInformation(
int port, vtkInformation* info) VTK_OVERRIDE;
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:54
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:38
void SetInputData(vtkDataObject *)
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE
virtual void AddInputData(vtkDataObject *)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkDataObject * GetInput(int port)
vtkImageData * GetOutput()