Variational Shape Modeling