00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00031 #ifndef __vtkDataObjectToTable_h
00032 #define __vtkDataObjectToTable_h
00033
00034 #include "vtkTableAlgorithm.h"
00035
00036 class VTK_INFOVIS_EXPORT vtkDataObjectToTable : public vtkTableAlgorithm
00037 {
00038 public:
00039 static vtkDataObjectToTable* New();
00040 vtkTypeRevisionMacro(vtkDataObjectToTable,vtkTableAlgorithm);
00041 void PrintSelf(ostream& os, vtkIndent indent);
00042
00043
00044 enum
00045 {
00046 FIELD_DATA = 0,
00047 POINT_DATA = 1,
00048 CELL_DATA = 2,
00049 VERTEX_DATA = 3,
00050 EDGE_DATA = 4,
00051 };
00052
00053
00055
00057 vtkGetMacro(FieldType, int);
00058 vtkSetClampMacro(FieldType, int, 0, 4);
00060
00061 protected:
00062 vtkDataObjectToTable();
00063 ~vtkDataObjectToTable();
00064
00065 int FillInputPortInformation(int port, vtkInformation* info);
00066
00067 int RequestData(
00068 vtkInformation*,
00069 vtkInformationVector**,
00070 vtkInformationVector*);
00071
00072 int FieldType;
00073
00074 private:
00075 vtkDataObjectToTable(const vtkDataObjectToTable&);
00076 void operator=(const vtkDataObjectToTable&);
00077 };
00078
00079 #endif
00080