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

Method GetCellAttributeById

Common/DataModel/vtkCellGrid.cxx:639–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639vtkCellAttribute* vtkCellGrid::GetCellAttributeById(int attributeId)
640{
641 for (const auto& entry : this->Attributes)
642 {
643 if (entry.second->GetId() == attributeId)
644 {
645 return entry.second;
646 }
647 }
648 return nullptr;
649}
650
651vtkCellAttribute* vtkCellGrid::GetCellAttributeByName(const std::string& name)
652{

Callers 8

ToJSONMethod · 0.80
QueryMethod · 0.80
ReadMeshMethod · 0.80
UpdateMetadataMethod · 0.80
GetColorAttributeMethod · 0.80
QueryMethod · 0.80
GetAttributeArrayNameMethod · 0.80

Calls 1

GetIdMethod · 0.45

Tested by 1

GetAttributeArrayNameMethod · 0.64