The disclosure describes a method and system that generates stimulation
parameters by selecting one or more stimulation parameters according to a
stimulation field defined by a user. The system includes a memory that
stores a plurality of stimulation templates for multiple electrode
configurations of an electrical lead. A processor selects one or more
volumetric stimulation templates that best match, e.g., fill, the
three-dimensional stimulation field defined by the clinician. Each
stimulation template is associated with a set of stimulation parameters
that can be used to deliver stimulation therapy to a patient.