Patent attributes
Systems, methods, software and techniques are disclosed for morphing a generic virtual boundary into a patient-specific virtual boundary for an anatomical model. The generic virtual boundary comprises one or more morphable faces. An intersection of the generic virtual boundary and the anatomical model is computed to define a cross-sectional contour of the anatomical model. One or more faces of the generic virtual boundary are morphed to conform to the cross-sectional contour of the anatomical model to produce the patient-specific virtual boundary. In some cases, the morphed faces are spaced apart from the cross-sectional contour by an offset distance that accounts for a geometric feature of a surgical tool.