[vtkusers] ply file created is unreadable: help

cerina cerine-baratelli at hotmail.fr
Mon Sep 17 14:21:20 EDT 2012


In order to resolve this problem (i got number of vertex=3*number of faces),
i try with:
for ( vtkIdType k=0; k<this->Input->GetNumberOfPoints();k++)
{
if(PointsNode->GetValue(k)==m)
{
double* x;
this->Input->GetPointCoordinates(k,x);
vtkIdType pid[1];
pid[0] = points->InsertNextPoint (x[0],x[1],x[2]);
vertices->InsertNextCell(1,pid);
}
}

But now i get *0* as vertex number!!!!

I will appreciate any suggestion 

Regards



--
View this message in context: http://vtk.1045678.n5.nabble.com/ply-file-created-is-unreadable-help-tp5716143p5716148.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list