[vtk-developers] vtkUGrid InsertNextCell throws error

shinpei noro_shinpei at web.de
Sat May 25 19:48:34 EDT 2013


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?



--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkUGrid-InsertNextCell-throws-error-tp5720997.html
Sent from the VTK - Dev mailing list archive at Nabble.com.



More information about the vtk-developers mailing list