classes to generate egomotion and simple motion flows