示例#1
0
文件: cad_mesh.py 项目: gwiedemair/xc
def VtkCargaIdsCells(uGrid, setToDraw, entTypeName):
    etiqCells = create_array_set_data.VtkCreaStrArraySetData(
        setToDraw, entTypeName, 'nombre')
    uGrid.GetCellData().AddArray(etiqCells)
示例#2
0
文件: cad_mesh.py 项目: gwiedemair/xc
def VtkCargaIdsKPts(uGrid, setToDraw):
    etiqKPt = create_array_set_data.VtkCreaStrArraySetData(
        setToDraw, 'pnts', 'nombre')
    uGrid.GetPointData().AddArray(etiqKPt)