[vtk-developers] vtkUGrid InsertNextCell throws error

David Doria daviddoria at gmail.com
Tue May 28 07:50:33 EDT 2013


On Sat, May 25, 2013 at 7:48 PM, shinpei <noro_shinpei at web.de> wrote:
> Hi,
>
> I try to insert a new Cell into a vtkUGrid with the Function
> "InsertNextCell"
>
> vtkIdType pts[5];
> pts[0] = e13;
> pts[1] = e23;
> pts[2] = e24;
> pts[3] = e14;
> pts[4] = e12;
> UGrid->InsertNextCell(VTK_POLYHEDRON, 5, pts);
>
> e** are vertex ids. These ids were generated by a vtkPointLocator.
>
> But I get an error at runtime. Where is my mistake?


This question is more appropriate for the vtk-users mailing list.

David



More information about the vtk-developers mailing list