------------------------------------------------------------------------------ Turn off a particular data point.
| 285 | //------------------------------------------------------------------------------ |
| 286 | // Turn off a particular data point. |
| 287 | void vtkCartesianGrid::BlankPoint(vtkIdType ptId) |
| 288 | { |
| 289 | vtkUnsignedCharArray* ghosts = this->GetPointGhostArray(); |
| 290 | if (!ghosts) |
| 291 | { |
| 292 | this->AllocatePointGhostArray(); |
| 293 | ghosts = this->GetPointGhostArray(); |
| 294 | } |
| 295 | ghosts->SetValue(ptId, ghosts->GetValue(ptId) | vtkDataSetAttributes::HIDDENPOINT); |
| 296 | assert(!this->IsPointVisible(ptId)); |
| 297 | } |
| 298 | |
| 299 | //------------------------------------------------------------------------------ |
| 300 | void vtkCartesianGrid::BlankPoint(int i, int j, int k) |