00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00036 #ifndef __vtkAnnotationLayersAlgorithm_h
00037 #define __vtkAnnotationLayersAlgorithm_h
00038
00039 #include "vtkAlgorithm.h"
00040 #include "vtkAnnotationLayers.h"
00041
00042 class vtkDataSet;
00043
00044 class VTK_FILTERING_EXPORT vtkAnnotationLayersAlgorithm : public vtkAlgorithm
00045 {
00046 public:
00047 static vtkAnnotationLayersAlgorithm *New();
00048 vtkTypeMacro(vtkAnnotationLayersAlgorithm,vtkAlgorithm);
00049 void PrintSelf(ostream& os, vtkIndent indent);
00050
00052
00053 virtual int ProcessRequest(vtkInformation*,
00054 vtkInformationVector**,
00055 vtkInformationVector*);
00057
00059
00060 vtkAnnotationLayers* GetOutput() { return this->GetOutput(0); }
00061 vtkAnnotationLayers* GetOutput(int index);
00063
00065
00072 void SetInput(vtkDataObject * obj) { this->SetInput(0, obj); }
00073 void SetInput(int index, vtkDataObject* obj);
00075
00076 protected:
00077 vtkAnnotationLayersAlgorithm();
00078 ~vtkAnnotationLayersAlgorithm();
00079
00080
00081 virtual int RequestInformation(vtkInformation* request,
00082 vtkInformationVector** inputVector,
00083 vtkInformationVector* outputVector);
00084
00086
00088 virtual int RequestData(vtkInformation* request,
00089 vtkInformationVector** inputVector,
00090 vtkInformationVector* outputVector);
00092
00094
00096 virtual int RequestUpdateExtent(vtkInformation*,
00097 vtkInformationVector**,
00098 vtkInformationVector*);
00100
00101
00102 virtual int FillOutputPortInformation(int port, vtkInformation* info);
00103 virtual int FillInputPortInformation(int port, vtkInformation* info);
00104
00105 private:
00106 vtkAnnotationLayersAlgorithm(const vtkAnnotationLayersAlgorithm&);
00107 void operator=(const vtkAnnotationLayersAlgorithm&);
00108 };
00109
00110 #endif