I wrote a (beta) plugin called Perspective Transformation that does something somewhat similar.
I'm not sure it does what you want, though, because there's no perspective specification, as in your example. I really don't understand how to make sense of the control you show. It has a quadrilateral, which seems to represent a perspective-transformed rectangle, and it's got a control to specify the amount of perspective. But the perspective transformation for a given rectangle to a given quadrilateral is unique: changing the amount of perspective changes the quadrilateral. I don't doubt what they're doing makes sense; I just don't know what they're doing.