------------------------------------------------------------------------------
| 171 | |
| 172 | //------------------------------------------------------------------------------ |
| 173 | const char* vtkSelectionSource::GetNodeName(unsigned int nodeId) |
| 174 | { |
| 175 | if (nodeId >= this->NodesInfo.size()) |
| 176 | { |
| 177 | vtkErrorMacro("Invalid node id: " << nodeId); |
| 178 | return nullptr; |
| 179 | } |
| 180 | return this->NodesInfo[nodeId]->Name.c_str(); |
| 181 | } |
| 182 | |
| 183 | //------------------------------------------------------------------------------ |
| 184 | void vtkSelectionSource::RemoveAllIDs(unsigned int nodeId) |