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

Method SetTypedComponent

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

Source from the content-addressed store, hash-verified

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;
44 this->SetValue(valueIdx, value);
45 }
46
47protected:
48 vtkNew<vtkBuffer<ValueT>> Buffer;

Callers 15

ReadBinaryListMethod · 0.45
ReadParcelDataSetMethod · 0.45
RequestDataMethod · 0.45
DrawPointSpritesMethod · 0.45
PreparePointSpriteMethod · 0.45
PaintMethod · 0.45
ReadMoleculeMethod · 0.45
ReadTimeStepMethod · 0.45
UpdateFieldDataMethod · 0.45
WriteDataMethod · 0.45

Calls 1

SetValueMethod · 0.95

Tested by 15

PaintMethod · 0.36
PaintMethod · 0.36
AddNonFinitesFunction · 0.36
GenerateScalarsFunction · 0.36
TestPlaneFunction · 0.36
TestCustomArrayRadiusFunction · 0.36
GetDataSetFunction · 0.36