info-inventor-dev
[Top] [All Lists]

Re: Open Inventor with Gtk+

To: "J . A . Magallon" <jamagallon@xxxxxxx>
Subject: Re: Open Inventor with Gtk+
From: "Lars J. Aas" <larsa@xxxxxx>
Date: Mon, 26 Feb 2001 21:31:31 +0100
Cc: Ang Bodhi <angbodhi@xxxxxxxxxxxxxx>, info-inventor-dev@xxxxxxxxxxx
In-reply-to: <20010226203424.A2354@xxxxxxxxxxxxxxxx>; from jamagallon@xxxxxxx on Mon, Feb 26, 2001 at 08:34:24PM +0100
References: <3A989E3A.3A7A8684@xxxxxxxxxxxxxx> <20010226171434.A7708@xxxxxx> <20010226203424.A2354@xxxxxxxxxxxxxxxx>
Sender: owner-info-inventor-dev@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Mon, Feb 26, 2001 at 08:34:24PM +0100, J . A . Magallon wrote:
: On 02.26 Lars J. Aas wrote:
: > I just want to point out that there's also another SoGtk out there (LGPL)
: > at http://www.coin3d.org/.  Install by running "configure --with-inventor"
: > (--with-inventor=<path> in case your Inventor isn't installed in a default
: > place) and then "make install".
: 
: What would be nicer is to have only a common SoGUI interface and choose
: at compile time.
: If people can point me to all the gui implementations that exist now, I
: can try to extract a common interface to all of them.

It's a nice idea (I've thought about it myself), but implementing it will
be a mess (what can you expect - it's C++ :-/).

I'm therefore using kind of the opposite approach for GUI-agnostic
applications - writing "Autoconf-templatized" code with substitution
keywords in the code (I write e.g. @Gui@ instead of Xt/Gtk/Qt).  It's an
extra effort to set up, more cludgy to write, but then I don't have to
worry about using a lowest common denominator interface that doesn't
really fully support inheritance with virtual method overloading like it
ought to do and which is always less advanced than the least developed
supported toolkit, and since there isn't an interface that has to
support the toolkit I don't have to worry about that either.

Anyways, if you still want to try, you have SoQt, SoGtk, SoXt and an
almost functional SoWin at www.coin3d.org.  You have SGI's SoXt (which
TGS probably have worked further on and should be considered a separate
branch), TGS' SoWin, Ang Bodhi's SoGtk, and there is also an SoXt
implementation for another Inventor clone called Scene (but I think it's
safe to consider that project dead now).  There are probably more, and
the family will expand even further in the future...

  Lars J
-- 
Innovation is one percent inspiration and ninetynine percent perspiration,
and in my case; twice that...  -- Norville Barnes, `The Hudsucker Proxy'

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