The present invention involves a surgical hardware and software monitoring system and method which allows for surgical planning while the patient is available for surgery, for example while the patient is being prepared for surgery so that the system may model the surgical site. In one embodiment, the model may be used to track contemplated surgical procedures and warn the physician regarding possible boundary violations that would indicate an inappropriate location in a surgical procedure. In another embodiment, the hardware may track the movement of instruments during the procedure and in reference to the model to enhance observation of the procedure.