| 227 | } |
| 228 | |
| 229 | int vtkMetaImageReader::RequestInformation( |
| 230 | vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) |
| 231 | { |
| 232 | |
| 233 | this->ExecuteInformation(); |
| 234 | |
| 235 | vtkInformation* outInfo = outputVector->GetInformationObject(0); |
| 236 | |
| 237 | outInfo->Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), this->DataExtent, 6); |
| 238 | outInfo->Set(vtkDataObject::SPACING(), this->DataSpacing, 3); |
| 239 | outInfo->Set(vtkDataObject::ORIGIN(), this->DataOrigin, 3); |
| 240 | |
| 241 | vtkDataObject::SetPointDataActiveScalarInfo( |
| 242 | outInfo, this->DataScalarType, this->NumberOfScalarComponents); |
| 243 | |
| 244 | return 1; |
| 245 | } |
| 246 | |
| 247 | //------------------------------------------------------------------------------ |
| 248 | int vtkMetaImageReader::CanReadFile(const char* fname) |
nothing calls this directly
no test coverage detected