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

Method RemoveInputData

Filters/General/vtkRemovePolyData.cxx:46–60  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Remove a dataset from the list of data to process.

Source from the content-addressed store, hash-verified

44//------------------------------------------------------------------------------
45// Remove a dataset from the list of data to process.
46void vtkRemovePolyData::RemoveInputData(vtkPolyData* ds)
47{
48 if (!ds)
49 {
50 return;
51 }
52 int numCons = this->GetNumberOfInputConnections(0);
53 for (int i = 0; i < numCons; i++)
54 {
55 if (this->GetInput(i) == ds)
56 {
57 this->RemoveInputConnection(0, this->GetInputConnection(0, i));
58 }
59 }
60}
61
62//------------------------------------------------------------------------------
63// The core threaded algorithms follow.

Callers

nothing calls this directly

Calls 4

GetInputMethod · 0.95
RemoveInputConnectionMethod · 0.45
GetInputConnectionMethod · 0.45

Tested by

no test coverage detected