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