[vtkusers] (no subject)
annainnet at mail.ru
Sat Apr 19 13:37:21 EDT 2003
I'm also interested in this question, so I followed the link, you wrote in your answer. And I did't find answer to my question. I have polydata file, ths is not unstructured grid, as it's in FAQ, which you point to. Can you write answer directly in the text of your letter? I would be appreciate to you.
>vanessa.noguesruiz at epfl.ch wrote:
>> I would like to know how to read points from a polydata vtk file, as I do the
>> vtkPolyDataReader *lector = vtkPolyDataReader::New();
>> lector->SetFileName ("D:/Proyecto/vtk/cube.vtk");
>> vtkPolyData *info=vtkPolyData::New();
>> vtkPoints *points=vtkPoints::New();
>> and I don't get any points pointed by "points".
>> Could anyone explainme why I am not getting the data in this way? I've also
>> tried to get polygons cells and verts, but it always results NULL or a
>> exception is launched when running, although it compiles and links perfectly.
>> Thanks in advance.
More information about the vtkusers