[vtkusers] vtkGPUVolumeRayCastMapper: Updateing ImageData after first Rendering?

Willy Wiggerl at Linhuber.info
Tue Feb 14 10:15:19 EST 2017

@Aashish: I compiled your example and changed the reader to vtkTIFFReader to
read some of my testdata, but i can't see any difference between with and
without "SetPartitions". i don't understand the purpose the that method.

@Sankhesh: i tried "Modified" but it still does not work. i tested the
vtkFixedPointVolumeRayCastMapper too (with just 8bm data) and got the same
behaviour. After the first call of Render3DImage the rendered Image does not
change, even if i change the vtkImageData. i always though the problem would
be the GPU-Mapper, but apparently thats not the case. It looks like vtk
makes a intern copy of the data somewhere ...

@Donny: I already tried that, but here is the problem: i have a big .NET
projectmap with many projects and parentforms and parent-parent-form and so
on. If i use "SetParentId" the .NET PictureBox does not "know" that there is
a picture in it. If any parent or the PictureBox self does receive a
refresh-event .NET does repaint the Picture and because .NET thinks that
there is no Picture in the picturebox it repaints with black. Even if i
would call "render" rigth after the refresh event i get a very annoying
flickering. And it would take very much time to check every line of .NET
code witch could cause a refresh-event.

View this message in context: http://vtk.1045678.n5.nabble.com/vtkGPUVolumeRayCastMapper-Updateing-ImageData-after-first-Rendering-tp5742153p5742181.html
Sent from the VTK - Users mailing list archive at Nabble.com.

More information about the vtkusers mailing list