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

Method ProcessRequest

Common/ExecutionModel/vtkUniformGridAMRAlgorithm.cxx:59–93  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

57
58//------------------------------------------------------------------------------
59vtkTypeBool vtkUniformGridAMRAlgorithm::ProcessRequest(
60 vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector)
61{
62 // create the output
63 if (request->Has(vtkDemandDrivenPipeline::REQUEST_DATA_OBJECT()))
64 {
65 return this->RequestDataObject(request, inputVector, outputVector);
66 }
67
68 // generate the data
69 if (request->Has(vtkCompositeDataPipeline::REQUEST_DATA()))
70 {
71 int retVal = this->RequestData(request, inputVector, outputVector);
72 return (retVal);
73 }
74
75 // execute information
76 if (request->Has(vtkDemandDrivenPipeline::REQUEST_INFORMATION()))
77 {
78 return this->RequestInformation(request, inputVector, outputVector);
79 }
80
81 // set update extent
82 if (request->Has(vtkCompositeDataPipeline::REQUEST_UPDATE_EXTENT()))
83 {
84 return (this->RequestUpdateExtent(request, inputVector, outputVector));
85 }
86
87 if (request->Has(vtkCompositeDataPipeline::REQUEST_UPDATE_TIME()))
88 {
89 return (this->RequestUpdateTime(request, inputVector, outputVector));
90 }
91
92 return (this->Superclass::ProcessRequest(request, inputVector, outputVector));
93}
94
95//------------------------------------------------------------------------------
96vtkExecutive* vtkUniformGridAMRAlgorithm::CreateDefaultExecutive()

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected