<div dir="ltr">Hello,<div><br></div><div><div>I'm doing a test where I'd like to use class: vtkInteractorStyleRubberBandZoom. I have a Qt application that works the iteration with my model with no problems, but when I try to use vtkInteractorStyleRubberBandZoom I can not get back to iterating with my original template.</div><div>I wish I could turn on and off a zoom function, could anyone help me?<br></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">void GUIModelling::zoomSelectionStart()</font></div><div><font face="monospace, monospace">{</font></div></div><div><span style="font-family:monospace,monospace"> vtkSmartPointer<vtkInteractorStyleRubberBandZoom> style = vtkSmartPointer<vtkInteractorStyleRubberBandZoom>::New();</span><br></div><div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>style->SetInteractor(this->QVTKWidgetDefault->GetInteractor());</font></div><div><font face="monospace, monospace"><span style="white-space:pre"> </span>this->QVTKWidgetDefault->GetRenderWindow()->GetInteractor()->SetInteractorStyle(style);</font></div><div><font face="monospace, monospace"><br></font></div><div><span style="font-family:monospace,monospace;white-space:pre"> </span><span style="font-family:monospace,monospace">this->QVTKWidgetDefault->update();</span><span style="font-family:monospace,monospace"><span style="white-space:pre"> </span></span></div><div><span style="font-family:monospace,monospace"> this->QVTKWidgetDefault->GetRenderWindow()->Render();</span></div><div><font face="monospace, monospace"><span style="white-space:pre"> </span></font><span style="font-family:monospace,monospace">this->QVTKWidgetDefault->GetRenderWindow()->Start();</span></div><div><div class="gmail-m_-7921914138724889259gmail_signature"><div dir="ltr"><div>}</div><div><br></div><div>Atenciosamente,</div>Leandro Gazoni</div></div></div>
<div id="gmail-m_-7921914138724889259DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br><a href="#m_-7921914138724889259_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div></div></div>