[vtk-developers] proposition: disabling interaction in vtk3DW idgets, API addition
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Mon Sep 23 21:44:36 EDT 2002
>>>>> "CPB" == Charl P Botha <c.p.botha at its.tudelft.nl> writes:
>> Should the widget's method have the same name as the
>> interactor? In other words, should the widget method just be
>> called Enable()/Disable()?
CPB> Rather not, as Enable()/Disable() do something different for
CPB> vtk3DWidgets, i.e. totally activate/de-activate them, where
CPB> the new methods only Enable/Disable interaction.
I agree with Charl here but one additional point. The Enable/Disable()
methods seem to have names that are not proper VTK method names.
Something like EnabledOn, EnabledOff would be more consistent plus
tools like vtkPipeline would handle this nicely. :)
cheers,
prabhu
More information about the vtk-developers
mailing list