------------------------------------------------------------------------------
| 1026 | |
| 1027 | //------------------------------------------------------------------------------ |
| 1028 | vtkUnsignedCharArray* vtkDataSet::GetGhostArray(int attributeType) |
| 1029 | { |
| 1030 | if (attributeType == POINT) |
| 1031 | { |
| 1032 | return this->GetPointGhostArray(); |
| 1033 | } |
| 1034 | else if (attributeType == CELL) |
| 1035 | { |
| 1036 | return this->GetCellGhostArray(); |
| 1037 | } |
| 1038 | else |
| 1039 | { |
| 1040 | vtkErrorMacro("Invalid attribute type for ghost arrays: " << attributeType); |
| 1041 | return nullptr; |
| 1042 | } |
| 1043 | } |
| 1044 | |
| 1045 | //------------------------------------------------------------------------------ |
| 1046 | bool vtkDataSet::SupportsGhostArray(int type) |