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

Method GetCellType

Common/DataModel/vtkStructuredGrid.cxx:141–146  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

139
140//------------------------------------------------------------------------------
141int vtkStructuredGrid::GetCellType(vtkIdType cellId)
142{
143 // see whether the cell is blanked
144 return this->IsCellVisible(cellId) ? static_cast<int>(this->StructuredCellTypes->GetValue(cellId))
145 : VTK_EMPTY_CELL;
146}
147
148//------------------------------------------------------------------------------
149vtkIdType vtkStructuredGrid::GetCellSize(vtkIdType cellId)

Callers

nothing calls this directly

Calls 2

IsCellVisibleMethod · 0.95
GetValueMethod · 0.45

Tested by

no test coverage detected