------------------------------------------------------------------------------
| 97 | |
| 98 | //------------------------------------------------------------------------------ |
| 99 | int vtkAVSucdReader::RequestData(vtkInformation* vtkNotUsed(request), |
| 100 | vtkInformationVector** vtkNotUsed(inputVector), vtkInformationVector* outputVector) |
| 101 | { |
| 102 | // get the info object |
| 103 | vtkInformation* outInfo = outputVector->GetInformationObject(0); |
| 104 | |
| 105 | // get the output |
| 106 | vtkUnstructuredGrid* output = |
| 107 | vtkUnstructuredGrid::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT())); |
| 108 | |
| 109 | vtkDebugMacro(<< "Reading AVS UCD file"); |
| 110 | |
| 111 | // If ExecuteInformation() failed FileStream will be nullptr and |
| 112 | // ExecuteInformation() will have spit out an error. |
| 113 | if (this->FileStream) |
| 114 | { |
| 115 | this->ReadFile(output); |
| 116 | } |
| 117 | |
| 118 | return 1; |
| 119 | } |
| 120 | |
| 121 | //------------------------------------------------------------------------------ |
| 122 | void vtkAVSucdReader::PrintSelf(ostream& os, vtkIndent indent) |
nothing calls this directly
no test coverage detected