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

Method GetTypedComponent

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

Source from the content-addressed store, hash-verified

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];
40 }
41 void SetTypedComponent(vtkIdType tupleIdx, int compIdx, ValueType value)
42 {
43 const vtkIdType valueIdx = tupleIdx * this->NumberOfComponents + compIdx;

Callers 15

RequestDataMethod · 0.45
DrawPointSpritesMethod · 0.45
PreparePointSpriteMethod · 0.45
WriteMeshFunction · 0.45
operator()Method · 0.45
ProcessorDirNameFunction · 0.45
ScanForProcessorDirsFunction · 0.45
ReadVariableArrayMethod · 0.45
UpdateMethod · 0.45
operator()Method · 0.45
PrintArrayFunction · 0.45

Calls 1

GetBufferMethod · 0.45

Tested by 8

PrintArrayFunction · 0.36
TestPlaneFunction · 0.36
getFunction · 0.36
TestMemkindDataFunction · 0.36
TestDGCellTypeFunction · 0.36
MyMainFunction · 0.36
ValidateDatasetFunction · 0.36
TestBinCellDataFilterFunction · 0.36