44 #ifndef vtkPBGLGraphSQLReader_h
45 #define vtkPBGLGraphSQLReader_h
47 #include "vtkInfovisParallelModule.h"
52 #if !defined(VTK_LEGACY_REMOVE)
65 vtkGetMacro(Directed,
bool);
81 vtkSetStringMacro(VertexTable);
89 vtkSetStringMacro(EdgeTable);
97 vtkSetStringMacro(SourceField);
105 vtkSetStringMacro(TargetField);
113 vtkSetStringMacro(VertexIdField);
127 { this->DistributionUserData[0] = procs;
128 this->DistributionUserData[1] = verts; }
135 {
return this->DistributionUserData; }
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
read a vtkGraph from a database
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkPBGLGraphSQLReader * New()
static void GetRange(int rank, int total, vtkIdType size, vtkIdType &offset, vtkIdType &limit)
Get the offset/limit for this process's vertices/edges.
virtual void SetDatabase(vtkSQLDatabase *db)
The database to connect to.
void SetDistributionUserData(int procs, vtkIdType verts)
Set the distribution user data.
vtkSQLDatabase * Database
vtkIdType * GetDistributionUserData()
Get the user data (# procs, # vertices) used to determine the distribution.
maintain a connection to an sql database
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.