David, I can&#39;t find this line further on my file. Could it be a version problem?<div><br></div><div>I&#39;m sending my file so you can take a look at.</div><div><br></div><div>-m</div><div><div><div><font color="#555555" face="Helvetica, Arial, sans-serif"><span style="line-height:16px"><b>Matheus Viana</b></span></font></div>
<div><font color="#555555" face="Helvetica, Arial, sans-serif"><span style="line-height:16px"><b>Postdoctoral Research Employee</b></span></font></div><div><b><span style="color:rgb(85,85,85);line-height:16px;font-family:Helvetica,Arial,sans-serif;font-size:13px">Developmental and Cell Biology</span></b></div>
<div><font color="#555555" face="Helvetica, Arial, sans-serif"><span style="line-height:16px"><b>University of California Irvine</b></span></font></div><div><font color="#555555" face="Helvetica, Arial, sans-serif"><span style="line-height:16px"><b><br>
</b></span></font><b><i><br></i></b></div></div><br>
<br><br><div class="gmail_quote">2012/7/27 David Gobbi <span dir="ltr">&lt;<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Line 123 seems too early.  You should search to see if there is a<br>
another vtkPoints::New somewhere further on.  The code should<br>
be in a method called PolyDataSelector().<br>
<br>
 - David<br>
<br>
<br>
On Fri, Jul 27, 2012 at 2:36 PM, matheus_viana &lt;<a href="mailto:vianamp@gmail.com">vianamp@gmail.com</a>&gt; wrote:<br>
&gt; David, in my source code, this occurs at line 123. Check it out:<br>
&gt;<br>
&gt; 128  // For the new points and lines<br>
&gt; 129  vtkPoints *newPoints = vtkPoints::New();<br>
&gt; 130  newPoints-&gt;Allocate(333);<br>
&gt; 131  vtkCellArray *newLines = vtkCellArray::New();<br>
&gt; 132  newLines-&gt;Allocate(1000);<br>
&gt;<br>
&gt; Is that line you&#39;re talking about?<br>
&gt;<br>
&gt; Best,<br>
&gt; Matheus Viana<br>
&gt; Postdoctoral Research Employee<br>
&gt; Developmental and Cell Biology<br>
&gt; University of California Irvine<br>
&gt;<br>
&gt;<br>
<span class="HOEnZb"><font color="#888888">&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Problem-with-vtkPolyDataToImageStencil-tp5714947p5714966.html" target="_blank">http://vtk.1045678.n5.nabble.com/Problem-with-vtkPolyDataToImageStencil-tp5714947p5714966.html</a><br>

</font></span><div class="HOEnZb"><div class="h5">&gt; Sent from the VTK - Users mailing list archive at Nabble.com.<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 <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: <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>
</div></div></blockquote></div><br></div>