A comprehensive lattice study of SU(3) glueballs