<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    shouldn't work scroll wheel in vtk.js? e.g. here
    <a class="moz-txt-link-freetext" href="https://kitware.github.io/vtk-js/examples/HttpSceneLoader.html">https://kitware.github.io/vtk-js/examples/HttpSceneLoader.html</a><br>
    I have to compile the whole sources? I use pv of salome meca. I hope
    it isn't to complicated and cpu intensive.<br>
    <br>
    <div class="moz-cite-prefix">Am 17.08.2016 um 22:32 schrieb
      Sebastien Jourdain:<br>
    </div>
    <blockquote
cite="mid:CABObKxc0sgoxpOad9FFeGBt0jz7iJ7uZmif2qy6bUdo05RcxUw@mail.gmail.com"
      type="cite">
      <div dir="ltr">I guess ParaView is missing more code on the server
        side. ;-)
        <div>This time, it will be in the C++.
          <div><br>
          </div>
          <div><br>
          </div>
          <div>${ParaView-src}/VTK/Web/Core/vtkWebApplication.cxx =>
            vtkPVWebApplication::HandleInteractionEvent</div>
          <div><br>
          </div>
          <div>vs</div>
          <div><br>
          </div>
          <div>${ParaView-src}/Web/Core/vtkPVWebApplication.cxx =>
            vtkWebApplication::HandleInteractionEvent<br>
          </div>
          <div><br>
          </div>
          <div>The VTK one has:</div>
          <div><br>
          </div>
          <div>
            <div>  // Handle scroll action if any</div>
            <div>  if(event->GetScroll()) {</div>
            <div>    iren->SetEventInformation(0, 0, ctrlKey,
              shiftKey, event->GetKeyCode(), 0);</div>
            <div>    iren->MouseMoveEvent();</div>
            <div>    iren->RightButtonPressEvent();</div>
            <div>    iren->SetEventInformation(0,
              event->GetScroll()*10, ctrlKey, shiftKey,
              event->GetKeyCode(), 0);</div>
            <div>    iren->MouseMoveEvent();</div>
            <div>    iren->RightButtonReleaseEvent();</div>
            <div>    this->Internals->ImageCache[view].NeedsRender
              = true;</div>
            <div>    return true;</div>
            <div>  }</div>
          </div>
          <div><br>
          </div>
          <div>If you got it working, could you submit a pull request on
            our gitlab and assign it to me so those fix could be part of
            PV 5.2?</div>
        </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
        <div>Seb</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Aug 17, 2016 at 2:08 PM, Daniel
          Zuidinga <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:info@seoaachen.de" target="_blank">info@seoaachen.de</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">I added
            the lines but scroll wheel does not work
            <div class="HOEnZb">
              <div class="h5"><br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  Look at ${pv_src}/Web/Python/paraview/<wbr>web/protocols.py 
                  #ParaViewWebMouseHandler<br>
                  vs ${pv_src}/VTK/Web/Python/vtk/w<wbr>eb/protocols.py 
                   #vtkWebMouseHandler<br>
                  <br>
                  it seems the paraview one is missing:<br>
                  <br>
                        if event.has_key("scroll"):<br>
                              pvevent.SetScroll(event["scrol<wbr>l"])<br>
                  <br>
                  Just add it to your paraview python file.<br>
                  <br>
                </blockquote>
                <br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>