MCPcopy Create free account
hub / github.com/Kitware/VTK / GetNodeName

Method GetNodeName

Filters/Sources/vtkSelectionSource.cxx:173–181  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

171
172//------------------------------------------------------------------------------
173const 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//------------------------------------------------------------------------------
184void vtkSelectionSource::RemoveAllIDs(unsigned int nodeId)

Callers 5

TestMultiBlockMultiPieceFunction · 0.45
GetNodeNameFunction · 0.45
VisitMethod · 0.45

Calls 2

sizeMethod · 0.45
c_strMethod · 0.45

Tested by 4

TestMultiBlockMultiPieceFunction · 0.36
VisitMethod · 0.36