[vtk-developers] 2D vs 3D rubber band interactor style
David Doria
daviddoria+vtk at gmail.com
Tue Feb 2 18:26:05 EST 2010
It looks like the only difference between vtkInteractorStyleRubberBand2D
and vtkInteractorStyleRubberBand3D is that the right mouse button rotates
instead of zooms in the 3D version. There seems to be a massive code
duplication here.
Couldn't one of them just derive from the other and override that little
part?
Am I missing a bigger difference?
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100202/3b3ad7aa/attachment.html>
More information about the vtk-developers
mailing list