MCPcopy Create free account
hub / github.com/Kitware/VTK / remove_ghosts

Function remove_ghosts

Filters/General/Testing/Python/testDataSetTriangleFilter.py:53–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51pf = vtkProgrammableFilter()
52pf.SetInputConnection(tris2.GetOutputPort())
53def remove_ghosts():
54 input = pf.GetInput()
55 output = pf.GetOutputDataObject(0)
56 output.ShallowCopy(input)
57 output.RemoveGhostCells()
58pf.SetExecuteMethod(remove_ghosts)
59edges = vtkExtractEdges()
60edges.SetInputConnection(pf.GetOutputPort())

Callers

nothing calls this directly

Calls 4

GetInputMethod · 0.45
GetOutputDataObjectMethod · 0.45
ShallowCopyMethod · 0.45
RemoveGhostCellsMethod · 0.45

Tested by

no test coverage detected