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

Method ProcessRequest

Common/ExecutionModel/vtkDataSetAlgorithm.cxx:144–177  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

142
143//------------------------------------------------------------------------------
144vtkTypeBool vtkDataSetAlgorithm::ProcessRequest(
145 vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector)
146{
147 // generate the data
148 if (request->Has(vtkDemandDrivenPipeline::REQUEST_DATA()))
149 {
150 return this->RequestData(request, inputVector, outputVector);
151 }
152
153 // create the output
154 if (request->Has(vtkDemandDrivenPipeline::REQUEST_DATA_OBJECT()))
155 {
156 return this->RequestDataObject(request, inputVector, outputVector);
157 }
158
159 // execute information
160 if (request->Has(vtkDemandDrivenPipeline::REQUEST_INFORMATION()))
161 {
162 return this->RequestInformation(request, inputVector, outputVector);
163 }
164
165 // set update extent
166 if (request->Has(vtkStreamingDemandDrivenPipeline::REQUEST_UPDATE_EXTENT()))
167 {
168 return this->RequestUpdateExtent(request, inputVector, outputVector);
169 }
170
171 if (request->Has(vtkStreamingDemandDrivenPipeline::REQUEST_UPDATE_TIME()))
172 {
173 return this->RequestUpdateTime(request, inputVector, outputVector);
174 }
175
176 return this->Superclass::ProcessRequest(request, inputVector, outputVector);
177}
178
179//------------------------------------------------------------------------------
180int vtkDataSetAlgorithm::RequestDataObject(

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected