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

Method RequestUpdateExtent

Common/ExecutionModel/vtkTreeAlgorithm.cxx:107–121  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

105
106//------------------------------------------------------------------------------
107int vtkTreeAlgorithm::RequestUpdateExtent(vtkInformation* vtkNotUsed(request),
108 vtkInformationVector** inputVector, vtkInformationVector* vtkNotUsed(outputVector))
109{
110 int numInputPorts = this->GetNumberOfInputPorts();
111 for (int i = 0; i < numInputPorts; i++)
112 {
113 int numInputConnections = this->GetNumberOfInputConnections(i);
114 for (int j = 0; j < numInputConnections; j++)
115 {
116 vtkInformation* inputInfo = inputVector[i]->GetInformationObject(j);
117 inputInfo->Set(vtkStreamingDemandDrivenPipeline::EXACT_EXTENT(), 1);
118 }
119 }
120 return 1;
121}
122
123//------------------------------------------------------------------------------
124// This is the superclasses style of Execute method. Convert it into

Callers 1

ProcessRequestMethod · 0.95

Calls 4

GetInformationObjectMethod · 0.80
GetNumberOfInputPortsMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected