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

Method SetValue

Common/Core/Testing/Cxx/TestDataArrayValueRange.cxx:1752–1755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1750 void* GetVoidPointer(vtkIdType idx) override { return this->Buffer->GetBuffer() + idx; }
1751 ValueType GetValue(vtkIdType valueIdx) const { return this->Buffer->GetBuffer()[valueIdx]; }
1752 void SetValue(vtkIdType valueIdx, ValueType value)
1753 {
1754 this->Buffer->GetBuffer()[valueIdx] = value;
1755 }
1756 void GetTypedTuple(vtkIdType tupleIdx, ValueType* tuple) const
1757 {
1758 const vtkIdType valueIdx = tupleIdx * this->NumberOfComponents;

Callers 15

SetTypedComponentMethod · 0.95
testArrayMethod · 0.45
testVoidPointerMethod · 0.45
TestArrayAPIDenseFunction · 0.45
TestArrayAPIConvenienceFunction · 0.45
TestAbstractArraySizeFunction · 0.45
TestGenericDataArrayAPIFunction · 0.45
doArrayTestFunction · 0.45

Calls 1

GetBufferMethod · 0.45

Tested by

no test coverage detected