[vtkusers] vtkXMLPolyDataReader and VRML

Amy Squillacote ahs at cfdrc.com
Fri Jan 16 13:35:23 EST 2009


No, the vtkXMLPolyDataReader reads VTK files (XML) for storing 
vtkPolyData (file extension .vtp). Try using the vtkVRMLImporter: 
http://www.vtk.org/doc/nightly/html/classvtkVRMLImporter.html.

- Amy

Nour Mestiri wrote:
> Hi all vtk users,
> Please, can someone tell me if i can read a vrml file (.wrl) with 
> vtkXMLPolyDataReader??
> If it's possible, how to do?
>  
> I used this, but i have many errors:
> vtkXMLPolyDataReader *reader = vtkXMLPolyDataReader::New();
> reader->SetFileName("C:/file.wrl");
> reader->Update();
>  
> Thank you
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>   

-- 
Amy Squillacote                    Phone: (256) 726-4839
Sr. Computer Scientist             Fax: (256) 726-4806
CFD Research Corporation           Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL  35805





More information about the vtkusers mailing list