Ah, it makes a lot of sense :)<div>I'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"><<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">
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 <<a href="mailto:vianamp@gmail.com">vianamp@gmail.com</a>> wrote:<br>
> David, I can't find this line further on my file. Could it be a version<br>
> problem?<br>
><br>
> I'm sending my file so you can take a look at.<br>
><br>
> -m<br>
> Matheus Viana<br>
> Postdoctoral Research Employee<br>
> Developmental and Cell Biology<br>
> University of California Irvine<br>
><br>
><br>
><br>
><br>
><br>
> 2012/7/27 David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>><br>
>><br>
>> 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>
>> ><br>
>> > --<br>
>> > View this message in context:<br>
>> > <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>
>> > Sent from the VTK - Users mailing list archive at Nabble.com.<br>
</div></div></blockquote></div><br></div>