Hello,<br>using a simple window initialized like below <br><br>/*********************************************************/<br>vtkRenderer * renderer = vtkRenderer::New();<br> vtkRenderWindow * renWin = vtkRenderWindow::New();<br>
renWin->SetSize(500, 500);<br> //vtkPolyData* l_dat = vtkPolyData::New();<br> renWin->AddRenderer(renderer);<br> vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();<br> iren->SetRenderWindow(renWin);<br>
vtkInteractorStyleImage* style = vtkInteractorStyleImage::New();<br> iren->SetInteractorStyle( style );<br> //renderer->AddActor(iconActor)<br>/*********************************************************/<br>
<br>and adding an image - actor leads to the following phenomenon:<br><br>when changing the height of the window from the outside, the image actor scales properly.<br>when changing the width only, the image actor does scale and is displayed<br>
only partially if the window is "narrow" enough.<br><br>Does anyone know how to change this behavior ?<br>I want the image actor to scale in both cases.<br><br>Best regards, <br>Oliver<br><br>