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

Function arrayName

Common/Core/vtkArrayComponents.cxx:17–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15{
16
17std::string arrayName(vtkAbstractArray* array)
18{
19 std::string aname;
20 if (array->GetName())
21 {
22 aname = array->GetName();
23 }
24 if (aname.empty())
25 {
26 aname = "unnamed";
27 }
28 return aname;
29}
30
31std::string componentName(vtkAbstractArray* array, int component)
32{

Callers 1

ComponentOrNormAsArrayFunction · 0.85

Calls 2

GetNameMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected