Effects of the vortex line shape on the critical current density in high Tc superconducting film with nanorod pinning centers