<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 8.00.7601.18487">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body ocsi="x">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: x-small">
<div>Hi Aashish,</div>
<div><font face="tahoma"></font> </div>
<div><font face="tahoma">Could I ask if you have had time to look into the problem of scrolling through the slices of multiple vesKiwiImageWidgetRepresentation objects simultaneously?</font></div>
<div><font face="tahoma"></font> </div>
<div><font face="tahoma">regards, Jamie</font></div>
<div>
<div class="BodyFragment">
<hr tabindex="-1">
<font color="#000000" size="2" face="Tahoma"><b>From:</b> Aashish Chaudhary [aashish.chaudhary@kitware.com]<br>
<b>Sent:</b> 19 August 2014 21:24<br>
<b>To:</b> Wright James (NHS Greater Glasgow & Clyde)<br>
<b>Cc:</b> ves@public.kitware.com<br>
<b>Subject:</b> Re: [Ves] two or more vesKiwiImageWidgetRepresentation objects<br>
</font><br>
</div>
</div>
<div></div>
<div>
<div dir="ltr">It should be doable. I will look into the code and will get back to you sometime later today.
<div>- Aashish</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Aug 19, 2014 at 4:06 PM, Wright James (NHS Greater Glasgow & Clyde)
<span dir="ltr"><<a href="mailto:jamie.wright@nhs.net">jamie.wright@nhs.net</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
Dear VES experts,<br>
<br>
I have a project with multiple vesKiwiImageWidgetRepresentation objects rendered to the screen at once. Panning, rotation and scaling happens across the objects. However, when I scroll through the slices of one imagewidgetrep object I cannot get the slices
in the other objects to also scroll. I have overridden vesKiwiWidgetInteractionDelegate::handleSingleTouchDown() so that if there is more than one kiwiImageWidgetRep object then after the first representation has moved, the subsequent representations take
the touchWorldPosition vector and use this in a method I have called doSliceScroll() which takes as arguments touchWorldPosition, a vtkTypeId variable called cellId, and std::vector<int> variable called cellIdToPlaneId (calculated from the second object).
Basically this method performs the code inside handleSingleTouchDown() from the point where locator->IntersectWithLine() is called and found to be true. I thought that doing this would cause the slices in other imageWidgetReprese<br>
ntation objects to scroll if the corresponding slice in the first representation scrolls. However this causes my app to crash<br>
<br>
Could anyone point me to where I am going wrong? Do I have to issue some kind of callback to the other representations if I want their slices to also scroll?<br>
<br>
thanks, Jamie<br>
<br>
********************************************************************************************************************<br>
<br>
This message may contain confidential information. If you are not the intended recipient please inform the<br>
sender that you have received the message in error before deleting it.<br>
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:<br>
to do so is strictly prohibited and may be unlawful.<br>
<br>
Thank you for your co-operation.<br>
<br>
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland<br>
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients<br>
NHSmail provides an email address for your career in the NHS and can be accessed anywhere<br>
<br>
********************************************************************************************************************<br>
_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/ves" target="_blank">http://public.kitware.com/mailman/listinfo/ves</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>
| Technical Leader <br>
| Kitware Inc. <br>
</i></font>
<div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div>
</div>
</div>
</div>
</div>
<br>
<font face="Courier New" color="Black" size="2">********************************************************************************************************************<br>
<br>
This message may contain confidential information. If you are not the intended recipient please inform the<br>
sender that you have received the message in error before deleting it.<br>
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:<br>
to do so is strictly prohibited and may be unlawful.<br>
<br>
Thank you for your co-operation.<br>
<br>
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland<br>
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients<br>
NHSmail provides an email address for your career in the NHS and can be accessed anywhere<br>
<br>
********************************************************************************************************************<br>
</font>
</body>
</html>