------------------------------------------------------------------------------
| 444 | |
| 445 | //------------------------------------------------------------------------------ |
| 446 | std::string vtkSelection::GetNodeNameAtIndex(unsigned int idx) const |
| 447 | { |
| 448 | const vtkInternals& internals = (*this->Internals); |
| 449 | if (static_cast<unsigned int>(internals.Items.size()) > idx) |
| 450 | { |
| 451 | auto iter = std::next(internals.Items.begin(), static_cast<int>(idx)); |
| 452 | assert(iter != internals.Items.end()); |
| 453 | return iter->first; |
| 454 | } |
| 455 | return std::string(); |
| 456 | } |
| 457 | |
| 458 | //------------------------------------------------------------------------------ |
| 459 | void vtkSelection::RemoveNode(unsigned int idx) |