[vtkusers] Adding an ImageSlice to one renderer causes the image to disappear from a different renderer?
David Gobbi
david.gobbi at gmail.com
Thu Sep 1 14:15:15 EDT 2011
On Thu, Sep 1, 2011 at 12:05 PM, David Doria <daviddoria at gmail.com> wrote:
> I have this situation:
>
> - A QMainWindow that contains a left and right QVTKWidget.
> - A vtkImageData* LeftImageData that will be displayed in the left QVTKWidget
> - A vtkImageData* BothImageData that will be displayed in both QVTKWidgets
Do not try to share a mapper between multiple renderers. Some simple
mappers might work in this kind of configuration, but many will not.
Create a new mapper and actor for each renderer.
- David
More information about the vtkusers
mailing list