[vtkusers] Disabling middle mouse button for vtkImageTracerWidget
Dean Inglis
dean.inglis at camris.ca
Tue Nov 23 10:41:02 EST 2010
Hi David,
sorry, Im not registered. I havent had time to learn a lot of git. I dont
actually
like it as I find it difficult to review changes and the change history of
files.. it made more sense the way things were with cvs and consecutive
revision #s as opposed to these cryptic revision codes, like:
Revision: 1ceaebd61ed61442373171a9b3da55d8e39eaad6
plus, there seems to be no "diff to previous" to review changes
between consecutive commits but there is a "diff to current" .
Oh well, such is progress, so, I might as well jump in. How do
I go about registering?
Dean
----- Original Message -----
From: "David Doria" <daviddoria at gmail.com>
To: "Dean Inglis" <dean.inglis at camris.ca>
Cc: "vtkusers archive" <vtkusers at vtk.org>
Sent: Tuesday, November 23, 2010 10:20 AM
Subject: Re: [vtkusers] Disabling middle mouse button for
vtkImageTracerWidget
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