/** * Gets an image panel in this group with the specified axis. * @param axis the axis. * @return the image panel; null, if none has the axis specified. */ public ImagePanel getImagePanel(Axis axis) { for (ImagePanel ip:_ipList) { if (axis==ip.getFrame().getAxis()) return ip; } return null; }
/** * Gets a 1st image panel in this group with the specified axis. * @param axis the axis. * @return the image panel; null, if none has the axis specified. */ public ImagePanel getImagePanel1(Axis axis) { for (ImagePanel ip:_ip1List) { if (axis==ip.getFrame().getAxis()) return ip; } return null; }
/** * Gets a 2nd image panel in this group with the specified axis. * @param axis the axis. * @return the image panel; null, if none has the axis specified. */ public ImagePanel getImagePanel2(Axis axis) { for (ImagePanel ip:_ip2List) { if (axis==ip.getFrame().getAxis()) return ip; } return null; }
double zk = fz+kz*dz; for (ImagePanel ip:_ipList) { AxisAlignedFrame frame = ip.getFrame(); Axis axis = frame.getAxis(); if (axis==Axis.X) {
double zk = fz+kz*dz; for (ImagePanel ip:_ip1List) { AxisAlignedFrame frame = ip.getFrame(); Axis axis = frame.getAxis(); if (axis==Axis.X) {
private void drawTextures() { AxisAlignedFrame frame = getFrame(); if (frame==null) return;