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

Method SetTypedTuple

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

Source from the content-addressed store, hash-verified

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;
35 std::copy(tuple, tuple + this->NumberOfComponents, this->Buffer->GetBuffer() + valueIdx);
36 }
37 ValueType GetTypedComponent(vtkIdType tupleIdx, int compIdx) const
38 {
39 return this->Buffer->GetBuffer()[this->NumberOfComponents * tupleIdx + compIdx];

Callers 15

operator()Method · 0.45
ReadDisplacementFileMethod · 0.45
ReadTextureFileMethod · 0.45
AddVecNfToFieldDataFunction · 0.45
RequestDataMethod · 0.45
UpdateCacheMethod · 0.45
vtkComputeDifferenceFunction · 0.45
GetCacheOrReadMethod · 0.45
ReadPointRecordDataMethod · 0.45
HandleElementSideFunction · 0.45
operator()Method · 0.45
operator()Method · 0.45

Calls 2

copyFunction · 0.50
GetBufferMethod · 0.45

Tested by 15

tilerFunction · 0.36
CreateCellDataFunction · 0.36
CreatePointDataFunction · 0.36
CoordsCopyFunction · 0.36
TestPolyDataRemoveCellFunction · 0.36
TestPolygonSelectionFunction · 0.36
TestMapVectorsToColorsFunction · 0.36
addViewsFunction · 0.36