A notion of duality for twistor functions