[vtk-developers] vtkGenericRenderWindowInteractor

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Mon Apr 15 05:19:04 EDT 2002


hi,

I'm replying to this from the archives so the threading might be
messed up.  Somehow I lost your original reply.

>>>> "BH" == Bill Hoffman <bill.hoffman at kitware.com> writes:
    BH> At 11:34 PM 4/12/2002 +0530, Prabhu Ramachandran wrote:

    >> I just got the the Python-Tkinter widget working
    >> satisfactorily.  I am not going to change the existing classes
[snip]

    BH> Sounds good, glad to here it is working.  I would say that we
    BH> should break backwards compatibility.  It will be better to
    BH> have only one type of interaction supported.  We could
    BH> simulate the old one with a style couldn't we?

I disagree.  The older widgets have certain methods that folks might
use.  I see no harm in having two different implementations of
widgets.  That way if someone would like a customized widget they
could learn how to do it by looking at the older widgets.  Also by
breaking backwards compatibility we make it very hard for people who
use specific features of the old widgets that have no sensible
equivalents in the newer widgets.  I think backwards compatibility is
important and see no reason to break it for the Python widgets.
David, what do you think?

Anyway, I have working widgets (its a first cut and might not be
perfect) for Tkinter, wxPython and pyGTK.  I'll wait for comments on
the bacwards compatibility today and then commit the widgets later
today.

    >> (2) The vtkXRenderWindowInteractor require the use of an
    >> Initialize and Start call.  However this is not necessary with
    >> the vtkGenericRenderWindowInteractor.  Also, SetEnabled has no

[snip]

    BH> That is a bug, I will fix it.  I guess I should also add an
    BH> Initialize event that can be used to initialize the
    BH> vtkGenericRenderWindowInteractor.

Thanks.  It works now.

    >> p.s. Sorry about replying to the vtkusers list the last time
    >> round.

    BH> I think I was the one that started that thread....

Yes, you started it on the vtk-developers list and I sent my reply to
the vtkusers list.

prabhu



More information about the vtk-developers mailing list