Virtual resection