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

Method GetAttributesAsFieldData

Common/DataModel/vtkGraph.cxx:1752–1762  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1750
1751//------------------------------------------------------------------------------
1752vtkFieldData* vtkGraph::GetAttributesAsFieldData(int type)
1753{
1754 switch (type)
1755 {
1756 case VERTEX:
1757 return this->GetVertexData();
1758 case EDGE:
1759 return this->GetEdgeData();
1760 }
1761 return this->Superclass::GetAttributesAsFieldData(type);
1762}
1763
1764//------------------------------------------------------------------------------
1765vtkIdType vtkGraph::GetNumberOfElements(int type)

Callers 15

WriteDataMethod · 0.45
ReadMethod · 0.45
AddFieldArraysMethod · 0.45
ReadLevelDataMethod · 0.45
RequestDataMethod · 0.45
GetAttributesMethod · 0.45
set_arrayMethod · 0.45
ProcessDataObjectMethod · 0.45
RequestDataMethod · 0.45

Calls 2

GetVertexDataMethod · 0.80
GetEdgeDataMethod · 0.80

Tested by 5

AddArrayFunction · 0.36
GetArrayCountFunction · 0.36
TestPassArraysFunction · 0.36
GetAttributeArrayNameMethod · 0.36