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

Method UnBlankCell

Common/DataModel/vtkCartesianGrid.cxx:352–361  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Turn on a particular data cell.

Source from the content-addressed store, hash-verified

350//------------------------------------------------------------------------------
351// Turn on a particular data cell.
352void vtkCartesianGrid::UnBlankCell(vtkIdType cellId)
353{
354 vtkUnsignedCharArray* ghosts = this->GetCellGhostArray();
355 if (!ghosts)
356 {
357 return;
358 }
359 ghosts->SetValue(cellId, ghosts->GetValue(cellId) & ~vtkDataSetAttributes::HIDDENCELL);
360 assert(this->IsCellVisible(cellId));
361}
362
363//------------------------------------------------------------------------------
364void vtkCartesianGrid::UnBlankCell(int i, int j, int k)

Callers 1

RequestDataMethod · 0.45

Calls 7

IsCellVisibleMethod · 0.95
GetDimensionsMethod · 0.95
GetNumberOfCellsMethod · 0.95
GetCellGhostArrayMethod · 0.80
assertFunction · 0.50
SetValueMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected