| 616 | } |
| 617 | |
| 618 | std::vector<vtkSmartPointer<vtkCellAttribute>> vtkCellGrid::GetCellAttributeList() const |
| 619 | { |
| 620 | std::vector<vtkSmartPointer<vtkCellAttribute>> result; |
| 621 | result.reserve(this->Attributes.size()); |
| 622 | for (const auto& entry : this->Attributes) |
| 623 | { |
| 624 | result.emplace_back(entry.second); |
| 625 | } |
| 626 | return result; |
| 627 | } |
| 628 | |
| 629 | vtkCellAttribute* vtkCellGrid::GetCellAttribute(vtkStringToken::Hash hash) |
| 630 | { |