[vtk-developers] [Paraview-developers] Moving vtkMemberFunctionCommand to VTK

David Gobbi david.gobbi at gmail.com
Wed Oct 6 08:24:44 EDT 2010


On Wed, Oct 6, 2010 at 6:01 AM, David Doria <daviddoria at gmail.com> wrote:
>
> David G,
>
> Are you suggesting this in place of what Utkarsh pushed? Utkarsh, can
> you take a look and let David G know if he should push it? I think it
> is a good idea to allow event handling from as many places as possible
> (i.e. I support NOT requiring the class to derive from vtkObjectBase).

I'm just putting it out for discussion.  It does come with some danger,
for example you should not use it instead of vtkEventQtSlotConnect,
because Qt's signal/slot mechanism is safe, and this is not.  It's only
safe when the listener is a vtkObjectBase class.

  David



More information about the vtk-developers mailing list