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

Method ConvertTotalInputToPortConnection

Common/ExecutionModel/vtkAlgorithm.cxx:1786–1804  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1784
1785//------------------------------------------------------------------------------
1786void vtkAlgorithm::ConvertTotalInputToPortConnection(int ind, int& port, int& conn)
1787{
1788 port = 0;
1789 conn = 0;
1790 while (ind && port < this->GetNumberOfInputPorts())
1791 {
1792 int pNumCon;
1793 pNumCon = this->GetNumberOfInputConnections(port);
1794 if (ind >= pNumCon)
1795 {
1796 port++;
1797 ind -= pNumCon;
1798 }
1799 else
1800 {
1801 return;
1802 }
1803 }
1804}
1805
1806//------------------------------------------------------------------------------
1807void vtkAlgorithm::ReleaseDataFlagOn()

Callers 1

Calls 2

GetNumberOfInputPortsMethod · 0.95

Tested by

no test coverage detected