------------------------------------------------------------------------------
| 1615 | |
| 1616 | //------------------------------------------------------------------------------ |
| 1617 | vtkAbstractArray* 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 |
no outgoing calls