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

Method GetValue

Common/DataModel/Testing/Cxx/MockDataArray.h:21–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 static MockDataArray* New() { VTK_STANDARD_NEW_BODY(MockDataArray<ValueT>); }
20 void* GetVoidPointer(vtkIdType idx) override { return this->Buffer->GetBuffer() + idx; }
21 ValueType GetValue(vtkIdType valueIdx) const { return this->Buffer->GetBuffer()[valueIdx]; }
22 void SetValue(vtkIdType valueIdx, ValueType value)
23 {
24 this->Buffer->GetBuffer()[valueIdx] = value;

Callers 15

testDenseArrayMethod · 0.45
testSparseArrayMethod · 0.45
testMethod · 0.45
RandomCircleFunction · 0.45
RandomSphereFunction · 0.45
GeneratePointInPlaneFunction · 0.45
RandomSphereFunction · 0.45
TestNegativeResultFunction · 0.45
ProjectAlongRayFunction · 0.45
RandomPointFunction · 0.45

Calls 1

GetBufferMethod · 0.45

Tested by 15

testDenseArrayMethod · 0.36
testSparseArrayMethod · 0.36
testMethod · 0.36
GeneratePointInPlaneFunction · 0.36
RandomSphereFunction · 0.36
TestNegativeResultFunction · 0.36
ProjectAlongRayFunction · 0.36
RandomPointFunction · 0.36