<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 3/17/2015 7:01 PM, Alex Malyushytsky
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADTNJpF6CaB5JboFA4h6shP_M6q_SkWD+vymK_bKtJN==eDmZQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Check link below</div>
        <div><br>
        </div>
        <div><a moz-do-not-send="true"
href="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Interaction/Widgets/Testing/Cxx/TestSliderWidget2D.cxx">http://vtk.org/gitweb?p=VTK.git;a=blob;f=Interaction/Widgets/Testing/Cxx/TestSliderWidget2D.cxx</a></div>
      </div>
      <div class="gmail_extra"><br>
      </div>
    </blockquote>
    Thanks for the link Alex, but this is for the 2D widget. Works fine
    for me too. My problem was with the 3D widget.<br>
    <br>
    I have actually switched to the 2D widget cause I suspect there are
    bugs in the 3D widget causing the erratic positioning. Hope to look
    in further on that later on. The 3D widget is better looking than
    the 2D one imo.<br>
    <br>
    <blockquote
cite="mid:CADTNJpF6CaB5JboFA4h6shP_M6q_SkWD+vymK_bKtJN==eDmZQ@mail.gmail.com"
      type="cite">
      <div class="gmail_extra">
        <div class="gmail_quote">On Tue, Mar 17, 2015 at 5:07 PM, Totte
          Karlsson <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:totte@dunescientific.com" target="_blank">totte@dunescientific.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            This question is regarding usage of the  3D slider widget.<br>
            I have been using world coordinates to set the widgets
            position, and that seem to be working fine.<br>
            <br>
            Now, however, I would like to simply place the widget
            horizontally at the bottom of the render window.  Whats the
            right way to do such?<br>
            <br>
            I imagine I would need to go from normalized (2D) display
            values, say (-0.8, -0.8) & (0.8,-0.8) which would be at
            the bottom of the window, to world coordinates (3D).<br>
            Any pointers on how to achieve this?<br>
            <br>
            The widget position would need to be recalculated if the
            camera changes.<br>
            Thanks,<br>
            tk<br>
            <br>
            -- <br>
            .........................<br>
            Totte Karlsson, Ph.D.<br>
            Dune Scientific, LLC<br>
            <a moz-do-not-send="true" href="tel:425-296%201980"
              target="_blank" value="+14252961980">425-296 1980</a> (office)<br>
            <a moz-do-not-send="true" href="tel:425-780%209648"
              target="_blank" value="+14257809648">425-780 9648</a> (cell)<br>
            <a moz-do-not-send="true"
              href="http://www.dunescientific.com" target="_blank">www.dunescientific.com</a><br>
            .........................<br>
            <br>
            _______________________________________________<br>
            Powered by <a moz-do-not-send="true"
              href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
            <br>
            Visit other Kitware open-source projects at <a
              moz-do-not-send="true"
              href="http://www.kitware.com/opensource/opensource.html"
              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            <br>
            Please keep messages on-topic and check the VTK FAQ at: <a
              moz-do-not-send="true"
              href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
            <br>
            Search the list archives at: <a moz-do-not-send="true"
              href="http://markmail.org/search/?q=vtkusers"
              target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
            <br>
            Follow this link to subscribe/unsubscribe:<br>
            <a moz-do-not-send="true"
              href="http://public.kitware.com/mailman/listinfo/vtkusers"
              target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>