[vtkusers] Problem with vtkPolyDataToImageStencil

Matheus Viana vianamp at gmail.com
Fri Jul 27 18:46:30 EDT 2012


You are right since I've done two different things at the same time.
=/
*Matheus Viana*
*Postdoctoral Research Employee*
*Developmental and Cell Biology*
*University of California Irvine*
*
**
*



2012/7/27 David Gobbi <david.gobbi at gmail.com>

> But I guess we don't know whether it was the update to
> the VTK 5.10 version of vtkPolyDataToImageStencil.cxx
> or whether it was the change to double-precision that
> actually fixed the problem...
>
>  - David
>
>
> On Fri, Jul 27, 2012 at 4:24 PM, Matheus Viana <vianamp at gmail.com> wrote:
> > Hello, David.
> > Everything is working well after add the line to force double-precision
> and
> > recompile VTK.
> > Many thanks for your help :)
> > All the Best,
> > Matheus Viana
> > Postdoctoral Research Employee
> > Developmental and Cell Biology
> > University of California Irvine
> >
> >
> >
> >
> >
> > 2012/7/27 Matheus Viana <vianamp at gmail.com>
> >>
> >> Ah, it makes a lot of sense :)
> >> I'll try to update only this file for now and post the result soon.
> >> -m
> >> Matheus Viana
> >> Postdoctoral Research Employee
> >> Developmental and Cell Biology
> >> University of California Irvine
> >>
> >>
> >>
> >>
> >>
> >> 2012/7/27 David Gobbi <david.gobbi at gmail.com>
> >>>
> >>> It seems that you are using VTK 5.8.  You should update to VTK 5.10 if
> >>> possible, or if not, you can just grab the vtkPolyDataToImageStencil
> >>> code from VTK 5.10 (the .cxx and the .h).
> >>>
> >>>  - David
> >>>
> >>>
> >>> On Fri, Jul 27, 2012 at 2:57 PM, Matheus Viana <vianamp at gmail.com>
> wrote:
> >>> > David, I can't find this line further on my file. Could it be a
> version
> >>> > problem?
> >>> >
> >>> > I'm sending my file so you can take a look at.
> >>> >
> >>> > -m
> >>> > Matheus Viana
> >>> > Postdoctoral Research Employee
> >>> > Developmental and Cell Biology
> >>> > University of California Irvine
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >
> >>> > 2012/7/27 David Gobbi <david.gobbi at gmail.com>
> >>> >>
> >>> >> Line 123 seems too early.  You should search to see if there is a
> >>> >> another vtkPoints::New somewhere further on.  The code should
> >>> >> be in a method called PolyDataSelector().
> >>> >>
> >>> >>  - David
> >>> >>
> >>> >>
> >>> >> On Fri, Jul 27, 2012 at 2:36 PM, matheus_viana <vianamp at gmail.com>
> >>> >> wrote:
> >>> >> > David, in my source code, this occurs at line 123. Check it out:
> >>> >> >
> >>> >> > 128  // For the new points and lines
> >>> >> > 129  vtkPoints *newPoints = vtkPoints::New();
> >>> >> > 130  newPoints->Allocate(333);
> >>> >> > 131  vtkCellArray *newLines = vtkCellArray::New();
> >>> >> > 132  newLines->Allocate(1000);
> >>> >> >
> >>> >> > Is that line you're talking about?
> >>> >> >
> >>> >> > Best,
> >>> >> > Matheus Viana
> >>> >> > Postdoctoral Research Employee
> >>> >> > Developmental and Cell Biology
> >>> >> > University of California Irvine
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120727/24ed8479/attachment.htm>


More information about the vtkusers mailing list