def getNeighbours(mVtxItter, index):
    """ get the direct neighbors of current vertex index connected by edge

    :param mVtxItter: the iterator that goes over all vertices
    :type mVtxItter: MItMeshVertex
    :param index: index of the vertex to get neighbor data from
    :type index: int
    :return: set of all neighbours of current index
    :rtype: set
    """
    mVtxItter.setIndex(index)
    intArray = mVtxItter.getConnectedVertices()
    return set(int(x) for x in intArray)