<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello everybody,</p>
    <p>I am facing a problem when using a vtkOrientationMarkerWidget in
      a python/pyQt<br>
      environment.</p>
    <p>python 2.7.3<br>
      vtk 6.1<br>
      pyQt: 4.10.1<br>
    </p>
    <p>I first define the axesActor and axesMarker and later in the code
      ...<br>
    </p>
    <blockquote type="cite">
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><tt>self.axesActor = vtk.vtkAxesActor()</tt><tt><br>
        </tt><tt>
          self.axesMarker = vtk.vtkOrientationMarkerWidget() </tt><tt><br>
        </tt><tt>
          self.axesMarker.SetDefaultRenderer(self.renderer)</tt></p>
      <tt>
      </tt>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><tt>
          self.axesMarker.SetInteractor(self.interact)</tt></p>
      <tt>
      </tt>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><tt>
          self.axesMarker.SetOrientationMarker(self.axesActor)</tt></p>
      <tt>
      </tt>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><tt> self.axesMarker.SetOutlineColor(0.9300,
          0.5700, 0.1300)</tt></p>
      <tt>
      </tt>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><tt> self.axesMarker.SetViewport(0.8, 0.0,
          1.0, 0.2)</tt></p>
      <tt>
      </tt>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><tt> self.axesMarker.SetEnabled(0)</tt></p>
      <tt>
      </tt>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><tt> self.renderer.AddActor(self.axesActor)</tt></p>
      <tt>
      </tt>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;
        -qt-user-state:0;"><tt> self.axesActor.VisibilityOn()</tt></p>
    </blockquote>
    <tt>...<br>
    </tt>change the <tt>size of the orientation markers.<br>
    </tt>
    <blockquote type="cite"><tt><tt>self.axesActor</tt>.SetTotalLength(delta,
        delta, delta</tt><tt>)</tt><br>
    </blockquote>
    <p>If the parameter delta is larger equal 5e-3, than everything
      looks fine. However if I <br>
      use values smaller than 5e-3 the tips of the axesActor suddenly
      all point in x-Direction and<br>
      the labels are not readable.</p>
    <p>Can someone reproduce this behavior? Is this a bug?</p>
    <p>Please find attached a python file that allows to reproduce this
      behavior (at least on my machine).<br>
    </p>
    <p>Best regards<br>
      Martin<br>
    </p>
  </body>
</html>