Medical applications of implicit surfaces