Doxygen comment for getAll.
Cleaned up Mesh::dump function.
Create indices if there are the vertices to do so.