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