| 605 | } |
| 606 | |
| 607 | std::vector<int> vtkCellGrid::GetUnorderedCellAttributeIds() const |
| 608 | { |
| 609 | std::set<int> attributeIds; |
| 610 | for (const auto& entry : this->Attributes) |
| 611 | { |
| 612 | attributeIds.insert(entry.second->GetId()); |
| 613 | } |
| 614 | std::vector<int> result(attributeIds.begin(), attributeIds.end()); |
| 615 | return result; |
| 616 | } |
| 617 | |
| 618 | std::vector<vtkSmartPointer<vtkCellAttribute>> vtkCellGrid::GetCellAttributeList() const |
| 619 | { |