------------------------------------------------------------------------------ Turn off a particular data cell.
| 301 | //------------------------------------------------------------------------------ |
| 302 | // Turn off a particular data cell. |
| 303 | void vtkStructuredGrid::BlankCell(vtkIdType cellId) |
| 304 | { |
| 305 | vtkUnsignedCharArray* ghosts = this->GetCellGhostArray(); |
| 306 | if (!ghosts) |
| 307 | { |
| 308 | ghosts = this->AllocateCellGhostArray(); |
| 309 | } |
| 310 | ghosts->SetValue(cellId, ghosts->GetValue(cellId) | vtkDataSetAttributes::HIDDENCELL); |
| 311 | assert(!this->IsCellVisible(cellId)); |
| 312 | } |
| 313 | |
| 314 | //------------------------------------------------------------------------------ |
| 315 | // Turn on a particular data cell. |
nothing calls this directly
no test coverage detected