Exemplo n.º 1
0
def appendPolyData(polyDataList):
    assert len(polyDataList)
    append = vtk.vtkAppendPolyData()
    for polyData in polyDataList:
        append.AddInput(polyData)
    append.Update()
    return shallowCopy(append.GetOutput())
Exemplo n.º 2
0
def appendPolyData(polyDataList):
    append = vtk.vtkAppendPolyData()
    if polyDataList:
        for polyData in polyDataList:
            append.AddInputData(polyData)
        append.Update()
    return shallowCopy(append.GetOutput())
Exemplo n.º 3
0
 def __init__(self):
     self.append = vtk.vtkAppendPolyData()
Exemplo n.º 4
0
 def __init__(self):
     self.append = vtk.vtkAppendPolyData()