ArRef<Transform3D> calculateTransformation(double p, double r, double y){ ArRef<Transform3D> tr = Transform3D::NEW(); tr->prePitch(p); tr->preRoll(r); tr->preYaw(y); return tr; }