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

Method IsDataAttributeCellBased

IO/Geometry/vtkTecplotReader.cxx:581–592  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

579
580//------------------------------------------------------------------------------
581int vtkTecplotReader::IsDataAttributeCellBased(int attrIndx)
582{
583 int cellBasd = -1;
584 if (attrIndx >= 0 && attrIndx < this->GetNumberOfDataAttributes())
585 {
586 // the if-statement ensures that this->CellBased has been ready
587 cellBasd =
588 this->CellBased[attrIndx + this->CellBased.size() - this->GetNumberOfDataAttributes()];
589 }
590
591 return cellBasd;
592}
593
594//------------------------------------------------------------------------------
595int vtkTecplotReader::IsDataAttributeCellBased(const char* attrName)

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45

Tested by

no test coverage detected