<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I just realized that calling SetUpdateExtentToWholeExtent() on a
downstream algorithm (polyData in the example code) "fixes" this
error.<br>
<br>
<div class="moz-cite-prefix">On 2014-10-11 14:10, Karsten Tausche
wrote:<br>
</div>
<blockquote cite="mid:54391E4E.8050907@student.hpi.uni-potsdam.de"
type="cite">Hi everyone,
<br>
<br>
I tried to use vtkExtractVOI to decrease the resolution of a
vtkImageData/vtkStructuredPoints data set. This works fine when I
set the sample rate before I connect the filter to the pipeline.
But changing the sample rate while rendering always results in an
error like this:
<br>
<br>
"ERROR: In
..\..\..\Common\ExecutionModel\vtkStreamingDemandDrivenPipeline.cxx,
line 857
<br>
vtkCompositeDataPipeline (0000000005D6E1A0): The update extent
specified in the information for output port 0 on algorithm
vtkExtractVOI(0000000005D92710) is 0 10 0 10 0 0, which is outside
the whole extent 0 9 0 10 0 0."
<br>
<br>
This behavior also depends on the initial sample rate. With the
defaults (1, 1, 1), the error message pops up after changing the
rate, and the filter seems produce the expected result. When I set
different initial values and increase them while rendering, I get
the error message above, but the filter result seems correct. When
decreasing the sample rate, I don't get an error, but the filter
decreases the size of the rendered image.
<br>
<br>
I'm using the current VTK master. I appended a small example the
produces this error; it doesn't render any visible points but I
didn't know how to enforce the required updates without adding the
filter to a rendering pipeline.
<br>
<br>
BTW the error also occurs with vtkStructuredGrid+vtkExtractGrid.
<br>
<br>
Thanks,
<br>
Karsten
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</body>
</html>