They theorized that pain intensity (the sensory discriminative dimension) and unpleasantness (the affective-motivational dimension) are not simply determined by the magnitude of the painful stimulus, but "higher" cognitive activities can influence perceived intensity and unpleasantness.
What did Melzack and Casey theorize could influence the perception of the magnitude of pain?
cognitive activities