00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00062 #ifndef __vtkPassArrays_h
00063 #define __vtkPassArrays_h
00064
00065 #include "vtkDataObjectAlgorithm.h"
00066
00067 class VTK_INFOVIS_EXPORT vtkPassArrays : public vtkDataObjectAlgorithm
00068 {
00069 public:
00070 static vtkPassArrays* New();
00071 vtkTypeMacro(vtkPassArrays,vtkDataObjectAlgorithm);
00072 void PrintSelf(ostream& os, vtkIndent indent);
00073
00077 virtual void AddArray(int fieldType, const char* name);
00078
00080 virtual void ClearArrays();
00081
00083
00085 vtkSetMacro(RemoveArrays, bool);
00086 vtkGetMacro(RemoveArrays, bool);
00087 vtkBooleanMacro(RemoveArrays, bool);
00089
00091
00094 vtkSetMacro(UseFieldTypes, bool);
00095 vtkGetMacro(UseFieldTypes, bool);
00096 vtkBooleanMacro(UseFieldTypes, bool);
00098
00103 virtual void AddFieldType(int fieldType);
00104
00106 virtual void ClearFieldTypes();
00107
00109
00110 virtual int ProcessRequest(vtkInformation* request,
00111 vtkInformationVector** inputVector,
00112 vtkInformationVector* outputVector);
00114
00115 protected:
00116 vtkPassArrays();
00117 ~vtkPassArrays();
00118
00120
00121 virtual int RequestDataObject(vtkInformation* request,
00122 vtkInformationVector** inputVector,
00123 vtkInformationVector* outputVector);
00125
00126 int RequestData(
00127 vtkInformation*,
00128 vtkInformationVector**,
00129 vtkInformationVector*);
00130
00131 bool RemoveArrays;
00132 bool UseFieldTypes;
00133
00134
00135 class Internals;
00136 Internals* Implementation;
00137
00138
00139 private:
00140 vtkPassArrays(const vtkPassArrays&);
00141 void operator=(const vtkPassArrays&);
00142 };
00143
00144 #endif
00145