VTK
|
Generates a vtkTable based on an SQL query. More...
#include <vtkSQLDatabaseTableSource.h>
Generates a vtkTable based on an SQL query.
This class combines vtkSQLDatabase, vtkSQLQuery, and vtkQueryToTable to provide a convenience class for generating tables from databases. Also this class can be easily wrapped and used within ParaView / OverView.
Definition at line 44 of file vtkSQLDatabaseTableSource.h.
Reimplemented from vtkTableAlgorithm.
Definition at line 48 of file vtkSQLDatabaseTableSource.h.
vtkSQLDatabaseTableSource::vtkSQLDatabaseTableSource | ( | ) | [protected] |
vtkSQLDatabaseTableSource::~vtkSQLDatabaseTableSource | ( | ) | [protected] |
static vtkSQLDatabaseTableSource* vtkSQLDatabaseTableSource::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkTableAlgorithm.
static int vtkSQLDatabaseTableSource::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkTableAlgorithm.
virtual int vtkSQLDatabaseTableSource::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkTableAlgorithm.
static vtkSQLDatabaseTableSource* vtkSQLDatabaseTableSource::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkTableAlgorithm.
virtual vtkObjectBase* vtkSQLDatabaseTableSource::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkTableAlgorithm.
Reimplemented from vtkTableAlgorithm.
void vtkSQLDatabaseTableSource::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 vtkTableAlgorithm.
void vtkSQLDatabaseTableSource::SetURL | ( | const vtkStdString & | url | ) |
void vtkSQLDatabaseTableSource::SetPassword | ( | const vtkStdString & | password | ) |
void vtkSQLDatabaseTableSource::SetQuery | ( | const vtkStdString & | query | ) |
virtual void vtkSQLDatabaseTableSource::SetPedigreeIdArrayName | ( | const char * | ) | [virtual] |
The name of the array for generating or assigning pedigree ids (default "id").
virtual char* vtkSQLDatabaseTableSource::GetPedigreeIdArrayName | ( | ) | [virtual] |
The name of the array for generating or assigning pedigree ids (default "id").
virtual void vtkSQLDatabaseTableSource::SetGeneratePedigreeIds | ( | bool | ) | [virtual] |
If on (default), generates pedigree ids automatically. If off, assign one of the arrays to be the pedigree id.
virtual bool vtkSQLDatabaseTableSource::GetGeneratePedigreeIds | ( | ) | [virtual] |
If on (default), generates pedigree ids automatically. If off, assign one of the arrays to be the pedigree id.
virtual void vtkSQLDatabaseTableSource::GeneratePedigreeIdsOn | ( | ) | [virtual] |
If on (default), generates pedigree ids automatically. If off, assign one of the arrays to be the pedigree id.
virtual void vtkSQLDatabaseTableSource::GeneratePedigreeIdsOff | ( | ) | [virtual] |
If on (default), generates pedigree ids automatically. If off, assign one of the arrays to be the pedigree id.
int vtkSQLDatabaseTableSource::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkTableAlgorithm.