[vtkusers] saving in a file xyz witch does exist
David Doria
daviddoria at gmail.com
Tue Aug 21 11:04:37 EDT 2012
On Tue, Aug 21, 2012 at 10:53 AM, kaouther <boutara.kaouther at gmail.com>wrote:
> hi all ,i have a problem in saving a file xyz
> well this the code
>
You'll have to use a vtkSimplePointsReader
http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/SimplePointsReader to get the
data that is already in the file, then combine it with your data with a
vtkAppendFilter :
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/AppendFilter , then you
can write the result with your vtkSimplePointsWriter.
Also, I suggest you take a look at these suggestions for asking questions:
http://www.vtk.org/Wiki/VTK/MinimalExample
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120821/374c2be7/attachment.htm>
More information about the vtkusers
mailing list