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

Method IsArrayAnAttribute

Common/DataModel/vtkDataSetAttributes.cxx:1728–1738  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1726
1727//------------------------------------------------------------------------------
1728int vtkDataSetAttributes::IsArrayAnAttribute(int idx)
1729{
1730 for (int i = 0; i < NUM_ATTRIBUTES; ++i)
1731 {
1732 if (idx == this->AttributeIndices[i])
1733 {
1734 return i;
1735 }
1736 }
1737 return -1;
1738}
1739
1740//------------------------------------------------------------------------------
1741void vtkDataSetAttributes::SetCopyAttribute(int index, int value, int ctype)

Callers 15

InterpolatePointMethod · 0.95
InterpolateEdgeMethod · 0.95
WriteArraysMethod · 0.80
extractRequiredFieldsFunction · 0.80
RequestDataMethod · 0.80
RequestDataMethod · 0.80
PassDataMethod · 0.80
InternalCopyAllocateMethod · 0.80
InterpolatePointMethod · 0.80
GetTypeMethod · 0.80
SetupOutputMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected