Enriching morphing behavior of shape memory polymer via spatiotemporal controls