Hi,<div><br></div><div>Thanks for your reply. My CustomRenderView is similar to a 2D view, but it has a CustomRepresentation.</div><div><br></div><div>I have implemented super class methods like this in pqCustomRenderView class:</div>
<div><br></div><div>Code:</div><div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#800080">QMap</span><<span style="color:#800080">QString</span>,<span style="color:#c0c0c0"> </span><span style="color:#800080">QString</span>><span style="color:#c0c0c0"> </span><span style="color:#800080">pqMeridionalRenderView</span>::<span style="font-style:italic">interactorStyleSettingsGroupToCameraManipulatorName</span>()<span style="color:#c0c0c0"> </span><span style="color:#808000">const</span></pre>
<pre style="margin-top:0px;margin-bottom:0px">{</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#c0c0c0"> </span><span style="color:rgb(128,0,128)">QMap</span><<span style="color:rgb(128,0,128)">QString</span>,<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">QString</span>><span style="color:rgb(192,192,192)"> </span>SettingsGroupToManipulatorName;</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#c0c0c0"> </span>SettingsGroupToManipulatorName[<span style="color:#008000">"renderModule2D/InteractorStyle"</span>]<span style="color:#c0c0c0"> </span>=</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#c0c0c0"> </span><span style="color:#008000">"Camera2DManipulators"</span>;</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#c0c0c0"> </span><span style="color:#808000">return</span><span style="color:#c0c0c0"> </span>SettingsGroupToManipulatorName;</pre>
<pre style="margin-top:0px;margin-bottom:0px">}</pre><div><br></div>In pqCustomRenderView.h file I have:</div><div><br></div><div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#c0c0c0"> </span><span style="color:#808000">static</span><span style="color:#c0c0c0"> </span><span style="color:#800080">ManipulatorType</span>*<span style="color:#c0c0c0"> </span>getDefaultManipulatorTypes()</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#c0c0c0"> </span>{<span style="color:#c0c0c0"> </span><span style="color:#808000">return</span><span style="color:#c0c0c0"> </span><span style="color:#800080">pqMeridionalRenderView</span>::DefaultManipulatorTypes;<span style="color:#c0c0c0"> </span>}</pre>
<pre style="margin-top:0px;margin-bottom:0px"></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#c0c0c0"> </span><span style="color:#808000">virtual</span><span style="color:#c0c0c0"> </span><span style="color:#800080">ManipulatorType</span>*<span style="color:#c0c0c0"> </span><span style="font-style:italic">getManipulatorTypes</span>(<span style="color:#808000">int</span><span style="color:#c0c0c0"> </span>&numberOfManipulatorType)</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#c0c0c0"> </span>{</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#c0c0c0"> </span>numberOfManipulatorType<span style="color:#c0c0c0"> </span>=<span style="color:#c0c0c0"> </span><span style="color:#000080">9</span>;</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#c0c0c0"> </span><span style="color:#808000">return</span><span style="color:#c0c0c0"> </span><span style="color:#800080">pqMeridionalRenderView</span>::DefaultManipulatorTypes;</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#c0c0c0"> </span>}</pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;white-space:normal">Only mouse scroll is working in this view, which is giving zoom in effect. Mouse Left button is not giving any effect.</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;white-space:normal"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">Appreciate your help in this regard.</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">Thanks,</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">Pandu.</span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre></div><div><div class="gmail_quote">On Wed, Dec 5, 2012 at 12:47 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Don't know what's your custom renderview is doing compare to the regular one? Do you chose an interaction type 2d/3d?<br>
<br>
Seb<br>
<div><div class="h5"><br>
On Dec 5, 2012, at 4:30, Pandu tech <<a href="mailto:pandu4tech@gmail.com">pandu4tech@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> My pqCustomRenderView is derived from pqRenderviewBase class. I have updated my ParaView and VTK to the latest version. Since then, Panning is not working in my CustomRenderView, but in case of 3D , 2D views there is no such problem.<br>
><br>
> Since VTK is updated, do I need to make any changes in my pqCustomRenderView.<br>
><br>
> Please share any suggestions in this regard.<br>
><br>
> Thanks in advance.<br>
><br>
><br>
> Regards,<br>
> Pandu.<br>
</div></div>> _______________________________________________<br>
> Paraview-developers mailing list<br>
> <a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</blockquote></div><br></div>