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

Method GetAttribute

Common/DataModel/vtkGenericAttributeCollection.cxx:154–161  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Attribute `i'.

Source from the content-addressed store, hash-verified

152// Description:
153// Attribute `i'.
154vtkGenericAttribute* vtkGenericAttributeCollection::GetAttribute(int i)
155{
156 assert("pre: not_empty" && !IsEmpty());
157 assert("pre: valid_i" && (i >= 0) && (i < this->GetNumberOfAttributes()));
158 vtkGenericAttribute* result = this->AttributeInternalVector->Vector[i];
159 assert("post: result_exists" && result != nullptr);
160 return result;
161}
162
163//------------------------------------------------------------------------------
164// Description:

Callers 8

PrintSelfMethod · 0.95
FindAttributeMethod · 0.95
GetAttributeIndexMethod · 0.95
InsertNextAttributeMethod · 0.95
InsertAttributeMethod · 0.95
GetMTimeMethod · 0.95
ComputeNumbersMethod · 0.95
SetActiveAttributeMethod · 0.95

Calls 3

GetNumberOfAttributesMethod · 0.95
IsEmptyFunction · 0.70
assertFunction · 0.50

Tested by

no test coverage detected