<div dir="ltr">Thanks very much!<br><br>Could you please have a look at sometime "PointInPolygon" method in vtkPolygon. This method is not available in python. I suspect the reason could be same.<br><br>Thanks again,<br>
<br>Jothy<br><br><div class="gmail_quote">On Wed, May 19, 2010 at 8:11 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Now in the nightlies: GetNextCell(vtkIdList *pts), GetCell(vtkIdType<br>
loc, vtkIdList *pts).<br>
<font color="#888888"><br>
David<br>
</font><div><div></div><div class="h5"><br>
<br>
On Wed, May 19, 2010 at 12:10 PM, Jothy <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>> wrote:<br>
> Thanks very much. Alert us on the list, when do this.<br>
><br>
> Jothy<br>
><br>
> On Wed, May 19, 2010 at 7:08 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
>><br>
>> Hi Jothy,<br>
>><br>
>> The GetNextCell() method's arguments are not wrappable:<br>
>><br>
>> int GetNextCell(vtkIdType& npts, vtkIdType* &pts);<br>
>><br>
>> Since this same problem has bitten me, too, and since there are no<br>
>> easy workarounds, I'll add a wrappable method to the nightly VTK:<br>
>><br>
>> int GetNextCell(vtkIdList *pts);<br>
>><br>
>> This will form a nice symmetry with the InsertNextCell(vtkIdList *pts)<br>
>> method.<br>
>><br>
>> David<br>
>><br>
>><br>
>> On Wed, May 19, 2010 at 11:46 AM, Jothy <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>> wrote:<br>
>> > Could someone convert it to python. I tried, but it throws some error at<br>
>> ><br>
>> > vtkIdType *indices;<br>
>> ><br>
>> > vtkIdType numberOfPoints;<br>
>> > unsigned int lineCount = 0;<br>
>> > for (cells->InitTraversal();<br>
>> ><br>
>> > cells->GetNextCell(numberOfPoints, indices);<br>
>> > lineCount++)<br>
>> ><br>
>> ><br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > Jothy<br>
>> ><br>
>> ><br>
>> ><br>
>> > On Wed, May 19, 2010 at 1:24 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> I've added an example that illustrates one way to place labels on<br>
>> >> isolines generated by vtkContourFilter.<br>
>> >><br>
>> >> <a href="http://vtk.org/Wiki/VTK/Examples/Visualization/LabelContours" target="_blank">http://vtk.org/Wiki/VTK/Examples/Visualization/LabelContours</a><br>
>> >><br>
>> >> Bill<br>
>> >><br>
>> >> On Tue, May 18, 2010 at 9:35 PM, rashedk <<a href="mailto:rashed.vtk@googlemail.com">rashed.vtk@googlemail.com</a>><br>
>> >> wrote:<br>
>> >> ><br>
>> >> > Thanks Bill! I agree to your T&C :)<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > rashedk wrote:<br>
>> >> >><br>
>> >> >> Hi all,<br>
>> >> >><br>
>> >> >> vtkContourFilter can draw contours on a dataset, however, is it<br>
>> >> >> possible<br>
>> >> >> to label/annotate these contours? I looked at vtkLabeledDataMapper<br>
>> >> >> but<br>
>> >> >> it<br>
>> >> >> only seems to label points, cells, etc.<br>
>> >> >><br>
>> >> >> Rashed.<br>
>> >> >><br>
>> >> ><br>
>> >> > --<br>
>> >> > View this message in context:<br>
>> >> > <a href="http://old.nabble.com/labelling-iso-lines-tp28597889p28603314.html" target="_blank">http://old.nabble.com/labelling-iso-lines-tp28597889p28603314.html</a><br>
>> >> > Sent from the VTK - Users mailing list archive at Nabble.com.<br>
>> >> ><br>
>> >> > _______________________________________________<br>
>> >> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> >> ><br>
>> >> > Visit other Kitware open-source projects at<br>
>> >> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> >> ><br>
>> >> > Please keep messages on-topic and check the VTK FAQ at:<br>
>> >> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>> >> ><br>
>> >> > Follow this link to subscribe/unsubscribe:<br>
>> >> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>> >> ><br>
>> >> _______________________________________________<br>
>> >> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> >><br>
>> >> Visit other Kitware open-source projects at<br>
>> >> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> >><br>
>> >> Please keep messages on-topic and check the VTK FAQ at:<br>
>> >> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>> >><br>
>> >> Follow this link to subscribe/unsubscribe:<br>
>> >> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> ><br>
>> > Please keep messages on-topic and check the VTK FAQ at:<br>
>> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>