Development of an intraoperative planning and guidance system for mandibular reconstruction