/** * Creates a plane info object. * * @param z The selected z-section. * @param t The selected time-point. * @param c The selected channel. * @return See above. * @throws Exception Thrown if an error occurred. */ public PlaneInfo createPlaneInfo(int z, int t, int c) throws Exception { PlaneInfo planeInfo = new PlaneInfoI(); planeInfo.setTheZ(omero.rtypes.rint(z)); planeInfo.setTheC(omero.rtypes.rint(c)); planeInfo.setTheT(omero.rtypes.rint(t)); planeInfo.setDeltaT(omero.rtypes.rdouble(0.5)); return planeInfo; }