00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00041 #ifndef __vtkMergeTables_h
00042 #define __vtkMergeTables_h
00043
00044 #include "vtkTableAlgorithm.h"
00045
00046 class VTK_INFOVIS_EXPORT vtkMergeTables : public vtkTableAlgorithm
00047 {
00048 public:
00049 static vtkMergeTables* New();
00050 vtkTypeRevisionMacro(vtkMergeTables,vtkTableAlgorithm);
00051 void PrintSelf(ostream& os, vtkIndent indent);
00052
00054
00056 vtkSetStringMacro(FirstTablePrefix);
00057 vtkGetStringMacro(FirstTablePrefix);
00059
00061
00063 vtkSetStringMacro(SecondTablePrefix);
00064 vtkGetStringMacro(SecondTablePrefix);
00066
00068
00071 vtkSetMacro(MergeColumnsByName, bool);
00072 vtkGetMacro(MergeColumnsByName, bool);
00073 vtkBooleanMacro(MergeColumnsByName, bool);
00075
00077
00080 vtkSetMacro(PrefixAllButMerged, bool);
00081 vtkGetMacro(PrefixAllButMerged, bool);
00082 vtkBooleanMacro(PrefixAllButMerged, bool);
00084
00085 protected:
00086 vtkMergeTables();
00087 ~vtkMergeTables();
00088
00089 bool MergeColumnsByName;
00090 bool PrefixAllButMerged;
00091 char* FirstTablePrefix;
00092 char* SecondTablePrefix;
00093
00094 int RequestData(
00095 vtkInformation*,
00096 vtkInformationVector**,
00097 vtkInformationVector*);
00098
00099 private:
00100 vtkMergeTables(const vtkMergeTables&);
00101 void operator=(const vtkMergeTables&);
00102 };
00103
00104 #endif
00105