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

Method GetCellAttributeByName

Common/DataModel/vtkCellGrid.cxx:651–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

649}
650
651vtkCellAttribute* vtkCellGrid::GetCellAttributeByName(const std::string& name)
652{
653 for (const auto& entry : this->Attributes)
654 {
655 if (entry.second->GetName() == name)
656 {
657 return entry.second;
658 }
659 }
660 return nullptr;
661}
662
663vtkCellAttribute* vtkCellGrid::GetShapeAttribute()
664{

Callers 15

ClearRangeCacheMethod · 0.95
UpdateMetadataMethod · 0.80
RoundTripFunction · 0.80
RenderMethod · 0.80
DrawShapesMethod · 0.80
runCaseMethod · 0.80
GetColorAttributeMethod · 0.80
uniquifyAttributeNameFunction · 0.80
RequestDataMethod · 0.80
checkAttributeMethod · 0.80

Calls 1

GetNameMethod · 0.45

Tested by 9

RoundTripFunction · 0.64
runCaseMethod · 0.64
checkAttributeMethod · 0.64
checkAttributesMethod · 0.64
testCopyNoArraysMethod · 0.64
testPartialDeepCopyMethod · 0.64
testShapeOnlyCopyMethod · 0.64
LoadAndEvaluateFunction · 0.64