vtk in connection with a DB

Robert Stein rstein at ncsa.uiuc.edu
Wed Nov 10 16:08:13 EST 1999


Hi Jan, 

	We have spent some time integrating VTK with a postgres database for doing
some event visualization, and had some pretty good results...  We used the
database to actually store the different types of data, and then used SQL
to retrieve an appropriate subset that we then visualized...  Postgres has
a pretty easy C++ api to deal with accessing the data... we have also
written some wrapper classes for this database access that make this even
easier... I would be happy to share these with you if they would be useful...
	It sounds like your problem is that you would like to have a database of
different vtk scripts that you could select on and then download and run a
particular script... is this right?  If so I think you could accomplish
this by storing the vtk scripts in the database as either Tcl or Python
scripts, and then have a C++ app that has an embedded Tcl/Python
interpreter in it...  You could then run the queries on the database and
retrieve a script, and pass it off to the interpreter which would in turn
make all the calls to VTK... We actually have a system like this working
for a different application, were we pass VTKPython scripts to a Python
interpreter embedded inside a C++ server.
	Please feel free to contact me more if any of this would be helpful to you

Sincerely, 

Robert Stein


At 12:52 PM 11/10/99 +0100, Jan Stifter wrote:
>dear vtk users,
>I need a small vtk application, that is able to connect to a database (e.g.
>with sql), download a selected file and visualize this file.
>
>has anybody done something like this before and could give me some hints?
>
>any hints are greatly appreciated
>
>jan
>
>------------------------------------------------------------
>Jan Stifter
>ICQ: 5321722             Email: j.stifter@[no-spam]medres.ch
>Freechess.org: nunc      Registered Linux User No. 130314
>------------------------------------------------------------
>
>
>
>-----------------------------------------------------------------------------
>This is the private VTK discussion list.  Please keep messages on-topic.
>Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at gsao.med.ge.com>.  For help, send message body containing
>"info vtkusers" to the same address.     Live long and prosper.
>-----------------------------------------------------------------------------
>
>
Robert J. Stein
National Center For Supercomputing Applications
405 N. Matthews, Urbana, IL
(217) 244-7584
rstein at ncsa.uiuc.edu


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------




More information about the vtkusers mailing list