"Blessed are the Pure in Heart" (Matthew 5:8)

Christ assures us that those who are pure in heart will see God. Does this mean that if we are pure enough then we will have a vision or be taken up into heaven immediately? How do we know if we are pure enough to see God? How does one attain this purity blessing?