------------------------------------------------------------------------------
| 514 | |
| 515 | //------------------------------------------------------------------------------ |
| 516 | bool vtkHDFReader::Implementation::GetImageAttributes( |
| 517 | int WholeExtent[6], double Origin[3], double Spacing[3]) |
| 518 | { |
| 519 | |
| 520 | if (!this->GetAttribute("WholeExtent", 6, WholeExtent)) |
| 521 | { |
| 522 | vtkErrorWithObjectMacro(this->Reader, "Could not get WholeExtent attribute"); |
| 523 | return false; |
| 524 | } |
| 525 | if (!this->GetAttribute("Origin", 3, Origin)) |
| 526 | { |
| 527 | vtkErrorWithObjectMacro(this->Reader, "Could not get Origin attribute"); |
| 528 | return false; |
| 529 | } |
| 530 | if (!this->GetAttribute("Spacing", 3, Spacing)) |
| 531 | { |
| 532 | vtkErrorWithObjectMacro(this->Reader, "Could not get Spacing attribute"); |
| 533 | return false; |
| 534 | } |
| 535 | |
| 536 | return true; |
| 537 | } |
| 538 | |
| 539 | //------------------------------------------------------------------------------ |
| 540 | bool vtkHDFReader::Implementation::ComputeAMROffsetsPerLevels( |
no test coverage detected