[vtk-developers] proposition: disabling interaction in vtk3DWidgets, API addition
Charl P. Botha
c.p.botha at its.tudelft.nl
Mon Sep 23 16:15:36 EDT 2002
On Mon, Sep 23, 2002 at 03:41:21PM -0400, Dean Inglis wrote:
> I tested the suggested Enable/DisableInteraction but only
> as an API method in vtkImagePlaneWidget: works beautifully.
Cool! Thanks for doing this.
> If I put it in vtk3DWidget, as a pure virtual method,
> all descendant classes must then either implement these methods,
> or be marked as abstract classes themselves (e.g., vtkBoxWidget etc.).
> If there are no objections, I am happy to implement this in all
> non-abstract descendants. Again, any API naming suggestions?
I like {Enable,Disable}Interaction, but to keep with convention and to make
life easier for things like Prabhu's vtkPipeline, something like
SetInteractionEnabled(0 || 1) and InteractionEnabled{On,Off}() might be
better?
--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
More information about the vtk-developers
mailing list