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

Method GetNumberOfNodes

Common/DataModel/vtkReebGraph.cxx:3185–3196  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3183
3184//------------------------------------------------------------------------------
3185int vtkReebGraph::Implementation::GetNumberOfNodes()
3186{
3187 if (!this->NodeNumber)
3188 for (vtkIdType nodeId = 1; nodeId < this->MainNodeTable.Size; nodeId++)
3189 {
3190 // check if node is cleared
3191 if (!(this->GetNode(nodeId)->ArcUpId == -2))
3192 this->NodeNumber++;
3193 }
3194
3195 return this->NodeNumber;
3196}
3197
3198//------------------------------------------------------------------------------
3199vtkIdType vtkReebGraph::Implementation::GetNextNodeId()

Callers 1

PrintSelfMethod · 0.45

Calls 1

GetNodeMethod · 0.95

Tested by

no test coverage detected