info-inventor
[Top] [All Lists]

Re: Inventor and Fortran

To: Matthias Möller <moeller.matthias@xxxxxx>
Subject: Re: Inventor and Fortran
From: J.Jansson@xxxxxxxxxxxxx (jansson)
Date: Tue, 03 Apr 2001 11:53:30 +0200
Cc: info-inventor@xxxxxxxxxxx
References: <3AC9786F.C7679601@gmx.de>
Sender: owner-inventor@xxxxxxxxxxx
Matthias Möller wrote:
> 
> Hi,
> 
> I am very new to OpenInventor, therefore this may be a stupid question.
> I do numerical simulation with fortran. I have heard about OpenInventor
> I would like to know, if someone knows about a "wrapper" for fortran.
> This means, can I use this (I think from my first look) powerful library
> to do visualization out of my code?
> 
> I would be very thankful for any help on this problem.
> 
> Thanks in advance
> Matthias Möller

I don't know of any such bindings, but I have very little experience
with Fortran. Isn't it easier to go the other way around though?
Translation from Fortran to C seems to be automatic
(http://www.netlib.org/f2c/), and then you could write the visualization
and Inventor interfaceing code in C/C++. I think f2c is included in most
Linux distributions, and I don't think there is any significant
performance reduction, see lapack++ (http://math.nist.gov/lapack++/) for
some discussion on that (it's based on f2c'ed versions of lapack and
blas).

Hope this helps,
  Johan

<Prev in Thread] Current Thread [Next in Thread>