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

Method SetChildMetaData

Common/DataModel/vtkDataObjectTree.cxx:112–121  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

110
111//------------------------------------------------------------------------------
112void vtkDataObjectTree::SetChildMetaData(unsigned int index, vtkInformation* info)
113{
114 if (this->Internals->Children.size() <= index)
115 {
116 this->SetNumberOfChildren(index + 1);
117 }
118
119 vtkDataObjectTreeItem& item = this->Internals->Children[index];
120 item.MetaData = info;
121}
122
123//------------------------------------------------------------------------------
124vtkTypeBool vtkDataObjectTree::HasChildMetaData(unsigned int index)

Callers 2

CopyStructureMethod · 0.95
RemoveNullPartitionsMethod · 0.80

Calls 2

SetNumberOfChildrenMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected