Proposal for a geometric characterisation of topological string partition functions