def getGLObjectType(overlayType):
    """This function returns an appropriate :class:`GLObject` type for the
    given :attr:`.Display.overlayType` value.
    """
    from . import glvolume
    from . import glrgbvolume
    from . import glcomplex
    from . import glmask
    from . import glrgbvector
    from . import gllinevector
    from . import glmesh
    from . import gllabel
    from . import gltensor
    from . import glsh
    from . import glmip
    typeMap = {'volume': glvolume.GLVolume, 'mask': glmask.GLMask,
        'rgbvector': glrgbvector.GLRGBVector, 'linevector': gllinevector.
        GLLineVector, 'mesh': glmesh.GLMesh, 'label': gllabel.GLLabel,
        'tensor': gltensor.GLTensor, 'sh': glsh.GLSH, 'mip': glmip.GLMIP,
        'rgb': glrgbvolume.GLRGBVolume, 'complex': glcomplex.GLComplex}
    return typeMap.get(overlayType, None)
