# Data set via SetPixelData / SetRBACharPixelData not shown

**URL:** https://discourse.vtk.org/t/data-set-via-setpixeldata-setrbacharpixeldata-not-shown/3247
**Category:** Support
**Created:** [May 7, 2020, 8:09pm UTC](https://discourse.vtk.org/t/data-set-via-setpixeldata-setrbacharpixeldata-not-shown/3247 "2020-05-07T20:09:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![codeling](https://discourse.vtk.org/user_avatar/discourse.vtk.org/codeling/32/3792_2.png) [@codeling](https://discourse.vtk.org/u/codeling)
#### Post date: [May 7, 2020, 8:09pm UTC](https://discourse.vtk.org/t/data-set-via-setpixeldata-setrbacharpixeldata-not-shown/3247/1 "2020-05-07T20:09:55Z")

</div>

I’m trying to use a rubber band selection in one of my render windows.  
However, while the selection itself works fine, something about this render window prevents the rubber band from being drawn; the selection works as normal, but during dragging, I see no rectangle being drawn.  
So basically, the pixel data set via SetPixelData / SetRGBACharPixelData is not shown.

I’m using (an adapted version of) the vtkInteractorStyleRubberBand3D. I can reproduce a similar behavior in the example from [https://lorensen.github.io/VTKExamples/site/Cxx/Interaction/RubberBand3D/](https://lorensen.github.io/VTKExamples/site/Cxx/Interaction/RubberBand3D/)  
by setting DoubleBuffer on the render window to false (but I guess this is not exactly the same as this seems to disable updates on the window in a fashion so that it only updates when clicking inside the window; and when I check in my render window, double buffering is enabled.

I know this is kind of generic, but I’m hoping somebody can give me pointers towards other settings on the render window / renderer / … that might affect this? Or what kind of update call I might be missing?
