| 143 | } |
| 144 | |
| 145 | void vtkArrayData::ShallowCopy(vtkDataObject* other) |
| 146 | { |
| 147 | if (vtkArrayData* const array_data = vtkArrayData::SafeDownCast(other)) |
| 148 | { |
| 149 | this->ClearArrays(); |
| 150 | this->Implementation->Arrays = array_data->Implementation->Arrays; |
| 151 | for (size_t i = 0; i != this->Implementation->Arrays.size(); ++i) |
| 152 | { |
| 153 | this->Implementation->Arrays[i]->Register(this); |
| 154 | } |
| 155 | this->Modified(); |
| 156 | } |
| 157 | |
| 158 | Superclass::ShallowCopy(other); |
| 159 | } |
| 160 | |
| 161 | void vtkArrayData::DeepCopy(vtkDataObject* other) |
| 162 | { |
nothing calls this directly
no test coverage detected