def convertToIndexList(vertList):
    """ convert components given to a list of indices

    :param vertList: list of components
    :type vertList: list
    :return: list of integers representing the components values
    :rtype: list
    """
    indices = []
    for i in vertList:
        index = int(i[i.index("[") + 1: -1])
        indices.append(index)
    return indices