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

Method GetAbstractAttribute

Common/DataModel/vtkDataSetAttributes.cxx:1617–1628  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1615
1616//------------------------------------------------------------------------------
1617vtkAbstractArray* vtkDataSetAttributes::GetAbstractAttribute(int attributeType)
1618{
1619 int index = this->AttributeIndices[attributeType];
1620 if (index == -1)
1621 {
1622 return nullptr;
1623 }
1624 else
1625 {
1626 return this->Data[index];
1627 }
1628}
1629
1630//------------------------------------------------------------------------------
1631// This method lets the user add an array and make it the current

Callers 13

GetPedigreeIdsMethod · 0.95
PrintSelfMethod · 0.95
RequestDataMethod · 0.80
RequestDataMethod · 0.80
RequestDataMethod · 0.80
RequestDataMethod · 0.80
ApplyOperationMethod · 0.80
RequestDataMethod · 0.80
PrintAndCheckFunction · 0.80
PrintAndCheckFunction · 0.80

Calls

no outgoing calls

Tested by 2

PrintAndCheckFunction · 0.64
PrintAndCheckFunction · 0.64