Geometric realizations of BPS states in N=2 theories