Transformations and Basis in the Computer Graphics Viewing Pipeline

A method and apparatus for evaluating heart rate variability of the heart of a person in order to forecast a cardiac event. A cardiac stimulator receives heart beat signals from the heart and determines a measurement of heart rate variability based on statistical data derived from the heart beat signals and sensing data derived from a sensor. This measurement of heart rate variability is compared with previously stored heart rate variability zones defining normal and abnormal heart rate variability. These zones are modifiable after the occurrence of a cardiac event. Once a cardiac event is detected, a pathway is computed which extends from a generally normal heart rate variability condition to an abnormal heart rate variability condition. Subsequent measurements of heart rate variability are compared with this pathway. Selective therapy regimes are initiated depending on the measurement of heart rate variability.