3D Representation Learning for Shape Reconstruction and Understanding