------------------------------------------------------------------------------
| 511 | |
| 512 | //------------------------------------------------------------------------------ |
| 513 | unsigned long vtkImageReader2::GetHeaderSize() |
| 514 | { |
| 515 | unsigned long firstIdx; |
| 516 | |
| 517 | if (this->FileNames) |
| 518 | { |
| 519 | // if FileNames is used, indexing always starts at zero |
| 520 | firstIdx = 0; |
| 521 | } |
| 522 | else |
| 523 | { |
| 524 | // FilePrefix uses the DataExtent to figure out the first slice index |
| 525 | firstIdx = this->DataExtent[4]; |
| 526 | } |
| 527 | |
| 528 | return this->GetHeaderSize(firstIdx); |
| 529 | } |
| 530 | |
| 531 | //------------------------------------------------------------------------------ |
| 532 | unsigned long vtkImageReader2::GetHeaderSize(unsigned long idx) |
no test coverage detected