[vtkusers] How can I visualize the data with "VTK" by calling a subroutines or something else directly in my fortran code ?
wangjc
wangjc at nsl.phys.ncku.edu.tw
Mon Jun 28 10:47:42 EDT 2004
Dear all
At first, i am very appreciate for your concern and reply.
I browsed the VTK homepage and very amazing, but i still have a question.
My code is develope in FORTRAN and the data visualization is the next step.
How can i combine my FORTRAN code and the such powerful tool "VTK" together?
I mean, I am going to visualize the data with "VTK" by calling a subroutines
or something else directly in my fortran
code, but i know that "VTK" can't be called (or used) directly by FORTRAN
code, and C (or C++) can call "VTK" directly.
Can i call a subroutine(written in C or C++ ) in my FORTRAN code, and that
C(C++) subroutine can call the VTK ?
In this way, all I have to do is to call a subroutine, and VTK can work for
me.
_________________ _________
| FORTRAN CODE |_-_-_call-_-_-_> subroutine _-_-_call-_-_-_> | VTK |
|________________| (written in C or C++) |_______|
Thanks for your reply.
Jun-Chieh Wang
Laboratory for Numerical Simulation
Department of Physics
National Cheng Kung University
Tainan 701, Taiwan
Tel: 886-6-275-7575 ext.65252...19
Fax: 886-6-208-0472
Email: wangjc at nsl.phys.ncku.edu.tw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040628/948cd1be/attachment.htm>
More information about the vtkusers
mailing list