Plastic and elastic symmetry transformations induced in the vortex lattice of anisotropic and layered superconductors