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

Method AddAllSourceCellAttributeIds

Common/DataModel/vtkCellGridCopyQuery.cxx:132–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132bool vtkCellGridCopyQuery::AddAllSourceCellAttributeIds()
133{
134 if (this->Source)
135 {
136 std::size_t nn = this->CellAttributeIds.size();
137 auto allIds = this->Source->GetCellAttributeIds();
138 this->CellAttributeIds.insert(allIds.begin(), allIds.end());
139 return nn != this->CellAttributeIds.size();
140 }
141 return false;
142}
143
144void vtkCellGridCopyQuery::GetCellAttributeIds(vtkIdList* ids) const
145{

Callers 4

ShallowCopyMethod · 0.80
DeepCopyMethod · 0.80
testShallowCopyMethod · 0.80
testDeepCopyMethod · 0.80

Calls 5

sizeMethod · 0.45
GetCellAttributeIdsMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by 2

testShallowCopyMethod · 0.64
testDeepCopyMethod · 0.64