Preoperative 3D planning in cranial neurosurgery