@{ * These methods are used by `UnionFieldList` to pad a FieldInfo instance. * Calling these methods clears `AttributeTypes` since it indicates that this * field is missing either in the inputs seen so far or in the current * input and hence cannot be flagged as an attribute. */
| 201 | * input and hence cannot be flagged as an attribute. |
| 202 | */ |
| 203 | void ExtendForUnion() |
| 204 | { |
| 205 | this->Location.push_back(-1); |
| 206 | |
| 207 | std::array<bool, vtkDataSetAttributes::NUM_ATTRIBUTES> curattrs; |
| 208 | std::fill(curattrs.begin(), curattrs.end(), false); |
| 209 | this->AttributeTypes.push_back(curattrs); |
| 210 | } |
| 211 | |
| 212 | void PreExtendForUnion(int count) |
| 213 | { |