I'm no basketball oficionado, but I always thought a slam dunk was when a player forcefully thrusts the ball into the net from above, leaving no doubt about where the ball is going.
But I suppose it could have more than one meaning, ie. the shot before it's played and the way the shot is played.