//----------------------------------------------------------------------------// // // // G r i d S t e p // // // //----------------------------------------------------------------------------// // <editor-fold defaultstate="collapsed" desc="hdr"> // // Copyright © Hervé Bitteur and others 2000-2013. All rights reserved. // // This software is released under the GNU General Public License. // // Goto http://kenai.com/projects/audiveris to report bugs or suggestions. // //----------------------------------------------------------------------------// // </editor-fold> package omr.step; import omr.sheet.Sheet; import omr.sheet.SystemInfo; import java.util.Collection; /** * Class {@code GridStep} determine the systems frames of a sheet. * * @author Hervé Bitteur */ public class GridStep extends AbstractStep { //~ Constructors ----------------------------------------------------------- //----------// // GridStep // //----------// /** * Creates a new GridStep object. */ public GridStep () { super( Steps.GRID, Level.SHEET_LEVEL, Mandatory.MANDATORY, "Dewarped", "Retrieve the grid of all systems"); } //~ Methods ---------------------------------------------------------------- //------// // doit // //------// @Override public void doit (Collection<SystemInfo> unused, Sheet sheet) throws StepException { sheet.reset(Steps.GRID); sheet.getGridBuilder() .buildInfo(); } }