Go to the documentation of this file.
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; }
165 #endif //VTK_LEGACY_REMOVE
static vtkPBGLGraphSQLReader * New()
Superclass for algorithms that produce only graph as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual void SetDatabase(vtkSQLDatabase *db)
The database to connect to.
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static void GetRange(int rank, int total, vtkIdType size, vtkIdType &offset, vtkIdType &limit)
Get the offset/limit for this process's vertices/edges.
vtkSQLDatabase * Database
a simple class to control print indentation
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void SetDistributionUserData(int procs, vtkIdType verts)
Set the distribution user data.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkIdType * GetDistributionUserData()
Get the user data (# procs, # vertices) used to determine the distribution.
read a vtkGraph from a database
maintain a connection to an sql database