[vtkusers] vtkButtonSource、vtkRectangularButtonSource 、vtkEllipticalButtonSource

mirko heuegger mheuegger at gmail.com
Thu Jul 4 07:01:04 EDT 2013


Hello!

You heave to get the RenderWindowInteractor from the currently used
RenderWindowControl.

I posted here a while ago a C# example (subject: '[vtkusers] Change default
mouse buttons') <http://markmail.org/message/loemzhq2pbldhptg> how to do
that.


hth

mirko


On Thu, Jul 4, 2013 at 11:36 AM, louiskoo <419655660 at qq.com> wrote:

> Yes,you are right.I am using C# and ActiViz.NET .
> I have change it as follows.
>
> button.LeftButtonPressEvt += new
> vtkRenderWindowInteractor.vtkObjectEventHandler(button_LeftButtonPressEvt);
>
> But it doesn't work either.
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkButtonSource-vtkRectangularButtonSource-vtkEllipticalButtonSource-tp5721752p5721758.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Real programmers don't document; if it was
hard to write, it should be hard to understand.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130704/087fed7a/attachment.htm>


More information about the vtkusers mailing list