<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
From net examples and on-line docs, I have gleaned some of the info
to create a full 1-piece vtp file:<br>
<br>
Call<br>
vtkXMLPolyDataWriter::SetInputData( <a class="el"
href="http://www.vtk.org/doc/nightly/html/classvtkDataObject.html">vtkDataObject</a>
*)<br>
<br>
where you pass in a vtkPolyData, which you first set up with the
methods:<br>
<br>
SetVerts<br>
SetLines<br>
SetPolys<br>
SetStrips<br>
<br>
and the parent method<br>
<br>
SetPoints<br>
<br>
What I have not figured out is how to set the vtp fields<br>
PointData and CellData<br>
<br>
Any pointers much appreciated ...<br>
<br>
<br>
<br>
<br>
</body>
</html>