------------------------------------------------------------------------------ Get a field from a list of ids. Supplied field f should have same types and number of data arrays as this one (i.e., like CopyStructure() creates).
| 561 | // types and number of data arrays as this one (i.e., like |
| 562 | // CopyStructure() creates). |
| 563 | void vtkFieldData::GetField(vtkIdList* ptIds, vtkFieldData* f) |
| 564 | { |
| 565 | int numIds = ptIds->GetNumberOfIds(); |
| 566 | |
| 567 | for (int i = 0; i < numIds; ++i) |
| 568 | { |
| 569 | f->InsertTuple(i, ptIds->GetId(i), this); |
| 570 | } |
| 571 | } |
| 572 | |
| 573 | //------------------------------------------------------------------------------ |
| 574 | // Return the array containing the ith component of the field. The return value |
no test coverage detected