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

Method RequestUpdateExtent

Common/ExecutionModel/vtkAnnotationLayersAlgorithm.cxx:100–114  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

98
99//------------------------------------------------------------------------------
100int vtkAnnotationLayersAlgorithm::RequestUpdateExtent(vtkInformation* vtkNotUsed(request),
101 vtkInformationVector** inputVector, vtkInformationVector* vtkNotUsed(outputVector))
102{
103 int numInputPorts = this->GetNumberOfInputPorts();
104 for (int i = 0; i < numInputPorts; i++)
105 {
106 int numInputConnections = this->GetNumberOfInputConnections(i);
107 for (int j = 0; j < numInputConnections; j++)
108 {
109 vtkInformation* inputInfo = inputVector[i]->GetInformationObject(j);
110 inputInfo->Set(vtkStreamingDemandDrivenPipeline::EXACT_EXTENT(), 1);
111 }
112 }
113 return 1;
114}
115
116//------------------------------------------------------------------------------
117int vtkAnnotationLayersAlgorithm::RequestUpdateTime(

Callers 1

ProcessRequestMethod · 0.95

Calls 4

GetInformationObjectMethod · 0.80
GetNumberOfInputPortsMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected