------------------------------------------------------------------------------ Return non-zero if the specified cell is visible (i.e., not blanked)
| 713 | //------------------------------------------------------------------------------ |
| 714 | // Return non-zero if the specified cell is visible (i.e., not blanked) |
| 715 | unsigned char vtkExplicitStructuredGrid::IsCellVisible(vtkIdType cellId) |
| 716 | { |
| 717 | vtkUnsignedCharArray* ghosts = this->GetCellGhostArray(); |
| 718 | return (ghosts && (ghosts->GetValue(cellId) & MASKED_CELL_VALUE)) ? 0 : 1; |
| 719 | } |
| 720 | |
| 721 | //------------------------------------------------------------------------------ |
| 722 | // Return non-zero if the specified cell is a ghost cell |
no test coverage detected