<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 10, 2010, at 2:57 PM, Josh Moore wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>Shawn Garbett writes:<br><blockquote type="cite">I'm writing Omero to matlab code and I've run into the following<br></blockquote><blockquote type="cite">problem:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">gateway.getPlane(pixelsId, 0, 0, 0) ??? No method 'getPlane'<br></blockquote></blockquote></blockquote><blockquote type="cite">with matching signature found for class<br></blockquote><blockquote type="cite">'omero.api.GatewayPrxHelper'.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I looked into javadoc and couldn't find any documentation for<br></blockquote><blockquote type="cite">omero.api.GatewayPrxHelper. So I dove into the source code and<br></blockquote><blockquote type="cite">found the routine. The function exists, but not from<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--------------------------<br></blockquote><blockquote type="cite">OmeroMatlab Toolbox <br></blockquote><blockquote type="cite">Beta-4.2.0-DEV-r6240-b2918<br></blockquote><blockquote type="cite">--------------------------<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Suggestions?<br></blockquote><br>Documentation for Gateway.getPlane is available here:<br><a href="http://hudson.openmicroscopy.org.uk/job/OMERO/javadoc/slice2html/omero/api/Gateway.html#getPlane">http://hudson.openmicroscopy.org.uk/job/OMERO/javadoc/slice2html/omero/api/Gateway.html#getPlane</a><br><br>It requires a long for the first parameter. How did you set the<br>pixelsId variable?<br><br><blockquote type="cite"><blockquote type="cite">c = loadOmero('myserver');<br></blockquote></blockquote>--------------------------<br>OmeroMatlab Toolbox <br>Beta-4.2.0-DEV-r6240-S1995<br>--------------------------<br><br><blockquote type="cite"><blockquote type="cite">sf = c.createSession('demo','ome');<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">sf = c.createSession('demo','omero');<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">g = sf.createGateway();<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">p = g.getPlane(936,0,0,0);<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><br></div></blockquote><br></div><div>Ah,  g.getPlane(pixelsId.getValue(), 0, 0, 0); works.</div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Shawn Garbett <<a href="mailto:shawn.p.garbett@vanderbilt.edu">shawn.p.garbett@vanderbilt.edu</a>></div><div>Vanderbilt Cancer Biology</div><div>220 Pierce Ave, PRB 715AA</div><div>Nashville, TN 37232</div><div>Office: 615.936.1975</div><div>Cell: 615.397.8737</div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>