43 #ifndef vtkPBGLGraphSQLReader_h
44 #define vtkPBGLGraphSQLReader_h
46 #include "vtkInfovisParallelModule.h"
51 #if !defined(VTK_LEGACY_REMOVE)
62 vtkSetMacro(Directed,
bool);
63 vtkGetMacro(Directed,
bool);
64 vtkBooleanMacro(Directed,
bool);
75 vtkSetStringMacro(VertexTable);
76 vtkGetStringMacro(VertexTable);
81 vtkSetStringMacro(EdgeTable);
82 vtkGetStringMacro(EdgeTable);
88 vtkSetStringMacro(SourceField);
89 vtkGetStringMacro(SourceField);
95 vtkSetStringMacro(TargetField);
96 vtkGetStringMacro(TargetField);
101 vtkSetStringMacro(VertexIdField);
102 vtkGetStringMacro(VertexIdField);
107 static void GetRange(
int rank,
int total,
114 { this->DistributionUserData[0] = procs;
115 this->DistributionUserData[1] = verts; }
122 {
return this->DistributionUserData; }
153 #endif //VTK_LEGACY_REMOVE
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)