[vtkusers] VTK planeWidget using call back or overriden function

Sankhesh Jhaveri sankhesh.jhaveri at kitware.com
Mon Jul 10 11:30:01 EDT 2017


Perhaps, you could take a look at the ImplicitPlaneWidget2
<https://lorensen.github.io/VTKExamples/site/Cxx/Widgets/ImplicitPlaneWidget2/>
example for using a plane to clip a polydata?
​

On Fri, Jul 7, 2017 at 12:13 AM abcd efgh <adarshdesai.dsp at gmail.com> wrote:

> Hi,
>
> I want to use VTK plane to cut the polydata  using mouse. CUrrently I can
> place the plane and cut the polydata using the plane using some keypress.
> Now i want to use the Plane widget and as soon as i stop placing the plane
> near the polydata, the plane should cut it. I have tried with Callback with
> LeftButtonRelease event , and OverRiding the LeftButtonUp methods. But these
> methods are not working correctly. Anyone with a good idea?
>
> Thanks
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-- 
Sankhesh Jhaveri *Sr. Research & Development Engineer* | Kitware
<http://www.kitware.com/> | (518) 881-4417
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170710/ca03de98/attachment.html>


More information about the vtkusers mailing list