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

Method SetTuple

Common/DataModel/vtkFieldData.cxx:1065–1071  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Set the jth tuple in source field data at the ith location. Set operations means that no range checking is performed, so they're faster.

Source from the content-addressed store, hash-verified

1063// Set operations
1064// means that no range checking is performed, so they're faster.
1065void vtkFieldData::SetTuple(vtkIdType i, vtkIdType j, vtkFieldData* source)
1066{
1067 for (int k = 0; k < this->GetNumberOfArrays(); ++k)
1068 {
1069 this->Data[k]->SetTuple(i, j, source->Data[k]);
1070 }
1071}
1072
1073//------------------------------------------------------------------------------
1074// Insert the tuple value at the ith location. Range checking is

Callers 15

ContourMethod · 0.45
ClipMethod · 0.45
ContourMethod · 0.45
ClipMethod · 0.45
GetApproximateLineMethod · 0.45
GetApproximateQuadMethod · 0.45
GetApproximateWedgeMethod · 0.45
operator()Method · 0.45
GetApproximateQuadMethod · 0.45
GetVoxelGradientMethod · 0.45
ContourMethod · 0.45
ContourMethod · 0.45

Calls 1

GetNumberOfArraysMethod · 0.45

Tested by

no test coverage detected