refactor: use dispatch whenever possible to kill the switch. Also some refactor for the new camera API
refactor: use dispatch whenever possible to kill the switch. Also some refactor for the new camera API

oscarlorentzon/OpenSfM,oscarlorentzon/OpenSfM,mapillary/OpenSfM,mapillary/OpenSfM,mapillary/OpenSfM,oscarlorentzon/OpenSfM,oscarlorentzon/OpenSfM,mapillary/OpenSfM,oscarlorentzon/OpenSfM,mapillary/OpenSfM