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

Method GetAttributes

Common/DataModel/vtkCellGrid.cxx:158–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158vtkDataSetAttributes* vtkCellGrid::GetAttributes(int type)
159{
160 auto it = this->ArrayGroups.find(type);
161 if (it == this->ArrayGroups.end())
162 {
163 it =
164 this->ArrayGroups.insert(std::make_pair(type, vtkSmartPointer<vtkDataSetAttributes>::New()))
165 .first;
166 }
167 return it->second;
168}
169
170vtkDataSetAttributes* vtkCellGrid::GetAttributes(vtkStringToken type)
171{

Callers 15

FromJSONMethod · 0.45
WriteDataMethod · 0.45
HandleGlobalIdsFunction · 0.45
GetFieldsFunction · 0.45
PutFieldMethod · 0.45
GetElementBlockMethod · 0.45
GetSideSetMethod · 0.45
GetNodeSetMethod · 0.45
ApplyDisplacementsMethod · 0.45
GetConnectivityFunction · 0.45

Calls 5

NewFunction · 0.50
findMethod · 0.45
endMethod · 0.45
insertMethod · 0.45
GetIdMethod · 0.45

Tested by 15

TestExodusImplicitArraysFunction · 0.36
TestDataPresenceFunction · 0.36
TestFilterRandomDataFunction · 0.36
AddCoordinatesFunction · 0.36
AddDeRhamFieldsFunction · 0.36
CheckSidesFunction · 0.36
TestGenericStreamTracerFunction · 0.36
TestEmptyFunction · 0.36
TestWithPointsFunction · 0.36
TestWithPointsAndCellsFunction · 0.36