David, I can't find this line further on my file. Could it be a version problem?<div><br></div><div>I'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"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></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 <<a href="mailto:vianamp@gmail.com">vianamp@gmail.com</a>> wrote:<br>
> David, in my source code, this occurs at line 123. Check it out:<br>
><br>
> 128 // For the new points and lines<br>
> 129 vtkPoints *newPoints = vtkPoints::New();<br>
> 130 newPoints->Allocate(333);<br>
> 131 vtkCellArray *newLines = vtkCellArray::New();<br>
> 132 newLines->Allocate(1000);<br>
><br>
> Is that line you're talking about?<br>
><br>
> Best,<br>
> Matheus Viana<br>
> Postdoctoral Research Employee<br>
> Developmental and Cell Biology<br>
> University of California Irvine<br>
><br>
><br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> 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">> Sent from the VTK - Users mailing list archive at Nabble.com.<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 <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: <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>
</div></div></blockquote></div><br></div>