Plant cell morphogenesis depends critically on two processes: the deposition of new wall material at the cell surface and the mechanical deformation of this material by the stresses resulting from the cell's turgor pressure. We developed a model of plant cell morphogenesis that is a first attempt at integrating these two processes. The model is based on the theories of thin shells and anisotropic viscoplasticity. It includes three sets of equations that give the connection between wall stresses, wall strains and cell geometry. We present an algorithm to solve these equations numerically. Application of this simulation approach to the morphogenesis of tip-growing cells illustrates how the viscoplastic properties of the cell wall affect the shape of the cell at steady state. The same simulation approach was also used to reproduce morphogenetic transients such as the initiation of tip growth and other non-steady changes in cell shape. Finally, we show that the mechanical anisotropy built into the model is required to account for observed patterns of wall expansion in plant cells.