vtkDataSetToDataObjectFilter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00061 #ifndef __vtkDataSetToDataObjectFilter_h
00062 #define __vtkDataSetToDataObjectFilter_h
00063
00064 #include "vtkDataObjectSource.h"
00065
00066 class vtkDataSet;
00067
00068 class VTK_GRAPHICS_EXPORT vtkDataSetToDataObjectFilter : public vtkDataObjectSource
00069 {
00070 public:
00071 vtkTypeRevisionMacro(vtkDataSetToDataObjectFilter,vtkDataObjectSource);
00072 void PrintSelf(ostream& os, vtkIndent indent);
00073
00075 static vtkDataSetToDataObjectFilter *New();
00076
00078
00079 vtkSetMacro(Geometry,int);
00080 vtkGetMacro(Geometry,int);
00081 vtkBooleanMacro(Geometry,int);
00083
00085
00086 vtkSetMacro(Topology,int);
00087 vtkGetMacro(Topology,int);
00088 vtkBooleanMacro(Topology,int);
00090
00092
00093 vtkSetMacro(FieldData,int);
00094 vtkGetMacro(FieldData,int);
00095 vtkBooleanMacro(FieldData,int);
00097
00099
00100 vtkSetMacro(PointData,int);
00101 vtkGetMacro(PointData,int);
00102 vtkBooleanMacro(PointData,int);
00104
00106
00107 vtkSetMacro(CellData,int);
00108 vtkGetMacro(CellData,int);
00109 vtkBooleanMacro(CellData,int);
00111
00113
00114 virtual void SetInput(vtkDataSet *input);
00115 vtkDataSet *GetInput();
00117
00118 protected:
00119 vtkDataSetToDataObjectFilter();
00120 ~vtkDataSetToDataObjectFilter();
00121
00122 void Execute();
00123 void ComputeInputUpdateExtents(vtkDataObject *output);
00124
00125 virtual int FillInputPortInformation(int, vtkInformation*);
00126
00127 int Geometry;
00128 int Topology;
00129 int PointData;
00130 int CellData;
00131 int FieldData;
00132
00133 private:
00134 vtkDataSetToDataObjectFilter(const vtkDataSetToDataObjectFilter&);
00135 void operator=(const vtkDataSetToDataObjectFilter&);
00136 };
00137
00138 #endif
00139
00140