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

Method InputCountIsValid

Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:645–657  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

643
644//------------------------------------------------------------------------------
645int vtkDemandDrivenPipeline::InputCountIsValid(vtkInformationVector** inInfoVec)
646{
647 // Check the number of connections for each port.
648 int result = 1;
649 for (int p = 0; p < this->Algorithm->GetNumberOfInputPorts(); ++p)
650 {
651 if (!this->InputCountIsValid(p, inInfoVec))
652 {
653 result = 0;
654 }
655 }
656 return result;
657}
658
659//------------------------------------------------------------------------------
660int vtkDemandDrivenPipeline::InputCountIsValid(int port, vtkInformationVector** inInfoVec)

Callers 2

ProcessRequestMethod · 0.95
ProcessRequestMethod · 0.80

Calls 4

InputIsOptionalMethod · 0.95
InputIsRepeatableMethod · 0.95
GetNumberOfInputPortsMethod · 0.45
GetObjectDescriptionMethod · 0.45

Tested by

no test coverage detected