[vtkusers] Disabling middle mouse button for vtkImageTracerWidget
David Doria
daviddoria at gmail.com
Tue Nov 23 10:20:18 EST 2010
On Tue, Nov 23, 2010 at 9:29 AM, Dean Inglis <dean.inglis at camris.ca> wrote:
> doh! Im an idiot. You cant override non-virtual methods! You would
> have to make the original methods in vtkImageTracerWidget virtual to
> override in
> your subclass. What should really be done is to modify vtkImageTracerWidget
> to disable certain types of interaction, perhaps the easiest would be with
> bool ivars like MiddleMouseAction, rather than forcing users to subclass.
>
> Dean
Good plan, worked like a charm. I pushed a patch to Gerrit, but it
seems you are not registered. Would you care to review this patch?
David
More information about the vtkusers
mailing list