1. A method for generating a three-dimensional shape of a medical device comprising: extracting a region of interest from a volumetric image of the patient, wherein the volumetric image comprises target tissue of interest of a patient; matching a template onto a surface of patient's target tissue of interest; producing a three-dimensional shape that fits the patient's target tissue of interest; and producing a three-dimensional shape from the three-dimensional shape that fits relative to the surrounding anatomy of the patient.