Efficient Spatial Representation and Routing of Deformable One-Dimensional Objects for Manipulation