41 #ifndef __vtkPBGLGraphSQLReader_h
42 #define __vtkPBGLGraphSQLReader_h
44 #include "vtkInfovisParallelModule.h"
45 #include "vtkGraphAlgorithm.h"
54 void PrintSelf(ostream& os, vtkIndent indent);
59 vtkSetMacro(Directed,
bool);
60 vtkGetMacro(Directed,
bool);
61 vtkBooleanMacro(Directed,
bool);
66 virtual void SetDatabase(vtkSQLDatabase* db);
67 vtkGetObjectMacro(Database, vtkSQLDatabase);
72 vtkSetStringMacro(VertexTable);
73 vtkGetStringMacro(VertexTable);
78 vtkSetStringMacro(EdgeTable);
79 vtkGetStringMacro(EdgeTable);
85 vtkSetStringMacro(SourceField);
86 vtkGetStringMacro(SourceField);
92 vtkSetStringMacro(TargetField);
93 vtkGetStringMacro(TargetField);
98 vtkSetStringMacro(VertexIdField);
99 vtkGetStringMacro(VertexIdField);
104 static void GetRange(
int rank,
int total,
105 vtkIdType size, vtkIdType& offset, vtkIdType& limit);
111 { this->DistributionUserData[0] = procs;
112 this->DistributionUserData[1] = verts; }
119 {
return this->DistributionUserData; }
133 vtkIdType DistributionUserData[2];
135 virtual int RequestData(
137 vtkInformationVector**,
138 vtkInformationVector*);
140 virtual int RequestDataObject(
142 vtkInformationVector**,
143 vtkInformationVector*);
vtkIdType * GetDistributionUserData()
vtkSQLDatabase * Database
read a vtkGraph from a database
void SetDistributionUserData(int procs, vtkIdType verts)