<div>Hello,</div>
<div> </div>
<div>I am trying to figure out how to add a slice widget that has the interactivity behavior just liek in the Paraview application. </div>
<div>When I add the following code, I get the visual representation of the widget. However, performing mouse events on the bounding box or normal of the widget doesn&#39;t make the widget change its position, orientation. Instead the whole view&#39;s camera position is changing.</div>


<div> </div>
<div><font face="courier new,monospace">    vtkSMProxy* sliceWidget = m_paraviewObjectBuilder-&gt;createProxy(&quot;representations&quot;,<br>                                                                   &quot;ImplicitPlaneWidgetRepresentation&quot;,<br>

                                                                   m_paraviewActiveObjects-&gt;activeServer(),<br>                                                                   &quot;slice widget&quot;);<br>    doubleProp = vtkSMDoubleVectorProperty::SafeDownCast(<br>

                                    sliceWidget-&gt;GetProperty(&quot;PlaceWidget&quot;));<br>    double sourceBounds[6];<br>    sourceRepresentation.getDataBounds(sourceBounds);<br>    doubleProp-&gt;SetElements(sourceBounds);<br>

    pqSMAdaptor::setElementProperty(sliceWidget-&gt;GetProperty(&quot;Visibility&quot;), true);<br>    sliceWidget-&gt;UpdateVTKObjects();</font></div>
<div><font face="courier new,monospace">    // Add the widget to the view.<br>    pqSMAdaptor::addProxyProperty(<br>        m_renderView-&gt;getProxy()-&gt;GetProperty(&quot;Representations&quot;), sliceWidget);</font></div>


<div><font face="Courier New"></font> </div>
<div><font face="arial,helvetica,sans-serif">Any advise is much appreciated,</font></div>
<div><font face="courier new,monospace"><font face="arial,helvetica,sans-serif">Jenya<br></font></font></div>