Is there a trick to turning on widgets in a Qt renderer?<div><br></div><div>I tried the normal code (below) I use to turn on a widget, but it does not appear in the renderer:</div><div><br></div><div><div> this-&gt;ui-&gt;qvtkWidgetRight-&gt;GetRenderWindow()-&gt;AddRenderer(rightRenderer);</div>
<div><br></div><div>  //add a border widget to the right renderer</div><div>  vtkSmartPointer&lt;vtkBorderWidget&gt; borderWidget = </div><div>      vtkSmartPointer&lt;vtkBorderWidget&gt;::New();</div><div>  </div><div>  borderWidget-&gt;SetInteractor(this-&gt;ui-&gt;qvtkWidgetRight-&gt;GetRenderWindow()-&gt;GetInteractor());</div>
<div>  </div><div>  static_cast&lt;vtkBorderRepresentation*&gt;(borderWidget-&gt;GetRepresentation())-&gt;GetBorderProperty()-&gt;SetColor(1,0,0); //red</div><div>  </div><div>  borderWidget-&gt;SelectableOff();</div><div>
    vtkSmartPointer&lt;BorderCallback&gt; borderCallback = </div><div>      vtkSmartPointer&lt;BorderCallback&gt;::New();</div><div>  </div><div>  borderWidget-&gt;AddObserver(vtkCommand::InteractionEvent,borderCallback);</div>
<div>  </div><div>  borderWidget-&gt;On();</div></div><div><br></div><div>Is there something special that must be done to get them to work inside a Qt render window?</div><div><br clear="all">Thanks,<br><br>David<br>
</div>