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

Method UnBlankPoint

Common/DataModel/vtkStructuredGrid.cxx:291–299  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Turn on a particular data point.

Source from the content-addressed store, hash-verified

289//------------------------------------------------------------------------------
290// Turn on a particular data point.
291void vtkStructuredGrid::UnBlankPoint(vtkIdType ptId)
292{
293 vtkUnsignedCharArray* ghosts = this->GetPointGhostArray();
294 if (ghosts)
295 {
296 ghosts->SetValue(ptId, ghosts->GetValue(ptId) & ~vtkDataSetAttributes::HIDDENPOINT);
297 }
298 assert(this->IsPointVisible(ptId));
299}
300
301//------------------------------------------------------------------------------
302// Turn off a particular data cell.

Callers

nothing calls this directly

Calls 5

IsPointVisibleMethod · 0.95
GetPointGhostArrayMethod · 0.80
assertFunction · 0.50
SetValueMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected