#include <vtkSQLDatabaseGraphSource.h>
This class combines vtkSQLDatabase, vtkSQLQuery, and vtkQueryToGraph to provide a convenience class for generating graphs from databases. Also this class can be easily wrapped and used within ParaView / OverView.
Definition at line 37 of file vtkSQLDatabaseGraphSource.h.
vtkSQLDatabaseGraphSource::vtkSQLDatabaseGraphSource | ( | ) | [protected] |
vtkSQLDatabaseGraphSource::~vtkSQLDatabaseGraphSource | ( | ) | [protected] |
static vtkSQLDatabaseGraphSource* vtkSQLDatabaseGraphSource::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkGraphAlgorithm.
virtual const char* vtkSQLDatabaseGraphSource::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkGraphAlgorithm.
static int vtkSQLDatabaseGraphSource::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkGraphAlgorithm.
virtual int vtkSQLDatabaseGraphSource::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkGraphAlgorithm.
static vtkSQLDatabaseGraphSource* vtkSQLDatabaseGraphSource::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkGraphAlgorithm.
void vtkSQLDatabaseGraphSource::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkGraphAlgorithm.
vtkStdString vtkSQLDatabaseGraphSource::GetURL | ( | ) |
void vtkSQLDatabaseGraphSource::SetURL | ( | const vtkStdString & | url | ) |
void vtkSQLDatabaseGraphSource::SetPassword | ( | const vtkStdString & | password | ) |
vtkStdString vtkSQLDatabaseGraphSource::GetEdgeQuery | ( | ) |
void vtkSQLDatabaseGraphSource::SetEdgeQuery | ( | const vtkStdString & | query | ) |
vtkStdString vtkSQLDatabaseGraphSource::GetVertexQuery | ( | ) |
void vtkSQLDatabaseGraphSource::SetVertexQuery | ( | const vtkStdString & | query | ) |
void vtkSQLDatabaseGraphSource::AddLinkVertex | ( | const char * | column, | |
const char * | domain = 0 , |
|||
int | hidden = 0 | |||
) |
void vtkSQLDatabaseGraphSource::ClearLinkVertices | ( | ) |
void vtkSQLDatabaseGraphSource::AddLinkEdge | ( | const char * | column1, | |
const char * | column2 | |||
) |
void vtkSQLDatabaseGraphSource::ClearLinkEdges | ( | ) |
virtual bool vtkSQLDatabaseGraphSource::GetGenerateEdgePedigreeIds | ( | ) | [virtual] |
If on (default), generate edge pedigree ids. If off, assign an array to be edge pedigree ids.
virtual void vtkSQLDatabaseGraphSource::SetGenerateEdgePedigreeIds | ( | bool | ) | [virtual] |
If on (default), generate edge pedigree ids. If off, assign an array to be edge pedigree ids.
virtual void vtkSQLDatabaseGraphSource::GenerateEdgePedigreeIdsOn | ( | ) | [virtual] |
If on (default), generate edge pedigree ids. If off, assign an array to be edge pedigree ids.
virtual void vtkSQLDatabaseGraphSource::GenerateEdgePedigreeIdsOff | ( | ) | [virtual] |
If on (default), generate edge pedigree ids. If off, assign an array to be edge pedigree ids.
virtual void vtkSQLDatabaseGraphSource::SetEdgePedigreeIdArrayName | ( | const char * | ) | [virtual] |
Use this array name for setting or generating edge pedigree ids.
virtual char* vtkSQLDatabaseGraphSource::GetEdgePedigreeIdArrayName | ( | ) | [virtual] |
Use this array name for setting or generating edge pedigree ids.
virtual void vtkSQLDatabaseGraphSource::SetDirected | ( | bool | ) | [virtual] |
If on (default), generate a directed output graph. If off, generate an undirected output graph.
virtual bool vtkSQLDatabaseGraphSource::GetDirected | ( | ) | [virtual] |
If on (default), generate a directed output graph. If off, generate an undirected output graph.
virtual void vtkSQLDatabaseGraphSource::DirectedOn | ( | ) | [virtual] |
If on (default), generate a directed output graph. If off, generate an undirected output graph.
virtual void vtkSQLDatabaseGraphSource::DirectedOff | ( | ) | [virtual] |
If on (default), generate a directed output graph. If off, generate an undirected output graph.
int vtkSQLDatabaseGraphSource::RequestDataObject | ( | vtkInformation * | , | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
By default, creates the same output type as the input type.
Reimplemented from vtkGraphAlgorithm.
int vtkSQLDatabaseGraphSource::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkGraphAlgorithm.
bool vtkSQLDatabaseGraphSource::GenerateEdgePedigreeIds [protected] |
Definition at line 96 of file vtkSQLDatabaseGraphSource.h.
char* vtkSQLDatabaseGraphSource::EdgePedigreeIdArrayName [protected] |
Definition at line 97 of file vtkSQLDatabaseGraphSource.h.