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

Method RemoveNode

Filters/Sources/vtkSelectionSource.cxx:114–123  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

112
113//------------------------------------------------------------------------------
114void vtkSelectionSource::RemoveNode(unsigned int idx)
115{
116 if (idx >= this->NodesInfo.size())
117 {
118 vtkErrorMacro("Invalid node id: " << idx);
119 return;
120 }
121 this->NodesInfo.erase(this->NodesInfo.begin() + idx);
122 this->Modified();
123}
124
125//------------------------------------------------------------------------------
126void vtkSelectionSource::RemoveNode(const char* name)

Callers 1

vtkTrimSelectionFunction · 0.45

Calls 5

sizeMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45
ModifiedMethod · 0.45
GetNumberOfNodesMethod · 0.45

Tested by

no test coverage detected