vtkPolyDataAlgorithm.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00049 #ifndef __vtkPolyDataAlgorithm_h
00050 #define __vtkPolyDataAlgorithm_h
00051
00052 #include "vtkAlgorithm.h"
00053
00054 class vtkPolyData;
00055
00056 class VTK_FILTERING_EXPORT vtkPolyDataAlgorithm : public vtkAlgorithm
00057 {
00058 public:
00059 static vtkPolyDataAlgorithm *New();
00060 vtkTypeRevisionMacro(vtkPolyDataAlgorithm,vtkAlgorithm);
00061 void PrintSelf(ostream& os, vtkIndent indent);
00062
00064
00065 vtkPolyData* GetOutput();
00066 vtkPolyData* GetOutput(int);
00068
00070
00071 virtual int ProcessRequest(vtkInformation*,
00072 vtkInformationVector*,
00073 vtkInformationVector*);
00075
00076
00077
00078 vtkDataObject *GetInput(int port);
00079 vtkPolyData *GetPolyDataInput(int port);
00080
00082
00083 void SetInput(vtkDataObject *);
00084 void SetInput(int, vtkDataObject*);
00086
00088
00089 void AddInput(vtkDataObject *);
00090 void AddInput(int, vtkDataObject*);
00092
00093 protected:
00094 vtkPolyDataAlgorithm();
00095 ~vtkPolyDataAlgorithm();
00096
00097
00098 virtual void ExecuteInformation(vtkInformation *request,
00099 vtkInformationVector *inputVector,
00100 vtkInformationVector *outputVector);
00101
00102
00103
00104 virtual void RequestData(vtkInformation *request,
00105 vtkInformationVector *inputVector,
00106 vtkInformationVector *outputVector);
00107
00112 int UpdateExtentIsEmpty(vtkDataObject *output);
00113
00115
00116 virtual void ExecuteData(vtkDataObject *output);
00117 virtual void Execute();
00119
00120
00121 virtual int FillOutputPortInformation(int port, vtkInformation* info);
00122 virtual int FillInputPortInformation(int port, vtkInformation* info);
00123
00124 private:
00125 vtkPolyDataAlgorithm(const vtkPolyDataAlgorithm&);
00126 void operator=(const vtkPolyDataAlgorithm&);
00127 };
00128
00129 #endif