MCPcopy Create free account
hub / github.com/Kitware/VTK / ExtendForUnion

Function ExtendForUnion

Common/DataModel/vtkDataSetAttributesFieldList.cxx:203–210  ·  view source on GitHub ↗

@{ * 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. */

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 4

fillFunction · 0.50
push_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected