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

Method ProcessRequest

Common/ExecutionModel/vtkImageAlgorithm.cxx:77–104  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

75
76//------------------------------------------------------------------------------
77vtkTypeBool vtkImageAlgorithm::ProcessRequest(
78 vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector)
79{
80 // generate the data
81 if (request->Has(vtkDemandDrivenPipeline::REQUEST_DATA()))
82 {
83 return this->RequestData(request, inputVector, outputVector);
84 }
85
86 // execute information
87 if (request->Has(vtkDemandDrivenPipeline::REQUEST_INFORMATION()))
88 {
89 return this->RequestInformation(request, inputVector, outputVector);
90 }
91
92 // propagate update extent
93 if (request->Has(vtkStreamingDemandDrivenPipeline::REQUEST_UPDATE_EXTENT()))
94 {
95 return this->RequestUpdateExtent(request, inputVector, outputVector);
96 }
97
98 if (request->Has(vtkStreamingDemandDrivenPipeline::REQUEST_UPDATE_TIME()))
99 {
100 return this->RequestUpdateTime(request, inputVector, outputVector);
101 }
102
103 return this->Superclass::ProcessRequest(request, inputVector, outputVector);
104}
105
106void vtkImageAlgorithm::ExecuteDataWithInformation(vtkDataObject* dobj, vtkInformation*)
107{

Callers

nothing calls this directly

Calls 5

RequestDataMethod · 0.95
RequestInformationMethod · 0.95
RequestUpdateExtentMethod · 0.95
RequestUpdateTimeMethod · 0.95
HasMethod · 0.45

Tested by

no test coverage detected