------------------------------------------------------------------------------
| 805 | |
| 806 | //------------------------------------------------------------------------------ |
| 807 | int vtkMNIObjectReader::RequestData(vtkInformation* vtkNotUsed(request), |
| 808 | vtkInformationVector** vtkNotUsed(inputVector), vtkInformationVector* outputVector) |
| 809 | { |
| 810 | // get the info object |
| 811 | vtkInformation* outInfo = outputVector->GetInformationObject(0); |
| 812 | |
| 813 | // get the output |
| 814 | vtkPolyData* output = vtkPolyData::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT())); |
| 815 | |
| 816 | // all of the data in the first piece. |
| 817 | if (outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER()) > 0) |
| 818 | { |
| 819 | return 0; |
| 820 | } |
| 821 | |
| 822 | // read the file |
| 823 | return this->ReadFile(output); |
| 824 | } |
| 825 | VTK_ABI_NAMESPACE_END |
nothing calls this directly
no test coverage detected