------------------------------------------------------------------------------
| 626 | |
| 627 | //------------------------------------------------------------------------------ |
| 628 | int vtkFieldData::AddArray(vtkAbstractArray* array) |
| 629 | { |
| 630 | if (!array) |
| 631 | { |
| 632 | return -1; |
| 633 | } |
| 634 | |
| 635 | int index; |
| 636 | this->GetAbstractArray(array->GetName(), index); |
| 637 | |
| 638 | if (index == -1) |
| 639 | { |
| 640 | index = this->NumberOfActiveArrays; |
| 641 | this->NumberOfActiveArrays++; |
| 642 | } |
| 643 | this->SetArray(index, array); |
| 644 | return index; |
| 645 | } |
| 646 | |
| 647 | //------------------------------------------------------------------------------ |
| 648 | bool vtkFieldData::GetRange(const char* name, double range[2], int comp) |
nothing calls this directly
no test coverage detected