------------------------------------------------------------------------------
| 149 | |
| 150 | //------------------------------------------------------------------------------ |
| 151 | void vtkHyperTreeGridMapper::ApplyBlockVisibilities() |
| 152 | { |
| 153 | auto compositeMapper = vtkCompositePolyDataMapper::SafeDownCast(this->Mapper); |
| 154 | if (compositeMapper) |
| 155 | { |
| 156 | for (auto idx : this->BlocksShown) |
| 157 | { |
| 158 | compositeMapper->SetBlockVisibility(idx, true); |
| 159 | } |
| 160 | for (auto idx : this->BlocksHidden) |
| 161 | { |
| 162 | compositeMapper->SetBlockVisibility(idx, false); |
| 163 | } |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | //------------------------------------------------------------------------------ |
| 168 | void vtkHyperTreeGridMapper::SetBlockVisibility(unsigned int index, bool visible) |
no test coverage detected