41 #ifndef __vtkPBGLGraphSQLReader_h
42 #define __vtkPBGLGraphSQLReader_h
44 #include "vtkInfovisParallelModule.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];
137 vtkInformationVector**,
138 vtkInformationVector*);
142 vtkInformationVector**,
143 vtkInformationVector*);
static vtkGraphAlgorithm * New()
Superclass for algorithms that produce only graph as output.
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkIdType * GetDistributionUserData()
vtkSQLDatabase * Database
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
read a vtkGraph from a database
void SetDistributionUserData(int procs, vtkIdType verts)