def register_engine(self, engine, name=''):

        engines = self.engines
        if len(name) == 0:
            name = '%s%d'%(engine.__class__.__name__,
                           len(engines) + 1)

        logger.debug('Engine [%s] named %s registered', engine, name)
        engines[name] = engine
Registers a mayavi engine with an optional name.   Note that
dataset/ETHPy150Open enthought/mayavi/mayavi/core/registry.py/Registry.register_engine