[Paraview] Creating a vtp file

Norman Goldstein normvcr at telus.net
Thu Jul 2 01:57:34 EDT 2015


 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 ...




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150701/7184d6e7/attachment.html>


More information about the ParaView mailing list