Added segmented control into demo to be able to pick the transform type.