<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I tried panning in ParaView and the clipping works properly. Is it
    using the vtkInteractorStyleTrackballCamera or something else?<br>
    <br>
    The problem is that it looks like the rotation center is wrong after
    panning, causing the model to be rotated out of the clipping range.
    It looks like the rotation center is the center of the window
    instead of the center of the model. Also, I have multiple actors in
    the scene. Could that be a problem?<br>
    <br>
    I'm not doing anything (that I can tell) to affect this. Could it be
    a bug in VTK 5.10? If so, does anyone know of a workaround?<br>
    <br>
    Thanks!<br>
    <br>
    <div class="moz-cite-prefix">On 8/2/2013 3:59 PM, Serge Lalonde
      wrote:<br>
    </div>
    <blockquote cite="mid:51FC0FB4.50209@infolytica.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      I notice that when using the vtkInteractorStyleTrackballCamera
      panning, I'll subsequently see a clipping problem if I rotate the
      actors afterwards.<br>
      Calling ResetCameraClippingRange() on the renderer has no effect.
      I'm using VTK 5.10.<br>
      <br>
      Is there a workaround for this? It seems like a pretty serious
      problem. I searched the archives without much success for a fix
      for this.<br>
      <br>
      Note: Back in October 2008 (5 years already!), when I was
      prototyping with VTK, I posted a fix to vtkusers and <a
        moz-do-not-send="true" class="moz-txt-link-abbreviated"
        href="http://www.vtk.org/bug">www.vtk.org/bug</a> for
      vtkRenderer and vtkCamera that fixed a similar clipping problem in
      VTK 5.2. After examining the 5.10 source code, it looks like the
      fix was never integrated into VTK's official code branch. The page
      is <a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://www.vtk.org/Bug/view.php?id=7823">http://www.vtk.org/Bug/view.php?id=7823</a>
      and I noticed that its status is expired. Other users commented in
      that bug report that it fixed their problems and some even
      improved the fix.
      <title>Snippet</title>
      <br>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <title>Signature</title>
      <a href="http:://www.infolytica.com">www.infolytica.com </a><br>
      300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3<br>
      (514) 849-8752 x236, Fax: (514) 849-4239
    </div>
  </body>
</html>