def register_importers(cls, import_prefs):
        """Register importers according to the import preferences."""
        cls._register_importer(
            import_prefs.colmap_importer_bool,
            ImportColmapOperator,
            _colmap_import_operator_function,
        )
        cls._register_importer(
            import_prefs.meshroom_importer_bool,
            ImportMeshroomOperator,
            _meshroom_import_operator_function,
        )
        cls._register_importer(
            import_prefs.mve_importer_bool,
            ImportMVEOperator,
            _mve_import_operator_function,
        )
        cls._register_importer(
            import_prefs.open3d_importer_bool,
            ImportOpen3DOperator,
            _open3d_import_operator_function,
        )
        cls._register_importer(
            import_prefs.opensfm_importer_bool,
            ImportOpenSfMOperator,
            _opensfm_import_operator_function,
        )
        cls._register_importer(
            import_prefs.openmvg_importer_bool,
            ImportOpenMVGOperator,
            _openmvg_import_operator_function,
        )
        cls._register_importer(
            import_prefs.point_data_importer_bool,
            ImportPointDataOperator,
            _point_data_import_operator_function,
        )
        cls._register_importer(
            import_prefs.visualsfm_importer_bool,
            ImportVisualSfMOperator,
            _visualsfm_import_operator_function,
        )
        cls._register_importer(
            import_prefs.instant_ngp_importer_bool,
            ImportInstantNGPOperator,
            _instant_ngp_import_operator_function,
        )
Register importers according to the import preferences.
photogrammetry_importer/registration/registration.py