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

Method GetDataAttributeName

IO/Geometry/vtkTecplotReader.cxx:569–578  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

567
568//------------------------------------------------------------------------------
569const char* vtkTecplotReader::GetDataAttributeName(int attrIndx)
570{
571 if (attrIndx < 0 && attrIndx >= this->GetNumberOfDataAttributes())
572 {
573 return nullptr;
574 }
575
576 return this->Variables[attrIndx + this->Variables.size() - this->GetNumberOfDataAttributes()]
577 .c_str();
578}
579
580//------------------------------------------------------------------------------
581int vtkTecplotReader::IsDataAttributeCellBased(int attrIndx)

Callers 1

GetDataArraysListMethod · 0.95

Calls 3

c_strMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected