From net examples and on-line docs, I have gleaned some of the info to
create a full 1-piece vtp file:
Call
vtkXMLPolyDataWriter::SetInputData( vtkDataObject
<http://www.vtk.org/doc/nightly/html/classvtkDataObject.html> *)
where you pass in a vtkPolyData, which you first set up with the methods:
SetVerts
SetLines
SetPolys
SetStrips
and the parent method
SetPoints
What I have not figured out is how to set the vtp fields
PointData and CellData
Any pointers much appreciated ...
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview