Example #1
0
def VtkCargaIdsCells(uGrid, setToDraw, entTypeName):
    etiqCells = create_array_set_data.VtkCreaStrArraySetData(
        setToDraw, entTypeName, 'nombre')
    uGrid.GetCellData().AddArray(etiqCells)
Example #2
0
def VtkCargaIdsKPts(uGrid, setToDraw):
    etiqKPt = create_array_set_data.VtkCreaStrArraySetData(
        setToDraw, 'pnts', 'nombre')
    uGrid.GetPointData().AddArray(etiqKPt)