[Ves] Load VTP file from input string
Jon Chmura
jon.chmura at me.com
Mon Aug 26 15:36:02 EDT 2013
We can load a VTK file from an input string by using the following API
vtkSmartPointer<vtkPolyDataReader> reader = vtkSmartPointer<vtkPolyDataReader>::New();
reader->ReadFromInputStringOn();
reader->SetInputString(data, length);
I would like to do the same for VTP files. The problem is that VTP files are in XML format and require that you use the vtkXMLPolyDataReader class. This class however does not have methods to support reading from an input string. Any suggestions on how to get around this issue?
Jon Chmura
jon.chmura at me.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130826/30ff1efc/attachment.html>
More information about the Ves
mailing list