MCPcopy Create free account
hub / github.com/Kitware/VTK / GetScalarsNameInFile

Method GetScalarsNameInFile

IO/Legacy/vtkDataReader.cxx:3614–3625  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

3612
3613//------------------------------------------------------------------------------
3614const 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//------------------------------------------------------------------------------
3628const char* vtkDataReader::GetVectorsNameInFile(int i)

Callers 1

setAllAttributesFunction · 0.80

Calls 1

CharacterizeFileMethod · 0.95

Tested by

no test coverage detected