[vtkusers] closed contours with vtkCountourWidget
Yumin Yuan
yumin.yuan at kitware.com
Thu Jan 24 12:17:43 EST 2013
http://www.vtk.org/Bug/view_all_bug_page.php
On Thu, Jan 24, 2013 at 10:37 AM, José M. Rodriguez Bacallao
<jmrbcu at gmail.com> wrote:
> where can I fill the bug ?
>
>
> On Thu, Jan 24, 2013 at 10:10 AM, Yumin Yuan <yumin.yuan at kitware.com> wrote:
>>
>> Good to know you figure out a solution, but it should not seg fault in
>> the first place. Could you file a bug report with detailed steps to
>> reproduce the crash?
>>
>> Thanks,
>> Yumin
>>
>> On Thu, Jan 24, 2013 at 9:41 AM, José M. Rodriguez Bacallao
>> <jmrbcu at gmail.com> wrote:
>> > that doesn't work, in fact that was the first thing I did and I was
>> > getting
>> > a segmentation fault, but I found a solution:
>> >
>> > 1- add an observer to EndInteractionEvent and set the ClosedLoop to True
>> > when this event is fired
>> > w.AddObserver('EndInteractionEvent', lambda o, e:
>> > w.GetContourRepresentation().SetClosedLoop(1))
>> >
>> >
>> > On Thu, Jan 24, 2013 at 9:31 AM, Yumin Yuan <yumin.yuan at kitware.com>
>> > wrote:
>> >>
>> >> try this:
>> >> contourWidget->GetContourRepresentation()->ClosedLoopOn();
>> >>
>> >> Yumin
>> >>
>> >> On Thu, Jan 24, 2013 at 8:46 AM, José M. Rodriguez Bacallao
>> >> <jmrbcu at gmail.com> wrote:
>> >> > hi hols, how do I force the making closed contours with
>> >> > vtkCountourWidget?
>> >> >
>> >> > _______________________________________________
>> >> > 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
>> >> >
>> >
>> >
>
>
More information about the vtkusers
mailing list