Ah, it makes a lot of sense :)<div>I&#39;ll try to update only this file for now and post the result soon.</div><div>-m<br clear="all"><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">
It seems that you are using VTK 5.8.  You should update to VTK 5.10 if<br>
possible, or if not, you can just grab the vtkPolyDataToImageStencil<br>
code from VTK 5.10 (the .cxx and the .h).<br>
<span class="HOEnZb"><font color="#888888"><br>
 - David<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Fri, Jul 27, 2012 at 2:57 PM, Matheus Viana &lt;<a href="mailto:vianamp@gmail.com">vianamp@gmail.com</a>&gt; wrote:<br>
&gt; David, I can&#39;t find this line further on my file. Could it be a version<br>
&gt; problem?<br>
&gt;<br>
&gt; I&#39;m sending my file so you can take a look at.<br>
&gt;<br>
&gt; -m<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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2012/7/27 David Gobbi &lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Line 123 seems too early.  You should search to see if there is a<br>
&gt;&gt; another vtkPoints::New somewhere further on.  The code should<br>
&gt;&gt; be in a method called PolyDataSelector().<br>
&gt;&gt;<br>
&gt;&gt;  - David<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 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;&gt; &gt; David, in my source code, this occurs at line 123. Check it out:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 128  // For the new points and lines<br>
&gt;&gt; &gt; 129  vtkPoints *newPoints = vtkPoints::New();<br>
&gt;&gt; &gt; 130  newPoints-&gt;Allocate(333);<br>
&gt;&gt; &gt; 131  vtkCellArray *newLines = vtkCellArray::New();<br>
&gt;&gt; &gt; 132  newLines-&gt;Allocate(1000);<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Is that line you&#39;re talking about?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Best,<br>
&gt;&gt; &gt; Matheus Viana<br>
&gt;&gt; &gt; Postdoctoral Research Employee<br>
&gt;&gt; &gt; Developmental and Cell Biology<br>
&gt;&gt; &gt; University of California Irvine<br>
&gt;&gt; &gt;<br>
&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://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>

&gt;&gt; &gt; Sent from the VTK - Users mailing list archive at Nabble.com.<br>
</div></div></blockquote></div><br></div>