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

Function vtkGetComponentName

Filters/General/vtkSplitColumnComponents.cxx:208–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207}
208std::string vtkGetComponentName(vtkAbstractArray* array, int component_no)
209{
210 const char* name = array->GetComponentName(component_no);
211 if (name)
212 {
213 return name;
214 }
215 return vtkDefaultComponentName(component_no, array->GetNumberOfComponents());
216}
217}
218
219//------------------------------------------------------------------------------

Callers 1

GetComponentLabelMethod · 0.85

Calls 3

vtkDefaultComponentNameFunction · 0.85
GetComponentNameMethod · 0.80
GetNumberOfComponentsMethod · 0.45

Tested by

no test coverage detected