------------------------------------------------------------------------------
| 3612 | |
| 3613 | //------------------------------------------------------------------------------ |
| 3614 | const char* vtkDataReader::GetScalarsNameInFile(int i) |
| 3615 | { |
| 3616 | this->CharacterizeFile(); |
| 3617 | if (!this->ScalarsNameInFile || i < 0 || i >= this->NumberOfScalarsInFile) |
| 3618 | { |
| 3619 | return nullptr; |
| 3620 | } |
| 3621 | else |
| 3622 | { |
| 3623 | return this->ScalarsNameInFile[i]; |
| 3624 | } |
| 3625 | } |
| 3626 | |
| 3627 | //------------------------------------------------------------------------------ |
| 3628 | const char* vtkDataReader::GetVectorsNameInFile(int i) |
no test coverage detected