VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkSQLDatabaseTableSource.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSQLDatabaseTableSource.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
35
#ifndef __vtkSQLDatabaseTableSource_h
36
#define __vtkSQLDatabaseTableSource_h
37
38
#include "
vtkStdString.h
"
39
#include "
vtkTableAlgorithm.h
"
40
41
class
vtkEventForwarderCommand
;
42
43
class
VTK_INFOVIS_EXPORT
vtkSQLDatabaseTableSource
:
public
vtkTableAlgorithm
44
{
45
public
:
46
static
vtkSQLDatabaseTableSource
*
New
();
47
vtkTypeMacro(
vtkSQLDatabaseTableSource
,
vtkTableAlgorithm
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
50
vtkStdString
GetURL();
51
void
SetURL(
const
vtkStdString
&
url
);
52
53
void
SetPassword(
const
vtkStdString
& password);
54
55
vtkStdString
GetQuery();
56
void
SetQuery(
const
vtkStdString
& query);
57
59
61
vtkSetStringMacro(PedigreeIdArrayName);
62
vtkGetStringMacro(PedigreeIdArrayName);
64
66
68
vtkSetMacro(GeneratePedigreeIds,
bool
);
69
vtkGetMacro(GeneratePedigreeIds,
bool
);
70
vtkBooleanMacro(GeneratePedigreeIds,
bool
);
72
73
protected
:
74
vtkSQLDatabaseTableSource
();
75
~
vtkSQLDatabaseTableSource
();
76
77
int
RequestData
(
78
vtkInformation
*,
79
vtkInformationVector
**,
80
vtkInformationVector
*);
81
82
private
:
83
vtkSQLDatabaseTableSource
(
const
vtkSQLDatabaseTableSource
&);
// Not implemented
84
void
operator=(
const
vtkSQLDatabaseTableSource
&);
// Not implemented
85
86
char
* PedigreeIdArrayName;
87
bool
GeneratePedigreeIds;
88
91
vtkEventForwarderCommand
*EventForwarder;
92
93
//BTX
94
class
implementation;
95
implementation*
const
Implementation;
96
//ETX
97
};
98
99
#endif
100
Generated on Wed May 30 2012 13:22:16 for VTK by
1.8.1