41 #ifndef __vtkPBGLGraphSQLReader_h
42 #define __vtkPBGLGraphSQLReader_h
44 #include "vtkInfovisParallelModule.h"
59 vtkSetMacro(Directed,
bool);
60 vtkGetMacro(Directed,
bool);
61 vtkBooleanMacro(Directed,
bool);
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,
111 { this->DistributionUserData[0] = procs;
112 this->DistributionUserData[1] = verts; }
119 {
return this->DistributionUserData; }
static vtkGraphAlgorithm * New()
Superclass for algorithms that produce only graph as output.
maintain a connection to an sql database
a simple class to control print indentation
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)