vtkImageAlgorithm.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00040 #ifndef __vtkImageAlgorithm_h
00041 #define __vtkImageAlgorithm_h
00042
00043 #include "vtkAlgorithm.h"
00044
00045 class vtkImageData;
00046
00047 class VTK_FILTERING_EXPORT vtkImageAlgorithm : public vtkAlgorithm
00048 {
00049 public:
00050 vtkTypeRevisionMacro(vtkImageAlgorithm,vtkAlgorithm);
00051 void PrintSelf(ostream& os, vtkIndent indent);
00052
00054
00055 vtkImageData* GetOutput();
00056 vtkImageData* GetOutput(int);
00058
00060
00061 virtual int ProcessRequest(vtkInformation*,
00062 vtkInformationVector*,
00063 vtkInformationVector*);
00065
00067
00068 void SetInput(vtkDataObject *);
00069 void SetInput(int, vtkDataObject*);
00071
00073
00074 void AddInput(vtkDataObject *);
00075 void AddInput(int, vtkDataObject*);
00077
00078 protected:
00079 vtkImageAlgorithm();
00080 ~vtkImageAlgorithm();
00081
00082
00083 virtual void ExecuteInformation(vtkInformation *request,
00084 vtkInformationVector *inputVector,
00085 vtkInformationVector *outputVector);
00086 virtual void RequestUpdateExtent(vtkInformation *,
00087 vtkInformationVector *,
00088 vtkInformationVector *);
00089
00090
00091
00092 virtual void RequestData(vtkInformation *request,
00093 vtkInformationVector *inputVector,
00094 vtkInformationVector *outputVector);
00095
00097
00098 virtual void ExecuteData(vtkDataObject *output);
00099 virtual void Execute();
00101
00102
00103 virtual void AllocateOutputData(vtkImageData *out,
00104 int *uExtent);
00105 virtual vtkImageData *AllocateOutputData(vtkDataObject *out);
00106
00107
00108 virtual void CopyAttributeData(vtkImageData *in, vtkImageData *out);
00109
00110
00111 virtual int FillOutputPortInformation(int port, vtkInformation* info);
00112 virtual int FillInputPortInformation(int port, vtkInformation* info);
00113
00114 char *InputScalarsSelection;
00115 vtkSetStringMacro(InputScalarsSelection);
00116
00117 private:
00118 vtkImageAlgorithm(const vtkImageAlgorithm&);
00119 void operator=(const vtkImageAlgorithm&);
00120 };
00121
00122 #endif
00123
00124
00125
00126
00127
00128
00129