In Craig Gentry's thesis on implementing a homomorphic encryption scheme, he defines an ideal lattice as an ideal in the quotient ring $\mathbb Z[x]/\langle f\rangle$, with $f$ a polynomial of degree $n$. I understand that such a quotient ring can be represented as a lattice of ideals with the bottom element $\langle f \rangle$ and the top element $\mathbb Z[x]$, with larger ideals containing $\langle f \rangle$ in between.
Gentry then says that each ideal in this ring can be "represented by a lattice generated by the columns of a lattice basis $\mathbf B_I$, an $n \times n$ matrix".
The principal ideal $\langle f \rangle$ and its larger ideals above it in the lattice are generated by polynomials of degree $\leq n$, but how does one determine the rest of the lattice's structure using such a matrix?