------------------------------------------------------------------------------
| 1793 | |
| 1794 | //------------------------------------------------------------------------------ |
| 1795 | vtkUnsignedCharArray* vtkHyperTreeGrid::AllocateTreeGhostArray() |
| 1796 | { |
| 1797 | if (!this->GetTreeGhostArray()) |
| 1798 | { |
| 1799 | this->TreeGhostArray = vtkSmartPointer<vtkUnsignedCharArray>::New(); |
| 1800 | this->TreeGhostArray->SetName(vtkDataSetAttributes::GhostArrayName()); |
| 1801 | this->TreeGhostArray->SetNumberOfComponents(1); |
| 1802 | this->TreeGhostArray->SetNumberOfTuples(this->GetNumberOfCells()); |
| 1803 | this->TreeGhostArray->Fill(0); |
| 1804 | this->GetCellData()->AddArray(this->TreeGhostArray); |
| 1805 | this->TreeGhostArrayCached = true; |
| 1806 | } |
| 1807 | return this->TreeGhostArray; |
| 1808 | } |
| 1809 | |
| 1810 | //------------------------------------------------------------------------------ |
| 1811 | vtkUnsignedCharArray* vtkHyperTreeGrid::GetGhostCells() |
no test coverage detected