[vtkusers] vtkButtonSource、vtkRectangularButtonSource 、vtkEllipticalButtonSource
mirko heuegger
mheuegger at gmail.com
Thu Jul 4 05:23:40 EDT 2013
Hello!
I guess you are using C# and ActiViz.NET, if so, the 'vtkObject' should be
a type of a vtkRenderWindowInteractor, then you example should work.
hth
mirko
On Thu, Jul 4, 2013 at 8:50 AM, louiskoo <419655660 at qq.com> wrote:
> Thanks for your help.
>
> How can I add click event? And below is my code:
> button.LeftButtonPressEvt += new
> vtkObject.vtkObjectEventHandler(button_LeftButtonPressEvt) ;
> However,it dosen't work.
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkButtonSource-vtkRectangularButtonSource-vtkEllipticalButtonSource-tp5721752p5721754.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/0bfb63a0/attachment.htm>
More information about the vtkusers
mailing list