[vtkusers] vtkXMLPUnstructuredGridWriter() howto?
Bill Lorensen
bill.lorensen at gmail.com
Mon Sep 20 15:29:39 EDT 2010
This example should not have a vtkImageDataStreamer. That is used to
break up the output of a pipeline into multiple pieces for upstream
processing.
The parallel writer breaks up an image into multiple pieces for
writing (I think).
Bill
On Mon, Sep 20, 2010 at 3:24 PM, David Doria <daviddoria at gmail.com> wrote:
> On Mon, Sep 20, 2010 at 3:15 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> The example works fine for me. It produces 4 .vti files.
>>
>> Why is this example considered broken?
>>
>> Bill
>
> You're right, there are 4 files produced now, that comment is
> incorrect (I just changed it). I left it in broken because I didn't
> understand the following:
>
> 1) Without the streamer and with the SetEnd/StartPiece, it writes the
> 5 files (Test.pvti, Test_0.vti, Test_1.vti, Test_2.vti, Test_3.vti)
> that I would expect.
>
> 2) With the streamer and WITHOUT the SetEnd/StartPiece, it only writes
> the 2 files.
>
> 3) Setting SetNumberOfStreamDivisions(4) on the streamer or not
> calling SetNumberOfStreamDivisions at all did not seem to make a
> difference.
>
> Basically the summary of the above is I don't understand
> streaming/pieces/etc. Is there a tutorial on this? If not, there
> should definitely be at least a few paragraphs we can point to from
> examples like this.
>
> David
>
More information about the vtkusers
mailing list