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

Method GetNumberOfElements

Common/DataModel/vtkGraph.cxx:1765–1775  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1763
1764//------------------------------------------------------------------------------
1765vtkIdType vtkGraph::GetNumberOfElements(int type)
1766{
1767 switch (type)
1768 {
1769 case VERTEX:
1770 return this->GetNumberOfVertices();
1771 case EDGE:
1772 return this->GetNumberOfEdges();
1773 }
1774 return this->Superclass::GetNumberOfElements(type);
1775}
1776
1777//------------------------------------------------------------------------------
1778void vtkGraph::Dump()

Callers 15

RequestDataMethod · 0.45
RenderMethod · 0.45
ComputeBoundsMethod · 0.45
CloneInputDataMethod · 0.45
InitializeBlocksMethod · 0.45
MergeDataObjectFieldsMethod · 0.45
AddArrayFunction · 0.45
runConverterMethod · 0.45
MergeDataObjectFieldsMethod · 0.45
RequestDataMethod · 0.45
CreateImageDataFunction · 0.45

Calls 2

GetNumberOfVerticesMethod · 0.95
GetNumberOfEdgesMethod · 0.95

Tested by 11

AddArrayFunction · 0.36
runConverterMethod · 0.36
CreateImageDataFunction · 0.36
CreateUnstructuredGridFunction · 0.36
RedistributeAndCheckFunction · 0.36
TestPDCFunction · 0.36
TestAMRFunction · 0.36
RequestDataPlainMethod · 0.36
RunStatsFunction · 0.36
RunStatsFunction · 0.36