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

Method GetVoidPointer

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

Source from the content-addressed store, hash-verified

18 using ValueType = typename Superclass::ValueType;
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 {

Callers 12

GetScalarPointerMethod · 0.45
GetArrayPointerMethod · 0.45
TranslatePointsMethod · 0.45
TransformPointsMethod · 0.45
TransformNormalsMethod · 0.45
TransformVectorsMethod · 0.45
ReallocMethod · 0.45
ReallocMethod · 0.45
ReallocMethod · 0.45
IsEdgeMethod · 0.45
SortMethod · 0.45

Calls 1

GetBufferMethod · 0.45

Tested by

no test coverage detected