<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>That'll do it!</p>
<p>Thanks!</p>
<p>Rick<br>
</p>
<br>
<div class="moz-cite-prefix">On 09/13/2018 02:12 PM, Sebastien
Jourdain wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CABObKxcGG97Pgur+jT5wfcVasRx6mRA8AgCJM8nkRLsbJHAoVA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr">
<div dir="ltr">I think it is named MiddleButton. You can find
the full list here:
<div><a
href="https://github.com/Kitware/vtk-js/blob/master/Sources/Rendering/Core/RenderWindowInteractor/index.js#L28-L56"
moz-do-not-send="true">https://github.com/Kitware/vtk-js/blob/master/Sources/Rendering/Core/RenderWindowInteractor/index.js#L28-L56</a><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Thu, Sep 13, 2018 at 11:00 AM Rick Frank <<a
href="mailto:rickfrank@me.com" moz-do-not-send="true">rickfrank@me.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> For the time being I
have a subclass of vtkInteractorStyleTrackballCamera which
is a crib of vtkInteractorStyleSlice for handing slice
views....<br>
<br>
<br>
I can get:<br>
<br>
publicAPI.handleRightButtonPress = (callData) => {<br>
const pos = callData.position;<br>
model.previousPosition = pos;<br>
publicAPI.startDolly();<br>
};<br>
<br>
to override RightButton<br>
<br>
but there doesn't seem to be a<br>
<br>
publicAPI.handleCenterButtonPress = (callData) => {<br>
....<br>
};<br>
<br>
<br>
....<br>
<br>
Am I missing something on how to get the center button? I
can get the wheel....<br>
<br>
<br>
Thanks<br>
<br>
Rick<br>
<br>
<br>
<div class="m_-7190038227117689756moz-cite-prefix">On
09/13/2018 01:21 PM, Sebastien Jourdain wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">The manipulator infrastructure come from
ParaView and has never been pushed to VTK on the c++
side.
<div>Anyhow, we have a ManipulatorStyle on which we
register a bunch of manipulators to custom build our
style binding (pan on left-button, rotate on
left-button+Alt, ...). </div>
<div>That's the high level concept.</div>
<div><br>
</div>
<div>So either you provide a XXXXStyle that should
handle everything or use a ManipulatorStyle on which
you register manipulators...</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Thu, Sep 13, 2018 at 10:02 AM Rick
Frank via vtkusers <<a
href="mailto:vtkusers@public.kitware.com"
target="_blank" moz-do-not-send="true">vtkusers@public.kitware.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm using vtkInteractorStyleImage and notice that I
don't have access to <br>
a center mouse down (for Pan)...<br>
<br>
<br>
but the Manipulators have center mouse down...<br>
<br>
<br>
Manipulators seems to be a new thing in the vtk.js<br>
<br>
<br>
How do they relate to the interactors? Is there a way
to get a center <br>
mouse down in my interactorStyleImage subclass<br>
<br>
<br>
Rick<br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com"
rel="noreferrer" target="_blank"
moz-do-not-send="true">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a
href="http://www.kitware.com/opensource/opensource.html"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ
at: <a href="http://www.vtk.org/Wiki/VTK_FAQ"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a
href="http://markmail.org/search/?q=vtkusers"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a
href="https://public.kitware.com/mailman/listinfo/vtkusers"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>