[vtkusers] Problem with vtkPolyDataToImageStencil

Matheus Viana vianamp at gmail.com
Fri Jul 27 16:57:35 EDT 2012


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
> >
> >
> >
> > --
> > View this message in context:
> http://vtk.1045678.n5.nabble.com/Problem-with-vtkPolyDataToImageStencil-tp5714947p5714966.html
> > Sent from the VTK - Users mailing list archive at Nabble.com.
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120727/1262d740/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkPolyDataToImageStencil.cxx
Type: application/octet-stream
Size: 17336 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120727/1262d740/attachment.obj>


More information about the vtkusers mailing list