| 155 | } |
| 156 | } |
| 157 | void Union(const vtkArraySet& other) |
| 158 | { |
| 159 | if (this->Valid && other.Valid) |
| 160 | { |
| 161 | vtkCleanArrays::vtkArraySet setC; |
| 162 | std::set_union( |
| 163 | this->begin(), this->end(), other.begin(), other.end(), std::inserter(setC, setC.begin())); |
| 164 | setC.MarkValid(); |
| 165 | this->swap(setC); |
| 166 | } |
| 167 | else if (other.Valid) |
| 168 | { |
| 169 | *this = other; |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | // Fill up \c this with arrays from \c dsa |
| 174 | void Initialize(vtkFieldData* dsa) |
no test coverage detected