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

Method GetCellType

Common/DataModel/vtkCartesianGrid.cxx:118–123  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

116
117//------------------------------------------------------------------------------
118int vtkCartesianGrid::GetCellType(vtkIdType cellId)
119{
120 // see whether the cell is blanked
121 return this->IsCellVisible(cellId) ? static_cast<int>(this->StructuredCellTypes->GetValue(cellId))
122 : VTK_EMPTY_CELL;
123}
124
125//------------------------------------------------------------------------------
126vtkIdType vtkCartesianGrid::GetCellSize(vtkIdType cellId)

Callers

nothing calls this directly

Calls 2

IsCellVisibleMethod · 0.95
GetValueMethod · 0.45

Tested by

no test coverage detected