/** * Prepare a bar checker on the provided sheet * * @param sheet the sheet to process * @param rough true for rough tests (when retrieving staff frames), false for precise tests */ public BarsChecker(Sheet sheet, boolean rough) { this.sheet = sheet; this.rough = rough; scale = sheet.getScale(); suite = new BarCheckSuite(); staffManager = sheet.getStaffManager(); }