Virtual Work and Shape Change in Solid Mechanics