Hi everybody!<div><br></div><div>I&#39;ve implemented a four pane viewer using the example found at Examples/GUI/Qt/FourPaneViewer/QtVTKRenderWindows.cxx. This viewer allows me to explore a 3-D volume using a set of three vtkImagePlaneWidgets that can be interactively placed (translated, rotated) by the user using mouse events.</div>
<div><br></div><div>What I want to do now after user interaction is to take one of these planes and rotate it 90 degrees along its normal, and update the four panes accordingly. In order to do so I&#39;m using this workflow:</div>
<div><br></div><div>- Define a vtkTransform (transform) and SetMatrix as vtkImagePlaneWidget&#39;s current orientation: </div><div><div>    vtkSmartPointer&lt;vtkTransform&gt; transform = vtkSmartPointer&lt;vtkTransform&gt;::New();</div>
<div>    transform-&gt;PreMultiply();</div><div><span class="Apple-style-span">    transform-&gt;SetMatrix(</span>planeWidget-&gt;GetResliceAxes()<span class="Apple-style-span">);</span></div><div><span class="Apple-style-span"><br>
</span></div><div><span class="Apple-style-span">- Apply 90 degrees rotation around Y axis:</span></div><div><span class="Apple-style-span">    transform-&gt;RotateY(90);</span></div><div><span class="Apple-style-span"><br>
</span></div><div><span class="Apple-style-span">- Update planeWidget using methods SetOrigin, SetPoint1, SetPoint2 and UpdatePlacement, where origin, point1, point2 are extracted from &quot;transform&quot;</span></div><div>
<span class="Apple-style-span"><br></span></div><div>When using this approach I get strange results: neither planeWidget&#39;s origin nor its extension are well defined, and I&#39;m not able to update the four panes accordingly. The origin is located outside the 3-D volume, and the extension does not cover the entire volume.</div>
</div><div><br></div><div>Am I missing something? How to correctly update planeWidget&#39;s orientation? Thanks for your help,</div><div><br></div><div>Miguel</div>