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

Method SetTuple

Common/Core/vtkDataArray.cxx:139–145  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

137
138//------------------------------------------------------------------------------
139void vtkDataArray::SetTuple(vtkIdType i, const float* source)
140{
141 for (int c = 0; c < this->NumberOfComponents; ++c)
142 {
143 this->SetComponent(i, c, static_cast<double>(source[c]));
144 }
145}
146
147//------------------------------------------------------------------------------
148void vtkDataArray::SetTuple(vtkIdType i, const double* source)

Callers 10

InsertTupleMethod · 0.95
SetComponentMethod · 0.95
SetIntegerTupleMethod · 0.95
SetUnsignedTupleMethod · 0.95
SetTuple1Method · 0.95
SetTuple2Method · 0.95
SetTuple3Method · 0.95
SetTuple4Method · 0.95
SetTuple6Method · 0.95
SetTuple9Method · 0.95

Calls 1

SetComponentMethod · 0.95

Tested by

no test coverage detected