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

Method GetTypedTuple

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

Source from the content-addressed store, hash-verified

24 this->Buffer->GetBuffer()[valueIdx] = value;
25 }
26 void GetTypedTuple(vtkIdType tupleIdx, ValueType* tuple) const
27 {
28 const vtkIdType valueIdx = tupleIdx * this->NumberOfComponents;
29 std::copy(this->Buffer->GetBuffer() + valueIdx,
30 this->Buffer->GetBuffer() + valueIdx + this->NumberOfComponents, tuple);
31 }
32 void SetTypedTuple(vtkIdType tupleIdx, const ValueType* tuple)
33 {
34 const vtkIdType valueIdx = tupleIdx * this->NumberOfComponents;

Callers 15

GetFieldAsFloatFunction · 0.45
RequestDataMethod · 0.45
operator()Method · 0.45
GetInterpolatedDataMethod · 0.45
GetMethod · 0.45
GetMethod · 0.45
GetMethod · 0.45
RequestDataMethod · 0.45
vtkX3DExporterWriteDataFunction · 0.45
RequestDataMethod · 0.45

Calls 2

copyFunction · 0.50
GetBufferMethod · 0.45