Yes, that implementation does look correct. For context and to add some sources, "the tf::Transform class overloads the * operator to combine transforms". Source