[vtk-developers] The ImageStencil Issue
dgobbi at atamai.com
Tue Aug 22 22:13:08 EDT 2006
Yeah, I remember this bug now... it's been a year since I looked at it.
I confirm the weird behaviour of your script. If vtkImageAccumulate is
what causes the first stencil update, nothing works. If vtkImageStencil
causes the first stencil update, everything works fine.
Don't be afraid to learn the new pipeline... at first I was worried that
it would take me a long time to get used to it, but a few months ago I
sat down and read a couple PDFs describing it. I was up-and-running
with it almost immediately, it's far nicer to work with than the old
dean.inglis at camris.ca wrote:
> have a look at php bug tracker item #1452.
> If I run the tcl script as is, the ROI
> is not updated correctly. If I modify the
> script to delay updating the vtkImageAccumulate
> and vtkTextActor pipeline until after the
> first render, things work out (see modified
> tcl script below). Prior to executives,
> the submitted bug script would work. I believe
> there is still a pipeline issue here. Sorry I
> can't be of much help: I still haven't found time
> to dive into and figure out executives...
>>> The vtkImageStencilSource class requires the Spacing and Origin of
>>> whichever image eventually uses the stencil to be propagated the wrong
>>> way along the pipeline. Ouch!
More information about the vtk-developers