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

Method OutputPortIndexInRange

Common/ExecutionModel/vtkAlgorithm.cxx:1143–1154  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1141
1142//------------------------------------------------------------------------------
1143int vtkAlgorithm::OutputPortIndexInRange(int index, const char* action)
1144{
1145 // Make sure the index of the output port is in range.
1146 if (index < 0 || index >= this->GetNumberOfOutputPorts())
1147 {
1148 vtkErrorMacro("Attempt to " << (action ? action : "access") << " output port index " << index
1149 << " for an algorithm with " << this->GetNumberOfOutputPorts()
1150 << " output ports.");
1151 return 0;
1152 }
1153 return 1;
1154}
1155
1156//------------------------------------------------------------------------------
1157void vtkAlgorithm::SetDefaultExecutivePrototype(vtkExecutive* proto)

Callers 7

GetOutputPortMethod · 0.95
SetReleaseDataFlagMethod · 0.45
GetReleaseDataFlagMethod · 0.45
SetRequestExactExtentMethod · 0.45
GetRequestExactExtentMethod · 0.45

Calls 1

Tested by

no test coverage detected