------------------------------------------------------------------------------ Turn off a particular data point.
| 276 | //------------------------------------------------------------------------------ |
| 277 | // Turn off a particular data point. |
| 278 | void vtkStructuredGrid::BlankPoint(vtkIdType ptId) |
| 279 | { |
| 280 | vtkUnsignedCharArray* ghosts = this->GetPointGhostArray(); |
| 281 | if (!ghosts) |
| 282 | { |
| 283 | ghosts = this->AllocatePointGhostArray(); |
| 284 | } |
| 285 | ghosts->SetValue(ptId, ghosts->GetValue(ptId) | vtkDataSetAttributes::HIDDENPOINT); |
| 286 | assert(!this->IsPointVisible(ptId)); |
| 287 | } |
| 288 | |
| 289 | //------------------------------------------------------------------------------ |
| 290 | // Turn on a particular data point. |
nothing calls this directly
no test coverage detected