def set_camera_center_after_rotation(self, center, check_rotation=True):
        """Set the camera center after setting the camera rotation."""
        if check_rotation:
            assert is_rotation_mat(self._rotation_mat)
        self._center = center
        # t = -R C
        self._translation_vec = -np.dot(self._rotation_mat, center)
Set the camera center after setting the camera rotation.
photogrammetry_importer/types/camera.py